Home
last modified time | relevance | path

Searched refs:slots (Results 1 – 25 of 81) sorted by relevance

1234

/f-stack/freebsd/contrib/ck/include/spinlock/
H A Danderson.h48 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 …]
/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_slab.c105 ngx_slab_page_t *slots, *page; in ngx_slab_init() local
109 slots = ngx_slab_slots(pool); in ngx_slab_init()
111 p = (u_char *) slots; in ngx_slab_init()
120 slots[i].slab = 0; in ngx_slab_init()
121 slots[i].next = &slots[i]; in ngx_slab_init()
122 slots[i].prev = 0; in ngx_slab_init()
223 slots = ngx_slab_slots(pool); in ngx_slab_alloc_locked()
224 page = slots[slot].next; in ngx_slab_alloc_locked()
363 slots[slot].next = page; in ngx_slab_alloc_locked()
379 slots[slot].next = page; in ngx_slab_alloc_locked()
[all …]
H A Dngx_config.h137 #define NGX_COMPAT_BEGIN(slots) uint64_t spare[slots]; argument
142 #define NGX_COMPAT_BEGIN(slots) argument
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Ddnode.c354 int slots = dnp->dn_extra_slots + 1; in dnode_byteswap() local
1154 int slots = dn->dn_num_slots - 1; in dnode_free_interior_slots() local
1156 if (slots == 0) in dnode_free_interior_slots()
1423 slots = 1; in dnode_hold_impl()
1425 dnode_slots_hold(dnc, idx, slots); in dnode_hold_impl()
1432 dnode_slots_rele(dnc, idx, slots); in dnode_hold_impl()
1487 dnode_slots_hold(dnc, idx, slots); in dnode_hold_impl()
1496 dnode_slots_rele(dnc, idx, slots); in dnode_hold_impl()
1515 if (slots > 1) in dnode_hold_impl()
1558 dnode_slots_rele(dnc, idx, slots); in dnode_hold_impl()
[all …]
/f-stack/freebsd/contrib/device-tree/Bindings/mmc/
H A Daspeed,sdhci.yaml15 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
60 description: The SD interrupt shared between both slots
/f-stack/dpdk/drivers/net/ice/
H A Dice_acl_filter.c149 if (pf->acl.slots) { in ice_deinit_acl()
150 rte_free(pf->acl.slots); in ice_deinit_acl()
151 pf->acl.slots = NULL; in ice_deinit_acl()
399 __rte_bitmap_scan_init(slots); in ice_acl_alloc_slot_id()
400 if (!rte_bitmap_scan(slots, &pos, &slab)) in ice_acl_alloc_slot_id()
405 rte_bitmap_clear(slots, pos); in ice_acl_alloc_slot_id()
463 rte_bitmap_set(pf->acl.slots, slot_id); in ice_acl_hw_rem_conf()
582 rte_bitmap_set(pf->acl.slots, slot_id); in ice_acl_destroy_filter()
951 struct rte_bitmap *slots; in ice_acl_bitmap_init() local
961 if (slots == NULL) { in ice_acl_bitmap_init()
[all …]
/f-stack/freebsd/netpfil/ipfw/
H A Ddn_sched_qfq.c234 struct qfq_class *slots[QFQ_MAX_SLOTS]; member
443 cl->next = grp->slots[i]; in qfq_slot_insert()
444 grp->slots[i] = cl; in qfq_slot_insert()
454 struct qfq_class **h = &grp->slots[grp->front]; in qfq_front_slot_remove()
481 return grp->slots[grp->front]; in qfq_slot_scan()
566 cl = grp->slots[grp->front]; in qfq_dequeue()
726 pprev = &grp->slots[i];
733 if (!grp->slots[i])
777 } else if (!grp->slots[grp->front]) {
865 if (g->slots[j]) in dump_groups()
[all …]
/f-stack/app/redis-5.0.5/src/
H A Dcluster.c452 memset(server.cluster->slots,0, sizeof(server.cluster->slots)); in clusterInit()
704 memset(node->slots,0,sizeof(node->slots)); in createClusterNode()
2584 memcpy(hdr->data.update.nodecfg.slots,node->slots,sizeof(node->slots)); in clusterSendUpdate()
3666 bitmapSetBit(n->slots,slot); in clusterNodeSetSlotBit()
3691 bitmapClearBit(n->slots,slot); in clusterNodeClearSlotBit()
4289 zfree(slots); in clusterCommand()
4294 zfree(slots); in clusterCommand()
4298 zfree(slots); in clusterCommand()
4304 zfree(slots); in clusterCommand()
4309 if (slots[j]) { in clusterCommand()
[all …]
H A Dcluster.h121 unsigned char slots[CLUSTER_SLOTS/8]; /* slots handled by this node */ member
152 clusterNode *slots[CLUSTER_SLOTS]; member
212 unsigned char slots[CLUSTER_SLOTS/8]; /* Slots bitmap. */ member
H A Dexpire.c161 unsigned long num, slots; in activeExpireCycle() local
171 slots = dictSlots(db->expires); in activeExpireCycle()
177 if (num && slots > DICT_HT_INITIAL_SIZE && in activeExpireCycle()
178 (num*100/slots < 1)) break; in activeExpireCycle()
H A Dredis-cli.c175 int slots; member
2342 memset(node->slots, 0, sizeof(node->slots)); in clusterManagerNodeResetSlots()
2596 if (sdslen(slots)) slots = sdscat(slots, ","); in clusterManagerNodeSlotsString()
2598 slots = sdscatfmt(slots, "[%u", i); in clusterManagerNodeSlotsString()
2604 slots = sdscat(slots, "]"); in clusterManagerNodeSlotsString()
2613 else slots = sdscatfmt(slots, "-%u]", last_slot_idx); in clusterManagerNodeSlotsString()
2615 return slots; in clusterManagerNodeSlotsString()
3486 slots = zrealloc(slots, (c * sizeof(char *))); in clusterManagerGetConfigSignature()
5062 int slots = config.cluster_manager_command.slots; in clusterManagerCommandReshard() local
5063 if (!slots) { in clusterManagerCommandReshard()
[all …]
/f-stack/freebsd/contrib/device-tree/Bindings/sound/
H A Dtdm-slot.txt6 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
H A Ddavinci-mcasp-audio.txt17 - tdm-slots : Slots for TDM operation. Indicates number of channels transmitted
33 - dismod : Specify the drive on TX pin during inactive slots
77 tdm-slots = <2>;
/f-stack/app/redis-5.0.5/tests/support/
H A Dcluster.tcl101 set slots [lrange $args 8 end]
120 slots $slots \
138 foreach slotrange [dict get $node slots] {
/f-stack/app/redis-5.0.5/deps/jemalloc/bin/
H A Djeprof.in3653 my $slots = $self->{slots};
3698 my $slots = $self->{slots};
3725 @$slots = @b64_values;
3732 my $slots = $self->{slots};
3733 while ($#$slots >= 0) {
3959 if ($slots->get(0) != 0 ) {
3962 $i = 2 + $slots->get(1);
3963 $version = $slots->get(2);
3964 $period = $slots->get(3);
3972 my $n = $slots->get($i++);
[all …]
/f-stack/app/redis-5.0.5/deps/hiredis/examples/
H A Dexample-qt.h17 public slots:
/f-stack/tools/netstat/
H A Dnhgrp.c157 uint32_t slots = 0; in print_nhgroup_entry_sysctl() local
160 slots++; in print_nhgroup_entry_sysctl()
167 xo_emit("{t:nh-slots/%*lu}", wid_nhidx, slots); in print_nhgroup_entry_sysctl()
/f-stack/dpdk/drivers/net/virtio/
H A Dvirtio_rxtx_packed_avx.c210 uint16_t slots, can_push = 0, use_indirect = 0; in virtqueue_enqueue_single_packed_vec() local
229 slots = use_indirect ? 1 : (txm->nb_segs + !can_push); in virtqueue_enqueue_single_packed_vec()
230 need = slots - vq->vq_free_cnt; in virtqueue_enqueue_single_packed_vec()
235 need = slots - vq->vq_free_cnt; in virtqueue_enqueue_single_packed_vec()
244 virtqueue_enqueue_xmit_packed(txvq, txm, slots, use_indirect, in virtqueue_enqueue_single_packed_vec()
H A Dvirtio_rxtx.c1760 int can_push = 0, use_indirect = 0, slots, need; in virtio_xmit_pkts_packed() local
1781 need = slots - vq->vq_free_cnt; in virtio_xmit_pkts_packed()
1786 need = slots - vq->vq_free_cnt; in virtio_xmit_pkts_packed()
1798 virtqueue_enqueue_xmit_packed(txvq, txm, slots, in virtio_xmit_pkts_packed()
1841 int can_push = 0, use_indirect = 0, slots, need; in virtio_xmit_pkts() local
1863 need = slots - vq->vq_free_cnt; in virtio_xmit_pkts()
1872 need = slots - vq->vq_free_cnt; in virtio_xmit_pkts()
1943 int slots; in virtio_xmit_pkts_inorder() local
1977 slots = txm->nb_segs + 1; in virtio_xmit_pkts_inorder()
1978 need = slots - vq->vq_free_cnt; in virtio_xmit_pkts_inorder()
[all …]
/f-stack/freebsd/contrib/device-tree/Bindings/arm/
H A Darm,integrator.yaml24 host and several PCI slots, as well as a number of slots for logical
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Ddnode.h95 #define DN_SLOTS_TO_BONUSLEN(slots) DN_BONUS_SIZE((slots) << DNODE_SHIFT) argument
427 int dnode_try_claim(objset_t *os, uint64_t object, int slots);
/f-stack/dpdk/doc/guides/linux_gsg/
H A Dnic_perf_intel_platform.rst74 Use PCIe Gen3 slots, such as Gen3 ``x8`` or Gen3 ``x16`` because PCIe Gen2 slots don't provide enou…
83 When inserting NICs into PCI slots always check the caption, such as CPU0 or CPU1 to indicate which…
/f-stack/freebsd/contrib/device-tree/src/arm/
H A Darmada-xp-db.dts188 * All 6 slots are physically present as
189 * standard PCIe slots on the board.
H A Darmada-xp-gp.dts185 * The 3 slots are physically present as
186 * standard PCIe slots on the board.
H A Darmada-370-db.dts174 * both standard PCIe slots and mini-PCIe
175 * slots on the board.

1234