| /freebsd-14.2/sys/contrib/ck/include/spinlock/ |
| H A D | 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() 142 ck_pr_store_uint(&lock->slots[position].locked, true); in ck_spinlock_anderson_lock() 145 *slot = lock->slots + position; in ck_spinlock_anderson_lock() [all …]
|
| /freebsd-14.2/sys/compat/linuxkpi/common/src/ |
| H A D | linux_radix.c | 112 next = node->slots[pos]; in radix_tree_iter_find() 150 item = node->slots[idx]; in radix_tree_delete() 156 node->slots[idx] = NULL; in radix_tree_delete() 244 node = node->slots[idx]; in radix_tree_insert() 264 node = node->slots[idx]; in radix_tree_insert() 271 if (node->slots[idx]) in radix_tree_insert() 273 node->slots[idx] = item; in radix_tree_insert() 348 node = node->slots[idx]; in radix_tree_store() 368 node = node->slots[idx]; in radix_tree_store() 376 pitem = node->slots[idx]; in radix_tree_store() [all …]
|
| /freebsd-14.2/sys/dev/ena/ |
| H A D | ena_netmap.c | 44 struct netmap_slot *slots; member 470 uint16_t slots = 1; in ena_netmap_count_slots() local 474 slots++; in ena_netmap_count_slots() 478 return slots; in ena_netmap_count_slots() 489 nm_slot = &slots[slot_index]; in ena_netmap_packet_len() 506 nm_slot = &slots[slot_index]; in ena_netmap_copy_data() 573 slot = &ctx->slots[ctx->nm_i]; in ena_netmap_tx_map_slots() 657 slot = &ctx->slots[ctx->nm_i]; in ena_netmap_tx_map_slots() 750 slot = &ctx->slots[ctx->nm_i]; in ena_netmap_tx_map_slots() 990 ctx->slots[nm].flags = 0; in ena_netmap_rx_frame() [all …]
|
| /freebsd-14.2/sys/dev/evdev/ |
| H A D | evdev_mt.c | 91 union evdev_mt_slot slots[]; member 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() 126 size += sizeof(mt->matrix[0]) * (slots + 6) * slots; in evdev_mt_init() 134 mt->match_slots = mt->slots + slots; in evdev_mt_init() 139 for (slot = 0; slot < slots; slot++) in evdev_mt_init() 140 mt->slots[slot].id = -1; in evdev_mt_init() 333 dx = pt[i].x - mt->slots[slot].x; in evdev_mt_match_frame() 334 dy = pt[i].y - mt->slots[slot].y; in evdev_mt_match_frame() [all …]
|
| /freebsd-14.2/sys/dev/sdhci/ |
| H A D | sdhci_pci.c | 163 struct sdhci_slot slots[6]; member 336 int bar, err, rid, slots, i; in sdhci_pci_attach() local 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() 425 sdhci_cleanup_slot(&sc->slots[i]); in sdhci_pci_detach() [all …]
|
| H A D | 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.2/sys/contrib/device-tree/Bindings/net/ |
| H A D | litex,liteeth.yaml | 41 litex,rx-slots: 42 description: Number of slots in the receive buffer 47 litex,tx-slots: 48 description: Number of slots in the transmit buffer 82 litex,rx-slots = <2>; 83 litex,tx-slots = <2>;
|
| /freebsd-14.2/sys/dev/sound/macio/ |
| H A D | 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.2/sys/dev/sound/pci/ |
| H A D | hdspe-pcm.c | 447 for (slot = 0; slot < slots; slot++) { in buffer_mux_write() 460 unsigned int slot_offset, slots; in buffer_mux_port() local 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() 506 unsigned int slot_offset, slots; in buffer_demux_port() local 522 if (slots == 2) in buffer_demux_port() 524 else if (slots == 4) in buffer_demux_port() 526 else if (slots == 8) in buffer_demux_port() 596 unsigned int offset, slots; in clean() local [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/module/zfs/ |
| H A D | dnode.c | 1263 int slots = dn->dn_num_slots - 1; in dnode_free_interior_slots() local 1265 if (slots == 0) in dnode_free_interior_slots() 1532 slots = 1; in dnode_hold_impl() 1534 dnode_slots_hold(dnc, idx, slots); in dnode_hold_impl() 1541 dnode_slots_rele(dnc, idx, slots); in dnode_hold_impl() 1546 dnode_slots_rele(dnc, idx, slots); in dnode_hold_impl() 1596 dnode_slots_hold(dnc, idx, slots); in dnode_hold_impl() 1605 dnode_slots_rele(dnc, idx, slots); in dnode_hold_impl() 1624 if (slots > 1) in dnode_hold_impl() 1667 dnode_slots_rele(dnc, idx, slots); in dnode_hold_impl() [all …]
|
| /freebsd-14.2/contrib/libarchive/libarchive/ |
| H A D | 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.2/tests/sys/mac/bsdextended/ |
| H A D | 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.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | StackColoring.cpp | 489 SmallVector<int, 4> &slots, 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() 741 int Slot = slots[0]; in collectMarkers() 747 for (auto Slot : slots) { in collectMarkers() 846 SmallVector<int, 4> slots; in calculateLiveIntervals() local 848 if (!isLifetimeStartOrEnd(MI, slots, IsStart)) in calculateLiveIntervals() [all …]
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/mmc/ |
| H A D | aspeed,sdhci.yaml | 15 The ASPEED SD/SDIO/eMMC controller exposes two slots implementing the SDIO 19 The two slots are supported by a common configuration area. As the SDHCIs for 20 the slots are dependent on the common configuration area, they are described 61 description: The SD interrupt shared between both slots
|
| /freebsd-14.2/sys/netpfil/ipfw/ |
| H A D | 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.2/usr.sbin/ppp/ |
| H A D | ipcp.c | 106 u_char slots; member 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() 1139 if (pcomp.slots >= MIN_VJ_STATES) { in IpcpDecodeConfig() 1147 pcomp.slots = MIN_VJ_STATES; in IpcpDecodeConfig() 1156 pcomp.slots = DEF_VJ_STATES; in IpcpDecodeConfig() 1174 if (pcomp.slots < MIN_VJ_STATES) in IpcpDecodeConfig() [all …]
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/media/ |
| H A D | nxp,imx8-jpeg.yaml | 36 There are 4 slots available in the IP, which the driver may use 40 maxItems: 4 # The IP has 4 slots available for use 47 maxItems: 5 # Wrapper and 4 slots
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/sound/ |
| H A D | davinci-mcasp-audio.yaml | 40 tdm-slots: 96 specify the drive on TX pin during inactive time slots 179 - tdm-slots 192 tdm-slots = <2>;
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/soc/fsl/cpm_qe/ |
| H A D | fsl,cpm1-scc-qmc.yaml | 94 Channel assigned Tx time-slots within the Tx time-slots routed by the 100 Channel assigned Rx time-slots within the Rx time-slots routed by the
|
| /freebsd-14.2/contrib/kyua/drivers/ |
| H A D | 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.2/sys/contrib/openzfs/cmd/zed/zed.d/ |
| H A D | 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$' | \
|
| H A 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$' | \
|
| H A 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$' | \
|
| H A 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$' | \
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/XCore/ |
| H A D | 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
|