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

12

/netbsd-current/usr.sbin/altq/libaltq/
H A Dqop_wfq.h35 int qsize; /* queue size in bytes */ member in struct:wfq_ifinfo
40 int nqueues, int qsize);
42 int hash_policy, int nqueues, int qsize);
H A Dqop_wfq.c90 int qsize = 0; /* 0: use default */ local
108 } else if (EQUAL(*argv, "qsize")) {
111 qsize = atobytes(*argv);
141 if (qsize != 0 && qsize < 1500) {
142 LOG(LOG_ERR, 0, "qsize too small: %d bytes", qsize);
147 hash_policy, nqueues, qsize) != 0)
157 int nqueues, int qsize)
162 hash_policy, nqueues, qsize);
156 qcmd_wfq_add_if(const char *ifname, u_int bandwidth, int hash_policy, int nqueues, int qsize) argument
173 qop_wfq_add_if(struct ifinfo **rp, const char *ifname, u_int bandwidth, int hash_policy, int nqueues, int qsize) argument
[all...]
/netbsd-current/external/lgpl3/gmp/dist/mpf/
H A Dset_q.c50 could make that comparison and use qsize==prec instead of qsize==prec+1,
57 mp_size_t prec, nsize, dsize, qsize, prospective_qsize, tsize, zeros; local
87 qsize = prec + 1; /* desired q */
89 zeros = qsize - prospective_qsize; /* n zeros to get desired qsize */
102 /* shorten n to get desired qsize */
106 ASSERT (tsize-dsize+1 == qsize);
110 high_zero = (qp[qsize-1] == 0);
111 qsize
[all...]
/netbsd-current/external/lgpl3/gmp/dist/mpq/
H A Dget_d.c42 qsize for mpn_tdiv_qr is then 1 more than this, since that function may
107 mp_size_t qsize, prospective_qsize, zeros; local
128 qsize = N_QLIMBS; /* desired qsize */
130 zeros = qsize - prospective_qsize; /* padding n to get qsize */
153 ASSERT (qsize == nsize - dsize);
157 qsize += (qp[qsize] != 0);
159 res = mpn_get_d (qp, qsize, sign_quotien
[all...]
/netbsd-current/external/lgpl3/gmp/dist/tests/mpn/
H A Dt-divrem_1.c68 mp_size_t qsize; local
73 qsize = data[i].nsize + data[i].qxn;
74 ASSERT_ALWAYS (qsize <= numberof (got_q));
79 || refmpn_cmp (got_q, data[i].want_q, qsize) != 0)
87 mpn_trace (" want q", data[i].want_q, qsize);
88 mpn_trace (" got q", got_q, qsize);
102 || refmpn_cmp (got_q, data[i].want_q, qsize) != 0)
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/dsa/
H A Ddsa_gen.c56 int i, k, n = 0, m = 0, qsize = qbits >> 3; local
62 if (qsize != SHA_DIGEST_LENGTH && qsize != SHA224_DIGEST_LENGTH &&
63 qsize != SHA256_DIGEST_LENGTH)
68 if (qsize == SHA_DIGEST_LENGTH)
70 else if (qsize == SHA224_DIGEST_LENGTH)
75 qsize = EVP_MD_size(evpmd);
84 if (seed_len < (size_t)qsize) {
88 if (seed_len > (size_t)qsize) {
90 seed_len = qsize;
319 int i, k, n = 0, m = 0, qsize = N >> 3; local
[all...]
/netbsd-current/tests/kernel/
H A Dt_pty.c53 static int qsize; variable
115 if (qsize) {
116 int opt = qsize;
121 if (opt != qsize)
122 atf_tc_fail("Wrong qsize %d != %d\n", qsize, opt);
266 "Usage: %s [-v] [-q <qsize>] [-s <packetsize>] [-n <packets>]\n",
283 qsize = atoi(optarg);
322 qsize = 0;
336 qsize
[all...]
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/ffc/
H A Dffc_params_generate.c314 int qsize, unsigned char *seed, size_t seedlen,
342 if (mdsize > qsize)
343 pmd = md + mdsize - qsize;
346 if (mdsize < qsize)
347 memset(md + mdsize, 0, qsize - mdsize);
355 pmd[qsize-1] |= 0x01;
356 if (!BN_bin2bn(pmd, qsize, q))
388 size_t qsize, int generate_seed, int *retm,
402 if (generate_seed && RAND_bytes_ex(libctx, seed, qsize, 0) <= 0)
405 memcpy(buf, seed, qsize);
313 generate_q_fips186_4(BN_CTX *ctx, BIGNUM *q, const EVP_MD *evpmd, int qsize, unsigned char *seed, size_t seedlen, int generate_seed, int *retm, int *res, BN_GENCB *cb) argument
386 generate_q_fips186_2(BN_CTX *ctx, BIGNUM *q, const EVP_MD *evpmd, unsigned char *buf, unsigned char *seed, size_t qsize, int generate_seed, int *retm, int *res, BN_GENCB *cb) argument
525 int n = 0, m = 0, qsize; local
817 size_t qsize; local
[all...]
/netbsd-current/games/quiz/
H A Dquiz.c65 static unsigned qsize; variable
135 qsize = 0;
151 ++qsize;
236 if (qsize == 0)
238 next = random() % qsize;
245 qsize = next;
/netbsd-current/external/lgpl3/mpfr/dist/src/
H A Ddiv.c751 mp_size_t qsize; /* number of limbs wanted for the computed quotient */ local
1031 qsize = q0size + 1;
1033 qp = MPFR_TMP_LIMBS_ALLOC (qsize);
1037 qsize = q0size;
1040 qqsize = qsize + qsize;
1067 if (MPFR_LIKELY(vsize >= qsize))
1069 k = vsize - qsize;
1076 bp = MPFR_TMP_LIMBS_ALLOC (qsize);
1082 else /* vsize < qsize
[all...]
/netbsd-current/external/lgpl3/gmp/dist/tests/
H A Drefmpf.c383 mp_size_t nsize, dsize, sign, prec, qsize, tsize; local
403 qsize = prec + 2; /* at least prec+1 limbs, after high zero */
404 tsize = qsize + dsize - 1; /* dividend size to give desired qsize */
410 qp = refmpn_malloc_limbs (qsize);
413 ASSERT_ALWAYS (qsize == tsize - dsize + 1);
417 SIZ (want) = (sign >= 0 ? qsize : -qsize);
/netbsd-current/sys/dev/pci/
H A Dvioscsi.c120 int rv, qsize = 0, i = 0; local
166 qsize = sc->sc_vqs[VIOSCSI_VQ_REQUEST].vq_num;
167 if (vioscsi_alloc_reqs(sc, vsc, qsize))
171 "cmd_per_lun %u qsize %d seg_max %u max_target %hu"
173 cmd_per_lun, qsize, seg_max, max_target, max_lun);
186 adapt->adapt_openings = MIN(qsize, cmd_per_lun);
208 if (qsize > 0)
579 int qsize)
586 allocsize = qsize * sizeof(struct vioscsi_req);
606 sc->sc_nreqs = qsize;
578 vioscsi_alloc_reqs(struct vioscsi_softc *sc, struct virtio_softc *vsc, int qsize) argument
[all...]
H A Dld_virtio.c174 ld_virtio_alloc_reqs(struct ld_virtio_softc *sc, int qsize) argument
180 allocsize = sizeof(struct virtio_blk_req) * qsize;
200 for (i = 0; i < qsize; i++) {
242 for (i = 0; i < qsize; i++) {
269 int qsize; local
348 qsize = sc->sc_vq.vq_num;
374 ld->sc_maxqueuecnt = qsize - 1; /* reserve slot for dumps, flushes */
376 if (ld_virtio_alloc_reqs(sc, qsize) < 0)
633 int r, i, qsize; local
635 qsize
[all...]
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
H A Dquotearg.c618 size_t qsize = quotearg_buffer (val, size, arg, argsize, options); local
620 if (size <= qsize)
622 slotvec[n].size = size = qsize + 1;
/netbsd-current/external/gpl2/grep/dist/lib/
H A Dquotearg.c562 size_t qsize = quotearg_buffer (val, size, arg, (size_t) -1, options); local
564 if (size <= qsize)
566 slotvec[n].size = size = qsize + 1;
/netbsd-current/external/gpl2/xcvs/dist/lib/
H A Dquotearg.c611 size_t qsize = quotearg_buffer (val, size, arg, argsize, options); local
613 if (size <= qsize)
615 slotvec[n].size = size = qsize + 1;
/netbsd-current/external/bsd/ntp/dist/ntpq/
H A Dntpq.c1294 size_t qsize,
1307 if (qsize > CTL_MAX_DATA_LEN) {
1309 "***Internal error! qsize (%zu) too large\n",
1310 qsize);
1323 qpkt.count = htons((u_short)qsize);
1330 if (qsize > 0) {
1331 memcpy(&qpkt.u, qdata, (size_t)qsize);
1332 pktsize += qsize;
1334 qpkt.u.data[qsize++] = 0;
1352 qpkt.u.data[qsize
1290 sendrequest( int opcode, associd_t associd, int auth, size_t qsize, const char *qdata ) argument
1474 doquery( int opcode, associd_t associd, int auth, size_t qsize, const char *qdata, u_short *rstatus, size_t *rsize, const char **rdata ) argument
1495 doqueryex( int opcode, associd_t associd, int auth, size_t qsize, const char *qdata, u_short *rstatus, size_t *rsize, const char **rdata, int quiet ) argument
[all...]
/netbsd-current/external/bsd/ntp/dist/ntpdc/
H A Dntpdc.c879 size_t qsize,
897 datasize = qitems * qsize;
901 qpkt.mbz_itemsize = MBZ_ITEMSIZE(qsize);
904 qpkt.mbz_itemsize = MBZ_ITEMSIZE(qsize); /* allow for optional first item */
977 size_t qsize,
1020 res = sendrequest(implcode, reqcode, auth, qitems, qsize, qdata);
874 sendrequest( int implcode, int reqcode, int auth, size_t qitems, size_t qsize, const char *qdata ) argument
972 doquery( int implcode, int reqcode, int auth, size_t qitems, size_t qsize, const char *qdata, size_t *ritems, size_t *rsize, const char **rdata, int quiet_mask, int esize ) argument
/netbsd-current/sys/kern/
H A Dsubr_vmem.c421 const vmem_size_t qsize = size >> vm->vm_quantum_shift; local
422 const int idx = SIZE2ORDER(qsize);
425 KASSERT(qsize != 0);
445 const vmem_size_t qsize = size >> vm->vm_quantum_shift; local
446 int idx = SIZE2ORDER(qsize);
449 KASSERT(qsize != 0);
452 if (strat == VM_INSTANTFIT && ORDER2SIZE(idx) != qsize) {
H A Dtty.c229 tty_get_qsize(int *qsize, int newsize) argument
239 *qsize = newsize;
346 CTLTYPE_INT, "qsize",
/netbsd-current/external/bsd/ppp/usr.sbin/pppd/
H A Dsys-bsd.c225 int oqsize, qsize = 32768; local
231 if (oqsize >= qsize)
234 if (ioctl(fd, TIOCSQSIZE, &qsize) == -1)
236 oqsize, qsize);
239 qsize);
/netbsd-current/sys/dev/ic/
H A Dnvmereg.h162 uint16_t qsize; member in struct:nvme_sqe_q
H A Dnvme.c1655 htolem16(&sqe.qsize, q->q_entries - 1);
1671 htolem16(&sqe.qsize, q->q_entries - 1);
/netbsd-current/sys/arch/sparc/sparc/
H A Dlocore.s5662 clr %o3 ! qsize = 0;
5679 st %o3, [%o0 + FS_QSIZE] ! f->fs_qsize = qsize;
5704 std %fq, [%o1 + %o3] ! q[qsize++] = fsr_qfront();
5711 b Lfp_finish ! set qsize and finish storing fregs
5712 srl %o3, 3, %o3 ! (but first fix qsize)
/netbsd-current/external/gpl3/gcc.old/dist/gcc/fortran/
H A Dresolve.c8419 int insize, nmerges, psize, qsize, cmp, overlap_seen; local
8458 qsize = insize;
8461 while (psize > 0 || (qsize > 0 && q != NULL))
8469 qsize--;
8471 else if (qsize == 0 || q == NULL)
8495 qsize--;

Completed in 543 milliseconds

12