Searched refs:free_slots (Results 1 – 8 of 8) sorted by relevance
| /f-stack/freebsd/contrib/openzfs/cmd/raidz_test/ |
| H A D | raidz_test.c | 836 static int free_slots; variable 864 free_slots++; in sweep_thread() 888 max_free_slots = free_slots = MAX(2, boot_ncpus); in run_sweep() 927 if (free_slots > 0) { in run_sweep() 932 free_slots--; in run_sweep() 951 VERIFY(free_slots <= max_free_slots); in run_sweep() 952 while (free_slots < max_free_slots) { in run_sweep()
|
| /f-stack/dpdk/drivers/crypto/ccp/ |
| H A D | ccp_dev.c | 51 ret = rte_atomic64_read(&dev->cmd_q[dev->qidx].free_slots); in ccp_allot_queue() 58 ret = rte_atomic64_read(&dev->cmd_q[dev->qidx].free_slots); in ccp_allot_queue() 585 rte_atomic64_init(&cmd_q->free_slots); in ccp_add_device() 586 rte_atomic64_set(&cmd_q->free_slots, (COMMANDS_PER_QUEUE - 1)); in ccp_add_device()
|
| H A D | ccp_dev.h | 191 rte_atomic64_t free_slots; member
|
| H A D | ccp_crypto.c | 2712 rte_atomic64_sub(&b_info->cmd_q->free_slots, slots_req); in process_ops_to_enqueue() 2760 rte_atomic64_add(&b_info->cmd_q->free_slots, in process_ops_to_enqueue() 2949 rte_atomic64_add(&b_info->cmd_q->free_slots, b_info->desccnt); in process_ops_to_dequeue()
|
| /f-stack/dpdk/lib/librte_efd/ |
| H A D | rte_efd.c | 258 struct rte_ring *free_slots; member 709 table->free_slots = r; in rte_efd_create() 771 rte_ring_free(table->free_slots); in rte_efd_free() 1037 if (rte_ring_sc_dequeue(table->free_slots, &slot_id) != 0) in efd_compute_update() 1218 rte_ring_sp_enqueue(table->free_slots, in rte_efd_delete()
|
| /f-stack/dpdk/lib/librte_hash/ |
| H A D | rte_cuckoo_hash.h | 165 struct rte_ring *free_slots; member
|
| H A D | rte_cuckoo_hash.c | 426 h->free_slots = r; in rte_hash_create() 523 rte_ring_free(h->free_slots); in rte_hash_free() 571 ret = tot_ring_cnt - rte_ring_count(h->free_slots) - in rte_hash_count() 575 ret = tot_ring_cnt - rte_ring_count(h->free_slots); in rte_hash_count() 640 rte_ring_reset(h->free_slots); in rte_hash_reset() 657 rte_ring_sp_enqueue_elem(h->free_slots, &i, sizeof(uint32_t)); in rte_hash_reset() 688 rte_ring_sp_enqueue_elem(h->free_slots, &slot_id, in enqueue_slot_back() 985 n_slots = rte_ring_mc_dequeue_burst_elem(h->free_slots, in alloc_slot() 999 if (rte_ring_sc_dequeue_elem(h->free_slots, &slot_id, in alloc_slot() 1465 n_slots = rte_ring_mp_enqueue_burst_elem(h->free_slots, in free_slot()
|
| /f-stack/dpdk/drivers/crypto/nitrox/ |
| H A D | nitrox_sym.c | 658 uint16_t free_slots = 0; in nitrox_sym_dev_enq_burst() local 662 free_slots = nitrox_qp_free_count(qp); in nitrox_sym_dev_enq_burst() 663 if (nb_ops > free_slots) in nitrox_sym_dev_enq_burst() 664 nb_ops = free_slots; in nitrox_sym_dev_enq_burst()
|