/freebsd/contrib/libcbor/test/ |
H A D | stream_expectations.c | 4 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() 24 assertions_queue[queue_size++] = (struct test_assertion){ in assert_uint8_eq() 35 assertions_queue[queue_size++] = (struct test_assertion){ in assert_uint16_eq() 46 assertions_queue[queue_size++] = (struct test_assertion){ in assert_uint32_eq() 57 assertions_queue[queue_size++] = (struct test_assertion){ in assert_uint64_eq() 68 assertions_queue[queue_size++] = (struct test_assertion){ in assert_negint8_eq() 79 assertions_queue[queue_size++] = (struct test_assertion){ in assert_negint16_eq() 90 assertions_queue[queue_size++] = (struct test_assertion){ in assert_negint32_eq() [all …]
|
/freebsd/sys/dev/mana/ |
H A D | hw_channel.c | 299 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 D | gdma_main.c | 358 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() 493 uint32_t head = eq->head % (eq->queue_size / GDMA_EQE_SIZE); in mana_gd_process_eqe() 568 num_eqe = eq->queue_size / GDMA_EQE_SIZE; in mana_gd_process_eq_events() 797 log2_num_entries = ilog2(queue->queue_size / GDMA_EQE_SIZE); in mana_gd_create_eq() 838 uint32_t log2_num_entries = ilog2(spec->queue_size / GDMA_CQE_SIZE); in mana_gd_create_cq() 872 err = mana_gd_alloc_memory(gc, spec->queue_size, gmi); in mana_gd_create_hwc_queue() 879 queue->queue_size = spec->queue_size; in mana_gd_create_hwc_queue() 1006 err = mana_gd_alloc_memory(gc, spec->queue_size, gmi); in mana_gd_create_mana_eq() 1017 queue->queue_size = spec->queue_size; in mana_gd_create_mana_eq() [all …]
|
H A D | mana_en.c | 1225 req.wq_size = wq_spec->queue_size; in mana_create_wq_obj() 1226 req.cq_size = cq_spec->queue_size; in mana_create_wq_obj() 1326 spec.queue_size = EQ_SIZE; in mana_create_eq() 2117 spec.queue_size = txq_size; in mana_create_txq() 2131 spec.queue_size = cq_size; in mana_create_txq() 2143 wq_spec.queue_size = txq->gdma_sq->queue_size; in mana_create_txq() 2146 cq_spec.queue_size = cq->gdma_cq->queue_size; in mana_create_txq() 2439 spec.queue_size = rq_size; in mana_create_rxq() 2452 spec.queue_size = cq_size; in mana_create_rxq() 2463 wq_spec.queue_size = rxq->gdma_rq->queue_size; in mana_create_rxq() [all …]
|
H A D | gdma.h | 331 uint32_t queue_size; member 364 unsigned int queue_size; member 664 uint32_t queue_size; member
|
H A D | mana.h | 572 uint32_t queue_size; member
|
/freebsd/sbin/nvmecontrol/ |
H A D | reconnect.c | 31 uint16_t queue_size; member 41 .queue_size = 0, 62 u_int num_io_queues, u_int queue_size, in reconnect_nvm_controller() argument 73 queue_size, &cdata); in reconnect_nvm_controller() 140 opt.kato * 1000, opt.num_io_queues, opt.queue_size, NULL); in reconnect_by_address() 290 OPT("queue-size", 'Q', arg_uint16, opt, queue_size,
|
H A D | connect.c | 35 uint16_t queue_size; member 47 .queue_size = 0, 92 opt.num_io_queues, opt.queue_size, &cdata); in connect_nvm_controller() 258 OPT("queue-size", 'Q', arg_uint16, opt, queue_size,
|
H A D | fabrics.c | 439 u_int num_io_queues, u_int queue_size, struct nvme_controller_data *cdata) in connect_nvm_queues() argument 487 if (queue_size == 0) in connect_nvm_queues() 488 queue_size = (u_int)mqes + 1; in connect_nvm_queues() 489 else if (queue_size > (u_int)mqes + 1) { in connect_nvm_queues() 529 io[i] = nvmf_connect(na, &qparams, i + 1, queue_size, hostid, in connect_nvm_queues()
|
H A D | fabrics.h | 41 u_int num_io_queues, u_int queue_size, struct nvme_controller_data *cdata);
|
/freebsd/sys/dev/vmware/vmci/ |
H A D | vmci_defs.h | 521 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 D | vmci_qpair.c | 61 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 D | vmci_kernel_if.c | 517 const size_t queue_size = in vmci_alloc_queue() local 526 queue = malloc(queue_size, M_DEVBUF, M_NOWAIT); in vmci_alloc_queue()
|
/freebsd/lib/libnvmf/ |
H A D | nvmf_host.c | 41 const struct nvmf_qpair_params *params, uint16_t qid, u_int queue_size, in nvmf_connect() argument 68 if (queue_size < NVME_MIN_ADMIN_ENTRIES || in nvmf_connect() 69 queue_size > NVME_MAX_ADMIN_ENTRIES) { in nvmf_connect() 70 na_error(na, "Invalid queue size %u", queue_size); in nvmf_connect() 74 if (queue_size < NVME_MIN_IO_ENTRIES || in nvmf_connect() 75 queue_size > NVME_MAX_IO_ENTRIES) { in nvmf_connect() 76 na_error(na, "Invalid queue size %u", queue_size); in nvmf_connect() 96 cmd.sqsize = htole16(queue_size - 1); in nvmf_connect() 176 qp->nq_qsize = queue_size; in nvmf_connect()
|
H A D | libnvmf.h | 263 const struct nvmf_qpair_params *params, uint16_t qid, u_int queue_size,
|
/freebsd/sys/contrib/dev/iwlwifi/pcie/ |
H A D | rx.c | 122 WARN_ON(rxq->queue_size & (rxq->queue_size - 1)); in iwl_rxq_space() 130 return (rxq->read - rxq->write - 1) & (rxq->queue_size - 1); in iwl_rxq_space() 276 rxq->write = (rxq->write + 1) & (rxq->queue_size - 1); 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; 738 rxq->bd = dma_alloc_coherent(dev, free_size * rxq->queue_size, 746 rxq->queue_size, [all...] |
H A D | trans-gen2.c | 235 int queue_size = max_t(u32, IWL_CMD_QUEUE_SIZE, in iwl_pcie_gen2_nic_init() 253 if (iwl_txq_gen2_init(trans, trans_pcie->txqs.cmd.q_id, queue_size)) in iwl_pcie_gen2_nic_init() 234 int queue_size = max_t(u32, IWL_CMD_QUEUE_SIZE, iwl_pcie_gen2_nic_init() local
|
H A D | internal.h | 141 * @queue_size: size of this queue 156 u32 queue_size; member 773 int queue_size); in __iwl_trans_pcie_set_bits_mask()
|
/freebsd/sbin/ggate/ggatec/ |
H A D | ggatec.c | 66 static unsigned queue_size = G_GATE_QUEUE_SIZE; variable 503 ggioc.gctl_maxcount = queue_size; in g_gatec_create() 609 queue_size = strtoul(optarg, NULL, 10); in main() 610 if (queue_size == 0 && errno != 0) in main()
|
/freebsd/sys/dev/virtio/pci/ |
H A D | virtio_pci_modern_var.h | 84 uint16_t queue_size; /* read-write, power of 2. */ member
|
/freebsd/sys/netpfil/ipfw/ |
H A D | ip_dn_glue.c | 673 int queue_size = sizeof(struct dn_flow_queue8); in dn_compat_copy_pipe() local 683 need = pipe_size + queue_size * n_queue; in dn_compat_copy_pipe() 732 int queue_size = sizeof(struct dn_flow_queue8); in dn_compat_copy_queue() local 740 need = fs_size + queue_size * n_queue; in dn_compat_copy_queue()
|
/freebsd/sys/contrib/dev/iwlwifi/queue/ |
H A D | tx.h |
|
H A D | tx.c |
|
/freebsd/sys/contrib/ena-com/ |
H A D | ena_com.h | 450 u16 queue_size; member
|
H A D | ena_com.c | 2218 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()
|