/freebsd/crypto/openssl/crypto/ffc/ |
H A D | ffc_params_generate.c | 342 if (mdsize > qsize) in generate_q_fips186_4() 346 if (mdsize < qsize) in generate_q_fips186_4() 355 pmd[qsize-1] |= 0x01; in generate_q_fips186_4() 425 md[qsize - 1] |= 0x01; in generate_q_fips186_2() 525 int n = 0, m = 0, qsize; in ossl_ffc_params_FIPS186_4_gen_verify() local 556 qsize = N >> 3; in ossl_ffc_params_FIPS186_4_gen_verify() 817 size_t qsize; in ossl_ffc_params_FIPS186_2_gen_verify() local 847 qsize = N >> 3; in ossl_ffc_params_FIPS186_2_gen_verify() 869 if (seed_len < qsize) { in ossl_ffc_params_FIPS186_2_gen_verify() 874 if (seed_len > qsize) in ossl_ffc_params_FIPS186_2_gen_verify() [all …]
|
/freebsd/contrib/netbsd-tests/kernel/ |
H A D | t_pty.c | 51 static int qsize; variable 113 if (qsize) { in condition() 114 int opt = qsize; in condition() 119 if (opt != qsize) in condition() 121 qsize, opt); in condition() 233 if (qsize && size < qsize && in child_spawn() 237 size, qsize); in child_spawn() 287 qsize = atoi(optarg); in parse_args() 326 qsize = 0; in ATF_TC_BODY() 340 qsize = 4096; in ATF_TC_BODY()
|
/freebsd/lib/libnvmf/ |
H A D | nvmf_controller.c | 145 u_int qsize; in nvmf_accept() local 197 qsize = le16toh(cmd->sqsize) + 1; in nvmf_accept() 200 if (qsize < NVME_MIN_ADMIN_ENTRIES || in nvmf_accept() 201 qsize > NVME_MAX_ADMIN_ENTRIES || in nvmf_accept() 202 qsize > na->na_params.max_admin_qsize) { in nvmf_accept() 203 na_error(na, "Invalid queue size %u", qsize); in nvmf_accept() 219 if (qsize < NVME_MIN_IO_ENTRIES || in nvmf_accept() 220 qsize > NVME_MAX_IO_ENTRIES || in nvmf_accept() 221 qsize > na->na_params.max_io_qsize) { in nvmf_accept() 222 na_error(na, "Invalid queue size %u", qsize); in nvmf_accept() [all …]
|
H A D | nvmf_transport.c | 245 qparams->qsize = qp->nq_qsize; in nvmf_kernel_handoff_params()
|
/freebsd/sys/net/altq/ |
H A D | altq_classq.h | 72 #define qsize(q) (q)->qsize_ /* Current queue size. */ macro 107 qsize(q) += m_pktlen(m); in _addq() 122 qsize(q) -= m_pktlen(m0); in _getq()
|
H A D | altq_codel.c | 120 qsize(cif->cl_q) = 0; in codel_add_altq() 337 qsize(q) <= c->stats.maxpacket) { in codel_should_drop()
|
/freebsd/sys/dev/vnic/ |
H A D | q_struct.h | 626 uint64_t qsize:3; member 634 uint64_t qsize:3; 651 uint64_t qsize:3; member 657 uint64_t qsize:3; 674 uint64_t qsize:4; member 684 uint64_t qsize:4;
|
/freebsd/sys/dev/nvmf/controller/ |
H A D | nvmft_qpair.c | 32 u_int qsize; member 110 qp->qsize = handoff->qsize; in nvmft_qpair_init() 190 qp->sqhd = (qp->sqhd + 1) % qp->qsize; in _nvmft_send_response()
|
/freebsd/sys/netpfil/ipfw/ |
H A D | ip_dn_glue.c | 97 int qsize ; /* queue size in slots or bytes */ member 422 fs->qsize = f->qsize; in dn_compat_config_queue() 650 fs->qsize = f->fs.qsize; in dn_c_copy_pipe() 706 fs->qsize = f->fs.qsize; in dn_c_copy_fs()
|
H A D | dn_aqm_codel.c | 250 if ( q->ni.len_bytes > f->qsize) in aqm_codel_enqueue() 254 if ( q->ni.length >= f->qsize) in aqm_codel_enqueue()
|
H A D | dn_aqm_pie.c | 507 if (qlen >= f->qsize) in aqm_pie_enqueue() 608 pst->one_third_q_size = q->fs->fs.qsize/3; in aqm_pie_init()
|
H A D | ip_dn_io.c | 534 if (q->ni.len_bytes > f->qsize) in dn_enqueue() 536 } else if (q->ni.length >= f->qsize) { in dn_enqueue()
|
/freebsd/sys/dev/nvmf/ |
H A D | nvmf.h | 32 u_int qsize; member
|
/freebsd/contrib/ntp/ntpq/ |
H A D | ntpq.c | 1321 size_t qsize, in sendrequest() argument 1334 if (qsize > CTL_MAX_DATA_LEN) { in sendrequest() 1337 qsize); in sendrequest() 1350 qpkt.count = htons((u_short)qsize); in sendrequest() 1357 if (qsize > 0) { in sendrequest() 1358 memcpy(&qpkt.u, qdata, (size_t)qsize); in sendrequest() 1359 pktsize += qsize; in sendrequest() 1361 qpkt.u.data[qsize++] = 0; in sendrequest() 1379 qpkt.u.data[qsize++] = 0; in sendrequest() 1505 size_t qsize, in doquery() argument [all …]
|
/freebsd/sys/netinet/ |
H A D | ip_dummynet.h | 147 int qsize; /* queue size in slots or bytes */ member
|
/freebsd/contrib/ntp/ntpdc/ |
H A D | ntpdc.c | 896 size_t qsize, in sendrequest() argument 914 datasize = qitems * qsize; in sendrequest() 918 qpkt.mbz_itemsize = MBZ_ITEMSIZE(qsize); in sendrequest() 921 qpkt.mbz_itemsize = MBZ_ITEMSIZE(qsize); /* allow for optional first item */ in sendrequest() 993 size_t qsize, in doquery() argument 1036 res = sendrequest(implcode, reqcode, auth, qitems, qsize, qdata); in doquery()
|
/freebsd/sys/dev/cxgbe/ |
H A D | t4_sge.c | 3352 iq->qsize = roundup2(qsize, 16); /* See FW_IQ_CMD/iqsize */ in init_iq() 3363 fl->qsize = qsize; in init_fl() 3462 len = iq->qsize * IQ_ESIZE; in alloc_iq_fl() 3469 len = fl->qsize * EQ_ESIZE; in alloc_iq_fl() 3561 c.iqsize = htobe16(iq->qsize); in alloc_iq_fl_hwq() 4219 qsize_to_fthresh(int qsize) in qsize_to_fthresh() argument 4223 while (!powerof2(qsize)) in qsize_to_fthresh() 4224 qsize++; in qsize_to_fthresh() 4225 fthresh = ilog2(qsize); in qsize_to_fthresh() 4374 int rc, qsize; in alloc_eq() local [all …]
|
/freebsd/sys/kern/ |
H A D | subr_vmem.c | 402 const vmem_size_t qsize = size >> vm->vm_quantum_shift; in bt_freehead_tofree() local 403 const int idx = SIZE2ORDER(qsize); in bt_freehead_tofree() 405 MPASS(size != 0 && qsize != 0); in bt_freehead_tofree() 424 const vmem_size_t qsize = size >> vm->vm_quantum_shift; in bt_freehead_toalloc() local 425 int idx = SIZE2ORDER(qsize); in bt_freehead_toalloc() 427 MPASS(size != 0 && qsize != 0); in bt_freehead_toalloc() 430 if (strat == M_FIRSTFIT && ORDER2SIZE(idx) != qsize) { in bt_freehead_toalloc()
|
/freebsd/sys/dev/nvmf/host/ |
H A D | nvmf.c | 228 if (ivars->io_params[i].qsize != ivars->io_params[0].qsize) { in nvmf_init_ivars() 479 sc->max_pending_io = ivars->io_params[0].qsize /* * sc->num_io_queues */; in nvmf_attach()
|
H A D | nvmf_qpair.c | 244 qp->num_commands = handoff->qsize - 1; in nvmf_init_qp()
|
/freebsd/sbin/ipfw/ |
H A D | dummynet.c | 477 l = fs->qsize; in print_flowset_parms() 1447 fs->qsize = strtoul(av[0], &end, 0); in ipfw_config_pipe() 1450 fs->qsize *= 1024; in ipfw_config_pipe() 1774 if (fs->qsize > limit) in ipfw_config_pipe() 1784 if (fs->qsize > limit) in ipfw_config_pipe()
|
/freebsd/sys/dev/nvme/ |
H A D | nvme_ctrlr.c | 336 uint32_t qsize; in nvme_ctrlr_enable() local 364 qsize = ctrlr->adminq.num_entries - 1; in nvme_ctrlr_enable() 367 aqa |= NVMEF(NVME_AQA_REG_ACQS, qsize); in nvme_ctrlr_enable() 368 aqa |= NVMEF(NVME_AQA_REG_ASQS, qsize); in nvme_ctrlr_enable()
|
/freebsd/sys/dev/mps/ |
H A D | mps.c | 1281 int qsize, fqsize, pqsize; in mps_alloc_hw_queues() local 1298 qsize = fqsize + pqsize; in mps_alloc_hw_queues() 1301 BUS_DMA_TEMPLATE_FILL(&t, BD_ALIGNMENT(16), BD_MAXSIZE(qsize), in mps_alloc_hw_queues() 1302 BD_MAXSEGSIZE(qsize), BD_NSEGMENTS(1), in mps_alloc_hw_queues() 1313 bzero(queues, qsize); in mps_alloc_hw_queues() 1314 bus_dmamap_load(sc->queues_dmat, sc->queues_map, queues, qsize, in mps_alloc_hw_queues()
|
/freebsd/sys/dev/cxgbe/cudbg/ |
H A D | cudbg_lib.c | 2125 u32 qsize; in read_cim_obq() local 2130 qsize = 6 * CIM_OBQ_SIZE * 4 * sizeof(u32); in read_cim_obq() 2131 rc = get_scratch_buff(dbg_buff, qsize, &scratch_buff); in read_cim_obq() 2138 scratch_buff.offset), qsize); in read_cim_obq() 2239 u32 qsize; in read_cim_ibq() local 2244 qsize = CIM_IBQ_SIZE * 4 * sizeof(u32); in read_cim_ibq() 2245 rc = get_scratch_buff(dbg_buff, qsize, &scratch_buff); in read_cim_ibq() 2253 scratch_buff.offset), qsize); in read_cim_ibq()
|
/freebsd/sys/dev/mpr/ |
H A D | mpr.c | 1354 int qsize, fqsize, pqsize; in mpr_alloc_hw_queues() local 1371 qsize = fqsize + pqsize; in mpr_alloc_hw_queues() 1374 BUS_DMA_TEMPLATE_FILL(&t, BD_ALIGNMENT(16), BD_MAXSIZE(qsize), in mpr_alloc_hw_queues() 1375 BD_MAXSEGSIZE(qsize), BD_NSEGMENTS(1), in mpr_alloc_hw_queues() 1386 bzero(queues, qsize); in mpr_alloc_hw_queues() 1387 bus_dmamap_load(sc->queues_dmat, sc->queues_map, queues, qsize, in mpr_alloc_hw_queues()
|