/freebsd/sys/dev/oce/ |
H A D | oce_queue.c | 54 uint32_t q_len, 61 uint32_t q_len, 73 uint32_t q_len, 211 if (q_len < 256 || q_len > 2048) { in oce_wq_init() 224 wq->cfg.q_len = q_len; in oce_wq_init() 387 uint32_t q_len, in oce_rq_init() argument 397 if ((q_len == 0) || (q_len > 1024)) in oce_rq_init() 405 rq->cfg.q_len = q_len; in oce_rq_init() 577 eq->eq_cfg.q_len = q_len; in oce_eq_create() 713 mq->cfg.q_len = (uint8_t) q_len; in oce_mq_create() [all …]
|
H A D | oce_util.c | 159 uint32_t q_len, uint32_t item_size) in oce_create_ring_buffer() argument 161 uint32_t size = q_len * item_size; in oce_create_ring_buffer() 170 ring->num_items = q_len; in oce_create_ring_buffer()
|
H A D | oce_if.h | 587 enum eq_len q_len; member 618 enum cq_len q_len; member 642 uint8_t q_len; member 667 uint32_t q_len; member 712 uint32_t q_len; member 953 uint32_t q_len, uint32_t num_entries);
|
H A D | oce_mbox.c | 1727 fwcmd->params.req.wq_size = OCE_LOG2(wq->cfg.q_len) + 1; in oce_mbox_create_wq() 1777 fwcmd->params.req.ctx.count = OCE_LOG2(eq->eq_cfg.q_len / 256); in oce_mbox_create_eq() 1836 ctx->v2.count = OCE_LOG2(cq->cq_cfg.q_len / 256); in oce_mbox_cq_create() 1842 if ((u_int)cq->cq_cfg.q_len > (4*1024)-1) in oce_mbox_cq_create() 1845 ctx->v2.cqe_count = cq->cq_cfg.q_len; in oce_mbox_cq_create() 1851 ctx->v0.count = OCE_LOG2(cq->cq_cfg.q_len / 256); in oce_mbox_cq_create()
|
/freebsd/sys/dev/vnic/ |
H A D | nicvf_queues.c | 170 (q_len * desc_size), /* maxsize */ in nicvf_alloc_q_desc_mem() 209 dmem->q_len = q_len; in nicvf_alloc_q_desc_mem() 210 dmem->size = (desc_size * q_len); in nicvf_alloc_q_desc_mem() 485 head &= (rbdr->dmem.q_len - 1); in nicvf_free_rbdr() 562 tail &= (rbdr->dmem.q_len - 1); in nicvf_refill_rbdr() 765 cqe_head &= (cq->dmem.q_len - 1); in nicvf_cq_intr_handler() 1117 for (i = 0; i < q_len; i++) { in nicvf_init_snd_queue() 1668 sq->tail &= (sq->dmem.q_len - 1); in nicvf_get_sq_desc() 1680 sq->head &= (sq->dmem.q_len - 1); in nicvf_put_sq_desc() 1687 qentry &= (sq->dmem.q_len - 1); in nicvf_get_nxt_sqentry() [all …]
|
H A D | nicvf_queues.h | 242 uint16_t q_len; member
|
/freebsd/crypto/openssl/test/ |
H A D | ecdsatest.c | 80 long q_len, msg_len = 0; in x9_62_tests() local 124 || !TEST_ptr(qbuf = OPENSSL_hexstr2buf(ecdsa_cavs_kats[n].Q, &q_len)) in x9_62_tests() 125 || !TEST_int_eq(q_len, p_len) in x9_62_tests() 126 || !TEST_mem_eq(qbuf, q_len, pbuf, p_len)) in x9_62_tests()
|
H A D | acvp_test.c | 450 const unsigned char *q, size_t q_len, in dsa_create_pkey() argument 475 || !TEST_ptr(BN_bin2bn(q, q_len, q_bn)) in dsa_create_pkey() 530 tst->q, tst->q_len, NULL, 0, in dsa_pqver_test() 632 tst->q, tst->q_len, tst->g, tst->g_len, in dsa_sigver_test() 1064 size_t q_len = 0, q1_len = 0, q2_len = 0; in rsa_keygen_test() local 1109 &q, &q_len)) in rsa_keygen_test() 1121 || !TEST_mem_eq(tst->q, tst->q_len, q, q_len) in rsa_keygen_test() 1131 test_output_memory("q", q, q_len); in rsa_keygen_test()
|
H A D | acvp_test.inc | 248 size_t q_len; 268 size_t q_len; 1041 size_t q_len;
|
/freebsd/cddl/contrib/opensolaris/common/ctf/ |
H A D | ctf_lookup.c | 52 size_t q_len; in isqualifier() member 67 return (len == qp->q_len && strncmp(qp->q_name, s, qp->q_len) == 0); in isqualifier()
|
/freebsd/sys/netpfil/ipfw/test/ |
H A D | main.c | 58 uint32_t q_len; /* size of a queue including sched-fields */ member 98 #define FI2Q(c, i) ((struct dn_queue *)((c)->q + (c)->q_len * (i))) 99 #define Q2FI(c, q) (((char *)(q) - (c)->q)/(c)->q_len) 440 c->q_len = sizeof(struct dn_queue); in init() 535 c->q_len += p->q_datalen; in init() 546 c->q_len, (int)sizeof(struct dn_fsk), in init() 551 c->q = calloc(c->flows, c->q_len); /* one queue per flow */ in init()
|
/freebsd/sys/dev/wg/ |
H A D | if_wg.c | 171 size_t q_len; member 1798 queue->q_len = 0; in wg_queue_init() 1821 hs->q_len++; in wg_queue_enqueue_handshake() 1838 hs->q_len--; in wg_queue_dequeue_handshake() 1853 staged->q_len--; in wg_queue_push_staged() 1856 staged->q_len++; in wg_queue_push_staged() 1877 staged->q_len = 0; in wg_queue_delist_staged() 1898 serial->q_len++; in wg_queue_both() 1909 parallel->q_len++; in wg_queue_both() 1927 serial->q_len--; in wg_queue_dequeue_serial() [all …]
|
/freebsd/sys/dev/ice/ |
H A D | ice_lan_tx_rx.h | 1097 u32 q_len; member
|
H A D | ice_common.c | 1517 ICE_CTX_STORE(ice_tx_cmpltnq_ctx, q_len, 18, 64),
|