| /src/sys/dev/pci/cxgb/ |
| cxgb_mbuf.h | 38 uint32_t qlen; member in struct:mbuf_head 57 return (l->qlen); 64 l->qlen++; 79 l->qlen--;
|
| /src/sys/dev/raidframe/ |
| rf_sstf.c | 56 #define QSUM(_sstfq_) (((_sstfq_)->lopri.qlen)+((_sstfq_)->left.qlen)+((_sstfq_)->right.qlen)) 123 (_q_)->qlen--; \ 124 if ((_q_)->qlen == 0) { \ 140 (_q_)->qlen--; \ 141 if ((_q_)->qlen == 0) { \ 297 sstfq->left.qlen, sstfq->right.qlen, 298 sstfq->lopri.qlen); [all...] |
| rf_sstf.h | 37 int qlen; member in struct:RF_SstfQ_s
|
| /src/sys/altq/ |
| altq_classq.h | 72 #define qlen(q) (q)->qlen_ /* Current queue length. */ macro 105 qlen(q)++; 119 qlen(q)--; 141 qlen(q)--; 160 n = cprng_fast32() % qlen(q) + 1; 169 qlen(q)--; 189 qlen(q)--;
|
| altq_rio.h | 102 int qlen; /* queue length */ member in struct:rio::dropprec_state
|
| altq_rmclass.c | 253 qlen(cl->q_) = 0; 803 if (qlen(cl->q_) > qlimit(cl->q_)) { 853 if (!cl->sleeping_ && (qlen(cl->q_) > cl->qthresh_)) 1399 if ((qlen(cl->q_) <= 0) || TS_LT(nowp, &borrowed->undertime_)) { 1407 if ((qlen(cl->q_) <= 1) || TS_LT(&now, &borrowed->undertime_)) { 1444 ASSERT(qlen(cl->q_) > 0); 1737 qlen(q)++; 1750 ASSERT(qlen(q) == 1); 1753 qlen(q)--; 1772 ASSERT(qlen(q) == 1) [all...] |
| altq_rio.c | 369 avg += (prec->qlen << FP_SHIFT) - (avg >> rp->rio_wshift); 383 if (avg >= prec->th_min_s && prec->qlen > 1) { 404 if (droptype == DTYPE_NODROP && qlen(q) >= qlimit(q)) 423 rp->rio_precstate[i].qlen++; 453 if (--rp->rio_precstate[i].qlen == 0) { 562 qlen(rqp->rq_q) = 0; 613 q_stats->q_len[i] = rp->rio_precstate[i].qlen;
|
| altq_blue.c | 226 qlen(rqp->rq_q) = 0; 271 q_stats->q_len = qlen(rqp->rq_q); 442 if (drop_early(rp) && qlen(q) > 1) { 459 if (droptype == DTYPE_NODROP && qlen(q) >= qlimit(q))
|
| altq_red.c | 395 avg += (qlen(q) << FP_SHIFT) - (avg >> rp->red_wshift); 406 if (avg >= rp->red_thmin_s && qlen(q) > 1) { 437 if (droptype == DTYPE_NODROP && qlen(q) >= qlimit(q)) 828 qlen(rqp->rq_q) = 0; 871 q_stats->q_len = qlen(rqp->rq_q);
|
| altq_priq.c | 333 qlen(cl->cl_q) = 0; 533 if (qlen(cl->cl_q) >= qlimit(cl->cl_q)) { 578 ASSERT(qlen(cl->cl_q) == 0); 585 sp->qlength = qlen(cl->cl_q);
|
| altq_hfsc.c | 419 qlen(cl->cl_q) = 0; 719 if (qlen(cl->cl_q) == 1) 847 if (qlen(cl->cl_q) >= qlimit(cl->cl_q)) { 894 ASSERT(qlen(cl->cl_q) == 0); 1670 sp->qlength = qlen(cl->cl_q);
|
| /src/usr.sbin/btpand/ |
| channel.c | 131 chan->qlen--; 144 assert(chan->qlen == 0); 162 while (chan->qlen > 0) { 176 chan->qlen--; 235 if (chan->qlen > CHANNEL_MAXQLEN) 250 if (chan->qlen > CHANNEL_MAXQLEN) { 268 chan->qlen++;
|
| btpand.h | 81 int qlen; member in struct:channel
|
| /src/common/include/rpc/ |
| types.h | 104 unsigned int qlen; member in struct:t_bind
|
| /src/sys/external/bsd/ipf/netinet/ |
| ip_dns_pxy.c | 228 ipf_p_dns_match_names(ipf_dns_filter_t *idns, char *query, int qlen) 236 if (blen > qlen) 239 if (blen == qlen) 240 return strncasecmp(base, query, qlen); 256 return strncasecmp(base, query + qlen - blen, blen);
|
| /src/sys/dev/ieee1394/ |
| fwcrom.c | 174 int i, qlen; local in function:crom_parse_text 202 qlen = textleaf->crc_len - 2; 203 if (len < qlen * 4) 204 qlen = len/4; 205 for (i = 0; i < qlen; i++) 208 if (len <= qlen * 4) 211 buf[qlen * 4] = 0;
|
| /src/libexec/identd/ |
| identd.c | 337 size_t qlen; local in function:idhandle 365 qlen = 0; 367 if ((n = recv(fd, &buf[qlen], sizeof(buf) - qlen, 0)) < 0) { 379 qlen += n; 380 if (qlen >= sizeof(buf)) { 384 if ((qlen >= 2) && (buf[qlen - 2] == '\r') && 385 (buf[qlen - 1] == '\n')) 388 buf[qlen - 2] = '\0' [all...] |
| /src/usr.sbin/rpc.pcnfsd/ |
| pcnfsd.x | 384 int qlen; 411 int qlen;
|
| pcnfsd_print.c | 883 get_pr_status(printername pn, bool_t *avail, bool_t *printing, int *qlen, bool_t *needs_operator, char *status, size_t statuslen) 895 *qlen = 0; 941 get_pr_status(printername pn, bool_t *avail, bool_t *printing, int *qlen, bool_t *needs_operator, char *status, size_t statuslen) 958 *qlen = 0; 1018 *qlen = atoi(buff2);
|
| pcnfsd_test.c | 384 printf("results: stat = %d, qlen = %d, qshown = %d cm = '%s', queue:\n", 385 rp->stat, rp->qlen, rp->qshown, rp->cm); 460 printf("qlen = %d, status = '%s'\n", rp->qlen, rp->status);
|
| pcnfsd_v2.c | 211 arg->just_mine, &res.qlen, &res.qshown); 227 &res.qlen, &res.needs_operator, &status[0], sizeof(status));
|
| /src/sys/dev/ic/ |
| ispvar.h | 178 #define ISP_NXT_QENTRY(idx, qlen) (((idx) + 1) & ((qlen)-1)) 179 #define ISP_QFREE(in, out, qlen) \ 180 ((in == out)? (qlen - 1) : ((in > out)? \ 181 ((qlen - 1) - (in - out)) : (out - in - 1)))
|
| /src/sys/dev/usb/ |
| if_urndis.c | 492 void *qbuf, size_t qlen, 499 msg = kmem_alloc(sizeof(*msg) + qlen, KM_SLEEP); 501 msg->rm_len = htole32(sizeof(*msg) + qlen); 504 msg->rm_infobuflen = htole32(qlen); 505 if (qlen != 0) { 507 memcpy((char*)msg + 20, qbuf, qlen); 524 kmem_free(msg, sizeof(*msg) + qlen);
|
| /src/lib/libc/net/ |
| gethnamaddr.c | 220 size_t qlen; local in function:getanswer 498 qlen = (n + 1) * sizeof(*hent->h_aliases); 499 if ((size_t)(ep - bp) < qlen) 502 memcpy(bp, aliases, qlen); 506 bp += qlen; 508 qlen = (n + 1) * sizeof(*hent->h_addr_list); 509 if ((size_t)(ep - bp) < qlen) 512 memcpy(bp, addr_ptrs, qlen);
|
| /src/lib/libc/rpc/ |
| svc_generic.c | 192 * NULL bindadr and Connection oriented transports, the value of qlen 266 listen(fd, (int)bindaddr->qlen) == -1) {
|