Home
last modified time | relevance | path

Searched refs:queue_size (Results 1 – 21 of 21) sorted by relevance

/freebsd-14.2/contrib/libcbor/test/
H A Dstream_expectations.c4 int queue_size = 0; variable
8 if (queue_size != current_expectation) { in clean_up_stream_assertions()
11 queue_size = current_expectation = 0; in clean_up_stream_assertions()
126 assertions_queue[queue_size++] = in assert_bstring_indef_start()
150 assertions_queue[queue_size++] = in assert_string_indef_start()
160 assertions_queue[queue_size++] = in assert_indef_break()
170 assertions_queue[queue_size++] = in assert_array_start()
181 assertions_queue[queue_size++] = in assert_indef_array_start()
191 assertions_queue[queue_size++] = in assert_map_start()
202 assertions_queue[queue_size++] = in assert_indef_map_start()
[all …]
/freebsd-14.2/sys/dev/mana/
H A Dhw_channel.c299 enum gdma_queue_type type, uint64_t queue_size, in mana_hwc_create_gdma_wq() argument
309 spec.queue_size = queue_size; in mana_hwc_create_gdma_wq()
316 uint64_t queue_size, in mana_hwc_create_gdma_cq() argument
325 spec.queue_size = queue_size; in mana_hwc_create_gdma_cq()
335 uint64_t queue_size, in mana_hwc_create_gdma_eq() argument
343 spec.queue_size = queue_size; in mana_hwc_create_gdma_eq()
538 uint32_t queue_size; in mana_hwc_create_wq() local
547 queue_size = roundup_pow_of_two(GDMA_MAX_RQE_SIZE * q_depth); in mana_hwc_create_wq()
549 queue_size = roundup_pow_of_two(GDMA_MAX_SQE_SIZE * q_depth); in mana_hwc_create_wq()
551 if (queue_size < MINIMUM_SUPPORTED_PAGE_SIZE) in mana_hwc_create_wq()
[all …]
H A Dgdma_main.c358 req.queue_size = queue->queue_size; in mana_gd_create_hw_eq()
482 uint32_t num_cqe = cq->queue_size / GDMA_CQE_SIZE; in mana_gd_ring_cq()
568 num_eqe = eq->queue_size / GDMA_EQE_SIZE; in mana_gd_process_eq_events()
879 queue->queue_size = spec->queue_size; in mana_gd_create_hwc_queue()
1017 queue->queue_size = spec->queue_size; in mana_gd_create_mana_eq()
1062 queue->queue_size = spec->queue_size; in mana_gd_create_mana_wq_cq()
1219 uint32_t wq_size = wq->queue_size; in mana_gd_wq_avail_space()
1235 if ((offset + GDMA_WQE_BU_SIZE) > wq->queue_size) { in mana_gd_get_wqe_ptr()
1238 offset + GDMA_WQE_BU_SIZE, wq->queue_size); in mana_gd_get_wqe_ptr()
1301 end_ptr = base_ptr + wq->queue_size; in mana_gd_write_sgl()
[all …]
H A Dmana_en.c1221 req.wq_size = wq_spec->queue_size; in mana_create_wq_obj()
1222 req.cq_size = cq_spec->queue_size; in mana_create_wq_obj()
1322 spec.queue_size = EQ_SIZE; in mana_create_eq()
2064 spec.queue_size = txq_size; in mana_create_txq()
2078 spec.queue_size = cq_size; in mana_create_txq()
2090 wq_spec.queue_size = txq->gdma_sq->queue_size; in mana_create_txq()
2093 cq_spec.queue_size = cq->gdma_cq->queue_size; in mana_create_txq()
2369 spec.queue_size = rq_size; in mana_create_rxq()
2382 spec.queue_size = cq_size; in mana_create_rxq()
2393 wq_spec.queue_size = rxq->gdma_rq->queue_size; in mana_create_rxq()
[all …]
H A Dgdma.h331 uint32_t queue_size; member
364 unsigned int queue_size; member
664 uint32_t queue_size; member
H A Dmana.h552 uint32_t queue_size; member
/freebsd-14.2/sys/dev/vmware/vmci/
H A Dvmci_defs.h521 size_t add, uint64_t queue_size) in vmci_queue_header_add_producer_tail() argument
524 qp_add_pointer(&q_header->producer_tail, add, queue_size); in vmci_queue_header_add_producer_tail()
546 size_t add, uint64_t queue_size) in vmci_queue_header_add_consumer_head() argument
549 qp_add_pointer(&q_header->consumer_head, add, queue_size); in vmci_queue_header_add_consumer_head()
H A Dvmci_qpair.c61 size_t add, uint64_t queue_size) in vmci_queue_add_producer_tail() argument
64 vmci_queue_header_add_producer_tail(queue->q_header, add, queue_size); in vmci_queue_add_producer_tail()
87 size_t add, uint64_t queue_size) in vmci_queue_add_consumer_head() argument
90 vmci_queue_header_add_consumer_head(queue->q_header, add, queue_size); in vmci_queue_add_consumer_head()
H A Dvmci_kernel_if.c517 const size_t queue_size = in vmci_alloc_queue() local
526 queue = malloc(queue_size, M_DEVBUF, M_NOWAIT); in vmci_alloc_queue()
/freebsd-14.2/sys/contrib/dev/iwlwifi/pcie/
H A Drx.c122 WARN_ON(rxq->queue_size & (rxq->queue_size - 1)); in iwl_rxq_space()
689 free_size * rxq->queue_size,
700 rxq->queue_size,
728 rxq->queue_size = trans->cfg->num_rbds;
730 rxq->queue_size = RX_QUEUE_SIZE;
746 rxq->queue_size,
1146 queue_size = trans->trans_cfg->mq_rx_supported ?
1150 num_alloc = queue_size + allocator_pool_size;
1521 r &= (rxq->queue_size - 1);
1571 i = (i + 1) & (rxq->queue_size - 1);
[all …]
H A Dtrans-gen2.c234 int queue_size = max_t(u32, IWL_CMD_QUEUE_SIZE, in iwl_pcie_gen2_nic_init() local
249 if (iwl_txq_gen2_init(trans, trans->txqs.cmd.q_id, queue_size)) in iwl_pcie_gen2_nic_init()
H A Dinternal.h156 u32 queue_size; member
/freebsd-14.2/sbin/ggate/ggatec/
H A Dggatec.c66 static unsigned queue_size = G_GATE_QUEUE_SIZE; variable
501 ggioc.gctl_maxcount = queue_size; in g_gatec_create()
605 queue_size = strtoul(optarg, NULL, 10); in main()
606 if (queue_size == 0 && errno != 0) in main()
/freebsd-14.2/sys/dev/virtio/pci/
H A Dvirtio_pci_modern_var.h84 uint16_t queue_size; /* read-write, power of 2. */ member
/freebsd-14.2/sys/netpfil/ipfw/
H A Dip_dn_glue.c667 int queue_size = sizeof(struct dn_flow_queue8); in dn_compat_copy_pipe() local
677 need = pipe_size + queue_size * n_queue; in dn_compat_copy_pipe()
723 int queue_size = sizeof(struct dn_flow_queue8); in dn_compat_copy_queue() local
731 need = fs_size + queue_size * n_queue; in dn_compat_copy_queue()
H A Ddummynet.txt772 queue_size: sizeof(dn_queue_xyz);
/freebsd-14.2/sys/contrib/dev/iwlwifi/queue/
H A Dtx.h128 int iwl_txq_gen2_init(struct iwl_trans *trans, int txq_id, int queue_size);
H A Dtx.c1324 int iwl_txq_gen2_init(struct iwl_trans *trans, int txq_id, int queue_size) in iwl_txq_gen2_init() argument
1337 ret = iwl_txq_alloc(trans, queue, queue_size, true); in iwl_txq_gen2_init()
1346 ret = iwl_txq_init(trans, queue, queue_size, in iwl_txq_gen2_init()
/freebsd-14.2/sys/contrib/ena-com/
H A Dena_com.h450 u16 queue_size; member
H A Dena_com.c2218 io_cq->q_depth = ctx->queue_size; in ena_com_create_io_queue()
2224 io_sq->q_depth = ctx->queue_size; in ena_com_create_io_queue()
/freebsd-14.2/sys/dev/ena/
H A Dena.c1600 ctx.queue_size = adapter->requested_tx_ring_size; in ena_create_io_queues()
1635 ctx.queue_size = adapter->requested_rx_ring_size; in ena_create_io_queues()