| /freebsd-14-stable/sys/contrib/ck/include/spinlock/ |
| HD | anderson.h | 48 struct ck_spinlock_anderson_thread *slots; member 59 struct ck_spinlock_anderson_thread *slots, in ck_spinlock_anderson_init() argument 64 slots[0].locked = false; in ck_spinlock_anderson_init() 65 slots[0].position = 0; in ck_spinlock_anderson_init() 67 slots[i].locked = true; in ck_spinlock_anderson_init() 68 slots[i].position = i; in ck_spinlock_anderson_init() 71 lock->slots = slots; in ck_spinlock_anderson_init() 97 r = ck_pr_load_uint(&lock->slots[position].locked); in ck_spinlock_anderson_locked() 138 while (ck_pr_load_uint(&lock->slots[position].locked) == true) in ck_spinlock_anderson_lock() 142 ck_pr_store_uint(&lock->slots[position].locked, true); in ck_spinlock_anderson_lock() [all …]
|
| /freebsd-14-stable/sys/compat/linuxkpi/common/src/ |
| HD | linux_radix.c | 80 node = node->slots[radix_pos(index, height--)]; in radix_tree_lookup() 82 item = node->slots[radix_pos(index, 0)]; in radix_tree_lookup() 110 *pppslot = node->slots + pos; in radix_tree_iter_find() 112 next = node->slots[pos]; in radix_tree_iter_find() 146 node = node->slots[radix_pos(index, height--)]; in radix_tree_delete() 150 item = node->slots[idx]; in radix_tree_delete() 156 node->slots[idx] = NULL; in radix_tree_delete() 229 node->slots[0] = root->rnode; in radix_tree_insert() 242 if (node->slots[idx] == NULL) in radix_tree_insert() 244 node = node->slots[idx]; in radix_tree_insert() [all …]
|
| /freebsd-14-stable/sys/dev/ena/ |
| HD | ena_netmap.c | 44 struct netmap_slot *slots; member 353 __builtin_prefetch(&ctx->slots[ctx->nm_i]); in ena_netmap_tx_frames() 470 uint16_t slots = 1; in ena_netmap_count_slots() local 473 while ((ctx->slots[nm].flags & NS_MOREFRAG) != 0) { in ena_netmap_count_slots() 474 slots++; in ena_netmap_count_slots() 478 return slots; in ena_netmap_count_slots() 482 ena_netmap_packet_len(struct netmap_slot *slots, u_int slot_index, in ena_netmap_packet_len() argument 489 nm_slot = &slots[slot_index]; in ena_netmap_packet_len() 498 ena_netmap_copy_data(struct netmap_adapter *na, struct netmap_slot *slots, in ena_netmap_copy_data() argument 506 nm_slot = &slots[slot_index]; in ena_netmap_copy_data() [all …]
|
| /freebsd-14-stable/sys/dev/evdev/ |
| HD | evdev_mt.c | 91 union evdev_mt_slot slots[]; member 100 ffc_slot(struct evdev_dev *evdev, slotset_t slots) in ffc_slot() argument 102 return (ffs(~slots & ((2U << MAXIMAL_MT_SLOT(evdev)) - 1)) - 1); in ffc_slot() 109 size_t size = offsetof(struct evdev_mt, slots); in evdev_mt_init() 110 int slot, slots; in evdev_mt_init() local 122 slots = MAXIMAL_MT_SLOT(evdev) + 1; in evdev_mt_init() 123 size += sizeof(mt->slots[0]) * slots; in evdev_mt_init() 125 size += sizeof(mt->match_slots[0]) * slots; in evdev_mt_init() 126 size += sizeof(mt->matrix[0]) * (slots + 6) * slots; in evdev_mt_init() 134 mt->match_slots = mt->slots + slots; in evdev_mt_init() [all …]
|
| /freebsd-14-stable/sys/dev/sdhci/ |
| HD | sdhci_pci.c | 163 struct sdhci_slot slots[6]; member 336 int bar, err, rid, slots, i; in sdhci_pci_attach() local 357 slots = pci_read_config(dev, PCI_SLOT_INFO, 1); in sdhci_pci_attach() 358 bar = PCI_SLOT_INFO_FIRST_BAR(slots); in sdhci_pci_attach() 359 slots = PCI_SLOT_INFO_SLOTS(slots); in sdhci_pci_attach() 360 if (slots > 6 || bar > 5) { in sdhci_pci_attach() 362 slots, bar); in sdhci_pci_attach() 378 for (i = 0; i < slots; i++) { in sdhci_pci_attach() 379 slot = &sc->slots[sc->num_slots]; in sdhci_pci_attach() 407 sdhci_start_slot(&sc->slots[i]); in sdhci_pci_attach() [all …]
|
| HD | sdhci_fdt.c | 136 struct sdhci_slot slots[MAX_SLOTS]; member 431 sdhci_generic_intr(&sc->slots[i]); in sdhci_fdt_intr() 570 int err, slots, rid, i, compat; in sdhci_fdt_attach() local 622 slots = sc->num_slots; /* number of slots determined in probe(). */ in sdhci_fdt_attach() 624 for (i = 0; i < slots; i++) { in sdhci_fdt_attach() 625 slot = &sc->slots[sc->num_slots]; in sdhci_fdt_attach() 659 sdhci_start_slot(&sc->slots[i]); in sdhci_fdt_attach() 676 sdhci_cleanup_slot(&sc->slots[i]); in sdhci_fdt_detach()
|
| /freebsd-14-stable/sys/dev/sound/macio/ |
| HD | aoa.c | 63 u_int slots; /* # of slots */ member 79 dma->slots = dma->bufsz / dma->blksz; in aoa_dma_set_program() 81 for (i = 0; i < dma->slots; ++i) { in aoa_dma_set_program() 91 dma->slots + 1 /* branch_slot */ in aoa_dma_set_program() 98 dbdma_insert_branch(dma->channel, dma->slots, 0); in aoa_dma_set_program() 101 dbdma_insert_stop(dma->channel, dma->slots + 1); in aoa_dma_set_program() 293 for (i = 0; i < dma->slots; ++i) in aoa_chan_trigger() 329 dma->slot = (dma->slot + 1) % dma->slots; in aoa_interrupt()
|
| /freebsd-14-stable/sys/dev/sound/pci/ |
| HD | hdspe-pcm.c | 442 unsigned int samples, unsigned int slots, unsigned int channels) in buffer_mux_write() argument 447 for (slot = 0; slot < slots; slot++) { in buffer_mux_write() 460 unsigned int slot_offset, slots; in buffer_mux_port() local 473 slots = hdspe_port_slot_width(subset, MIN(adat_width, pcm_width)); in buffer_mux_port() 476 if (slots == 2) in buffer_mux_port() 478 else if (slots == 4) in buffer_mux_port() 480 else if (slots == 8) in buffer_mux_port() 483 buffer_mux_write(dma, pcm, pos, samples, slots, channels); in buffer_mux_port() 488 unsigned int samples, unsigned int slots, unsigned int channels) in buffer_demux_read() argument 493 for (slot = 0; slot < slots; slot++) { in buffer_demux_read() [all …]
|
| /freebsd-14-stable/sys/contrib/openzfs/module/zfs/ |
| HD | dnode.c | 1148 dnode_slots_hold(dnode_children_t *children, int idx, int slots) in dnode_slots_hold() argument 1150 ASSERT3S(idx + slots, <=, DNODES_PER_BLOCK); in dnode_slots_hold() 1152 for (int i = idx; i < idx + slots; i++) { in dnode_slots_hold() 1159 dnode_slots_rele(dnode_children_t *children, int idx, int slots) in dnode_slots_rele() argument 1161 ASSERT3S(idx + slots, <=, DNODES_PER_BLOCK); in dnode_slots_rele() 1163 for (int i = idx; i < idx + slots; i++) { in dnode_slots_rele() 1174 dnode_slots_tryenter(dnode_children_t *children, int idx, int slots) in dnode_slots_tryenter() argument 1176 ASSERT3S(idx + slots, <=, DNODES_PER_BLOCK); in dnode_slots_tryenter() 1178 for (int i = idx; i < idx + slots; i++) { in dnode_slots_tryenter() 1195 dnode_set_slots(dnode_children_t *children, int idx, int slots, void *ptr) in dnode_set_slots() argument [all …]
|
| /freebsd-14-stable/contrib/libarchive/libarchive/ |
| HD | archive_read_set_format.c | 39 int r1, r2, slots, i; in archive_read_set_format() local 102 slots = sizeof(a->formats) / sizeof(a->formats[0]); in archive_read_set_format() 104 for (i = 0; i < slots; i++, a->format++) { in archive_read_set_format()
|
| /freebsd-14-stable/tests/sys/mac/bsdextended/ |
| HD | ugidfw_test.c | 200 int count, slots; in main() local 243 slots = bsde_get_rule_slots(sizeof(errorstr), errorstr); in main() 244 if (slots == -1) in main()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
| HD | StackColoring.cpp | 489 SmallVector<int, 4> &slots, 582 SmallVector<int, 4> &slots, in isLifetimeStartOrEnd() argument 591 slots.push_back(Slot); in isLifetimeStartOrEnd() 610 slots.push_back(Slot); in isLifetimeStartOrEnd() 734 SmallVector<int, 4> slots; in collectMarkers() local 737 slots.clear(); in collectMarkers() 738 if (isLifetimeStartOrEnd(MI, slots, isStart)) { in collectMarkers() 740 assert(slots.size() == 1 && "unexpected: MI ends multiple slots"); in collectMarkers() 741 int Slot = slots[0]; in collectMarkers() 747 for (auto Slot : slots) { in collectMarkers() [all …]
|
| /freebsd-14-stable/sys/netpfil/ipfw/ |
| HD | dn_sched_qfq.c | 233 struct qfq_class *slots[QFQ_MAX_SLOTS]; member 442 cl->next = grp->slots[i]; in qfq_slot_insert() 443 grp->slots[i] = cl; in qfq_slot_insert() 453 struct qfq_class **h = &grp->slots[grp->front]; in qfq_front_slot_remove() 480 return grp->slots[grp->front]; in qfq_slot_scan() 565 cl = grp->slots[grp->front]; in qfq_dequeue() 725 pprev = &grp->slots[i]; 732 if (!grp->slots[i]) 776 } else if (!grp->slots[grp->front]) { 864 if (g->slots[j]) in dump_groups() [all …]
|
| /freebsd-14-stable/usr.sbin/ppp/ |
| HD | ipcp.c | 106 u_char slots; member 387 ipcp->cfg.vj.slots, ipcp->cfg.vj.slotcomp ? "with" : "without"); in ipcp_Show() 427 int slots; in ipcp_vjset() local 429 slots = atoi(arg->argv[arg->argn+1]); in ipcp_vjset() 430 if (slots < 4 || slots > 16) in ipcp_vjset() 432 arg->bundle->ncp.ipcp.cfg.vj.slots = slots; in ipcp_vjset() 459 ipcp->cfg.vj.slots = DEF_VJ_STATES; in ipcp_Init() 587 ((ipcp->cfg.vj.slots - 1) << 8) + in ipcp_Setup() 591 sl_compress_init(&ipcp->vj.cslc, ipcp->cfg.vj.slots - 1); in ipcp_Setup() 782 req.slots = (ipcp->my_compproto >> 8) & 255; in IpcpSendConfigReq() [all …]
|
| /freebsd-14-stable/contrib/kyua/drivers/ |
| HD | run_tests.cpp | 279 const std::size_t slots = user_config.lookup< config::positive_int_node >( in drive() local 281 INV(slots >= 1); in drive() 283 INV(in_flight.size() <= slots); in drive() 288 while (in_flight.size() < slots) { in drive()
|
| /freebsd-14-stable/sys/contrib/openzfs/cmd/zed/zed.d/ |
| D | vdev_clear-led.sh | 33 if [ ! -d /sys/class/enclosure ] && [ ! -d /sys/bus/pci/slots ] ; then 147 find /sys/bus/pci/slots -regex '.*/[0-9]+/address$' | \
|
| D | pool_import-led.sh | 33 if [ ! -d /sys/class/enclosure ] && [ ! -d /sys/bus/pci/slots ] ; then 147 find /sys/bus/pci/slots -regex '.*/[0-9]+/address$' | \
|
| D | vdev_attach-led.sh | 33 if [ ! -d /sys/class/enclosure ] && [ ! -d /sys/bus/pci/slots ] ; then 147 find /sys/bus/pci/slots -regex '.*/[0-9]+/address$' | \
|
| HD | statechange-led.sh | 33 if [ ! -d /sys/class/enclosure ] && [ ! -d /sys/bus/pci/slots ] ; then 147 find /sys/bus/pci/slots -regex '.*/[0-9]+/address$' | \
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/XCore/ |
| HD | XCoreCallingConv.td | 18 // Integer values get stored in stack slots that are 4 bytes in 36 // Integer values get stored in stack slots that are 4 bytes in
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/ARC/ |
| HD | ARCCallingConv.td | 18 // Integer values get stored in stack slots that are 4 bytes in 34 // Integer values get stored in stack slots that are 4 bytes in
|
| /freebsd-14-stable/sys/contrib/device-tree/Bindings/sound/ |
| HD | tdm-slot.txt | 6 dai-tdm-slot-num : Number of slots in use. 18 to specify an explicit mapping of the channels and the slots. If it's absent
|
| HD | davinci-mcasp-audio.txt | 18 - tdm-slots : Slots for TDM operation. Indicates number of channels transmitted 34 - dismod : Specify the drive on TX pin during inactive slots 78 tdm-slots = <2>;
|
| /freebsd-14-stable/tools/tools/netmap/ |
| HD | lb.c | 111 struct netmap_slot *slots; member 139 q->slots[q->tail] = *s; in oq_enq() 149 struct netmap_slot s = q->slots[q->head]; in oq_deq() 766 freeq->slots = calloc(extra_bufs, sizeof(struct netmap_slot)); in main() 767 if (!freeq->slots) { in main() 841 q->slots = calloc(extra_bufs, sizeof(struct netmap_slot)); in main() 842 if (!q->slots) { in main() 858 free(oq[i].slots); in main() 859 oq[i].slots = NULL; in main()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
| HD | X86CallingConv.td | 175 // float 128 get stack slots whose size and alignment depends 179 // Vectors get 16-byte stack slots that are 16-byte aligned. 183 // 256-bit vectors get 32-byte stack slots that are 32-byte aligned. 187 // 512-bit vectors get 64-byte stack slots that are 64-byte aligned. 611 // Integer/FP values get stored in stack slots that are 8 bytes in size and 615 // Long doubles get stack slots whose size and alignment depends on the 619 // Vectors get 16-byte stack slots that are 16-byte aligned. 622 // 256-bit vectors get 32-byte stack slots that are 32-byte aligned. 626 // 512-bit vectors get 64-byte stack slots that are 64-byte aligned. 699 // Integer/FP values get stored in stack slots that are 8 bytes in size and [all …]
|