Home
last modified time | relevance | path

Searched refs:qsize (Results 1 – 25 of 25) sorted by relevance

/NextBSD/crypto/openssl/crypto/dsa/
HDdsa_gen.c138 int i, k, n = 0, m = 0, qsize = qbits >> 3; in dsa_builtin_paramgen() local
144 if (qsize != SHA_DIGEST_LENGTH && qsize != SHA224_DIGEST_LENGTH && in dsa_builtin_paramgen()
145 qsize != SHA256_DIGEST_LENGTH) in dsa_builtin_paramgen()
162 if (seed_len && (seed_len < (size_t)qsize)) in dsa_builtin_paramgen()
164 if (seed_len > (size_t)qsize) in dsa_builtin_paramgen()
165 seed_len = qsize; /* App. 2.2 of FIPS PUB 186 allows larger in dsa_builtin_paramgen()
200 if (RAND_pseudo_bytes(seed, qsize) < 0) in dsa_builtin_paramgen()
208 memcpy(buf, seed, qsize); in dsa_builtin_paramgen()
209 memcpy(buf2, seed, qsize); in dsa_builtin_paramgen()
211 for (i = qsize - 1; i >= 0; i--) { in dsa_builtin_paramgen()
[all …]
/NextBSD/contrib/netbsd-tests/kernel/
HDt_pty.c51 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()
/NextBSD/sys/net/altq/
HDaltq_classq.h73 #define qsize(q) (q)->qsize_ /* Current queue size. */ macro
108 qsize(q) += m_pktlen(m); in _addq()
123 qsize(q) -= m_pktlen(m0); in _getq()
HDaltq_codel.c122 qsize(cif->cl_q) = 0; in codel_add_altq()
338 qsize(q) <= c->stats.maxpacket) { in codel_should_drop()
HDaltq_priq.c342 qsize(cl->cl_q) = 0; in priq_class_create()
HDaltq_hfsc.c410 qsize(cl->cl_q) = 0; in hfsc_class_create()
/NextBSD/sys/dev/vnic/
HDq_struct.h626 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;
HDnicvf_queues.c1310 cq_cfg.qsize = CMP_QSIZE; in nicvf_cmp_queue_config()
1359 sq_cfg.qsize = SND_QSIZE; in nicvf_snd_queue_config()
1389 rbdr_cfg.qsize = RBDR_SIZE; in nicvf_rbdr_config()
/NextBSD/sys/netpfil/ipfw/
HDip_dn_glue.c93 int qsize ; /* queue size in slots or bytes */ member
420 fs->qsize = f->qsize; in dn_compat_config_queue()
645 fs->qsize = f->fs.qsize; in dn_c_copy_pipe()
699 fs->qsize = f->fs.qsize; in dn_c_copy_fs()
HDip_dn_io.c511 if (q->ni.len_bytes > f->qsize) in dn_enqueue()
513 } else if (q->ni.length >= f->qsize) { in dn_enqueue()
HDip_dummynet.c1292 ipdn_bound_var(&nfs->qsize, 16384, in config_fs()
1295 ipdn_bound_var(&nfs->qsize, 50, in config_fs()
/NextBSD/gnu/usr.bin/grep/
HDquotearg.c560 size_t qsize = quotearg_buffer (val, size, arg, (size_t) -1, options); in quotearg_n_options() local
562 if (size <= qsize) in quotearg_n_options()
564 slotvec[n].size = size = qsize + 1; in quotearg_n_options()
/NextBSD/contrib/ntp/ntpq/
HDntpq.c1176 size_t qsize, in sendrequest() argument
1189 if (qsize > CTL_MAX_DATA_LEN) { in sendrequest()
1192 qsize); in sendrequest()
1205 qpkt.count = htons((u_short)qsize); in sendrequest()
1212 if (qsize > 0) { in sendrequest()
1213 memcpy(&qpkt.u, qdata, (size_t)qsize); in sendrequest()
1214 pktsize += qsize; in sendrequest()
1216 qpkt.u.data[qsize++] = 0; in sendrequest()
1234 qpkt.u.data[qsize++] = 0; in sendrequest()
1360 size_t qsize, in doquery() argument
[all …]
/NextBSD/sys/dev/cxgbe/
HDt4_sge.c1285 limit = budget ? budget : iq->qsize / 16; in service_iq()
1370 if (service_iq(q, q->qsize / 16) == 0) { in service_iq()
1438 if (service_iq(q, q->qsize / 8) == 0) in service_iq()
2431 int qsize) in init_iq() argument
2447 iq->qsize = roundup2(qsize, 16); /* See FW_IQ_CMD/iqsize */ in init_iq()
2448 iq->sidx = iq->qsize - spg_len / IQ_ESIZE; in init_iq()
2452 init_fl(struct adapter *sc, struct sge_fl *fl, int qsize, int maxp, char *name) in init_fl() argument
2455 fl->qsize = qsize; in init_fl()
2456 fl->sidx = qsize - spg_len / EQ_ESIZE; in init_fl()
2467 init_eq(struct sge_eq *eq, int eqtype, int qsize, uint8_t tx_chan, in init_eq() argument
[all …]
HDadapter.h369 uint16_t qsize; /* size (# of entries) of the queue */ member
485 uint16_t qsize; /* # of hw descriptors (status page included) */ member
HDt4_main.c5822 int qsize, rc; in sysctl_qsize_rxq() local
5824 qsize = vi->qsize_rxq; in sysctl_qsize_rxq()
5826 rc = sysctl_handle_int(oidp, &qsize, 0, req); in sysctl_qsize_rxq()
5830 if (qsize < 128 || (qsize & 7)) in sysctl_qsize_rxq()
5841 vi->qsize_rxq = qsize; in sysctl_qsize_rxq()
5852 int qsize, rc; in sysctl_qsize_txq() local
5854 qsize = vi->qsize_txq; in sysctl_qsize_txq()
5856 rc = sysctl_handle_int(oidp, &qsize, 0, req); in sysctl_qsize_txq()
5860 if (qsize < 128 || qsize > 65536) in sysctl_qsize_txq()
5871 vi->qsize_txq = qsize; in sysctl_qsize_txq()
/NextBSD/sys/kern/
HDsubr_vmem.c356 const vmem_size_t qsize = size >> vm->vm_quantum_shift; in bt_freehead_tofree() local
357 const int idx = SIZE2ORDER(qsize); in bt_freehead_tofree()
359 MPASS(size != 0 && qsize != 0); in bt_freehead_tofree()
378 const vmem_size_t qsize = size >> vm->vm_quantum_shift; in bt_freehead_toalloc() local
379 int idx = SIZE2ORDER(qsize); in bt_freehead_toalloc()
381 MPASS(size != 0 && qsize != 0); in bt_freehead_toalloc()
384 if (strat == M_FIRSTFIT && ORDER2SIZE(idx) != qsize) { in bt_freehead_toalloc()
/NextBSD/contrib/ntp/ntpdc/
HDntpdc.c850 size_t qsize, in sendrequest() argument
868 datasize = qitems * qsize; in sendrequest()
872 qpkt.mbz_itemsize = MBZ_ITEMSIZE(qsize); in sendrequest()
875 qpkt.mbz_itemsize = MBZ_ITEMSIZE(qsize); /* allow for optional first item */ in sendrequest()
948 size_t qsize, in doquery() argument
991 res = sendrequest(implcode, reqcode, auth, qitems, qsize, qdata); in doquery()
/NextBSD/sys/netinet/
HDip_dummynet.h138 int qsize; /* queue size in slots or bytes */ member
/NextBSD/sbin/ipfw/
HDdummynet.c226 l = fs->qsize; in print_flowset_parms()
889 fs->qsize = strtoul(av[0], &end, 0); in ipfw_config_pipe()
892 fs->qsize *= 1024; in ipfw_config_pipe()
1176 if (fs->qsize > limit) in ipfw_config_pipe()
1186 if (fs->qsize > limit) in ipfw_config_pipe()
/NextBSD/sys/mips/nlm/hal/
HDfmn.h214 extern int nlm_cms_get_oc_space(int qsize, int max_queues, int qid, int *ocbase, int *ocstart, int …
/NextBSD/sys/dev/mps/
HDmps.c1070 int qsize, fqsize, pqsize; in mps_alloc_queues() local
1087 qsize = fqsize + pqsize; in mps_alloc_queues()
1094 qsize, /* maxsize */ in mps_alloc_queues()
1096 qsize, /* maxsegsize */ in mps_alloc_queues()
1108 bzero(queues, qsize); in mps_alloc_queues()
1109 bus_dmamap_load(sc->queues_dmat, sc->queues_map, queues, qsize, in mps_alloc_queues()
/NextBSD/contrib/jemalloc/src/
HDarena.c97 size_t qsize; in rb_gen() local
111 qsize = index2size(size2index(size - large_pad + 1) - 1) + large_pad; in rb_gen()
112 if (qsize <= SMALL_MAXCLASS + large_pad) in rb_gen()
114 assert(qsize <= size); in rb_gen()
115 return (qsize); in rb_gen()
155 size_t qsize = run_quantize(size); in run_quantize_first() local
157 if (qsize < size) { in run_quantize_first()
166 qsize = run_quantize_next(size); in run_quantize_first()
168 return (qsize); in run_quantize_first()
/NextBSD/sys/dev/mpr/
HDmpr.c1074 int qsize, fqsize, pqsize; in mpr_alloc_queues() local
1091 qsize = fqsize + pqsize; in mpr_alloc_queues()
1098 qsize, /* maxsize */ in mpr_alloc_queues()
1100 qsize, /* maxsegsize */ in mpr_alloc_queues()
1112 bzero(queues, qsize); in mpr_alloc_queues()
1113 bus_dmamap_load(sc->queues_dmat, sc->queues_map, queues, qsize, in mpr_alloc_queues()
/NextBSD/sys/net/
HDiflib.c2215 uint32_t qsize, cidx, mask, gen; in iflib_tx_desc_free() local
2220 qsize = txq->ift_ctx->ifc_sctx->isc_ntxd; in iflib_tx_desc_free()
2221 mask = qsize-1; in iflib_tx_desc_free()
2246 if (++cidx == qsize) { in iflib_tx_desc_free()