Searched refs:qlen (Results 1 - 25 of 35) sorted by relevance

12

/freebsd-9.3-release/sys/dev/cxgb/sys/
H A Dmbufq.h38 uint32_t qlen; member in struct:mbuf_head
47 l->qlen = l->qsize = 0;
59 return (l->qlen);
77 l->qlen++;
98 l->qlen--;
118 a->qlen += b->qlen;
/freebsd-9.3-release/sys/dev/xen/netfront/
H A Dmbufq.h38 uint32_t qlen; member in struct:mbuf_head
47 l->qlen = l->qsize = 0;
59 return (l->qlen);
77 l->qlen++;
98 l->qlen--;
118 a->qlen += b->qlen;
/freebsd-9.3-release/sys/netgraph/bluetooth/include/
H A Dng_ubt.h72 int32_t qlen; /* queue length */ member in struct:__anon9874
H A Dng_bt3c.h87 int32_t qlen; /* queue length */ member in struct:__anon9654
/freebsd-9.3-release/sbin/pfctl/missing/altq/
H A Daltq_classq.h66 #define qlen(q) (q)->qlen_ /* Current queue length. */ macro
99 qlen(q)++;
113 qlen(q)--;
135 qlen(q)--;
154 n = random() % qlen(q) + 1;
163 qlen(q)--;
183 qlen(q)--;
H A Daltq_rio.h102 int qlen; /* queue length */ member in struct:rio::dropprec_state
/freebsd-9.3-release/sys/contrib/altq/altq/
H A Daltq_classq.h69 #define qlen(q) (q)->qlen_ /* Current queue length. */ macro
102 qlen(q)++;
116 qlen(q)--;
138 qlen(q)--;
157 n = random() % qlen(q) + 1;
166 qlen(q)--;
186 qlen(q)--;
H A Daltq_rio.h101 int qlen; /* queue length */ member in struct:rio::dropprec_state
H A Daltq_rmclass.c251 qlen(cl->q_) = 0;
811 if (qlen(cl->q_) > qlimit(cl->q_)) {
861 if (!cl->sleeping_ && (qlen(cl->q_) > cl->qthresh_))
1399 if ((qlen(cl->q_) <= 0) || TV_LT(nowp, &borrowed->undertime_)) {
1407 if ((qlen(cl->q_) <= 1) || TV_LT(&now, &borrowed->undertime_)) {
1444 ASSERT(qlen(cl->q_) > 0);
1737 qlen(q)++;
1750 ASSERT(qlen(q) == 1);
1753 qlen(q)--;
1772 ASSERT(qlen(
[all...]
H A Daltq_rio.c378 avg += (prec->qlen << FP_SHIFT) - (avg >> rp->rio_wshift);
392 if (avg >= prec->th_min_s && prec->qlen > 1) {
413 if (droptype == DTYPE_NODROP && qlen(q) >= qlimit(q))
432 rp->rio_precstate[i].qlen++;
462 if (--rp->rio_precstate[i].qlen == 0) {
599 qlen(rqp->rq_q) = 0;
650 q_stats->q_len[i] = rp->rio_precstate[i].qlen;
H A Daltq_red.c385 avg += (qlen(q) << FP_SHIFT) - (avg >> rp->red_wshift);
396 if (avg >= rp->red_thmin_s && qlen(q) > 1) {
427 if (droptype == DTYPE_NODROP && qlen(q) >= qlimit(q))
838 qlen(rqp->rq_q) = 0;
881 q_stats->q_len = qlen(rqp->rq_q);
/freebsd-9.3-release/sys/net80211/
H A Dieee80211_power.h71 struct mbuf *ieee80211_node_psq_dequeue(struct ieee80211_node *ni, int *qlen);
H A Dieee80211_power.c125 ieee80211_node_psq_dequeue(struct ieee80211_node *ni, int *qlen) argument
148 if (qlen != NULL)
149 *qlen = psq->psq_len;
178 int qlen; local
181 qlen = psq->psq_len;
197 return qlen;
325 int qlen, age; local
392 qlen = ++(psq->psq_len);
396 "save frame with age %d, %u now queued", age, qlen);
398 if (qlen
[all...]
/freebsd-9.3-release/usr.sbin/bluetooth/btpand/
H A Dchannel.c135 chan->qlen--;
153 assert(chan->qlen == 0);
178 while (chan->qlen > 0) {
192 chan->qlen--;
251 if (chan->qlen > CHANNEL_MAXQLEN)
266 if (chan->qlen > CHANNEL_MAXQLEN) {
284 chan->qlen++;
H A Dbtpand.h97 int qlen; member in struct:channel
/freebsd-9.3-release/sys/rpc/
H A Dtypes.h103 unsigned int qlen; member in struct:t_bind
H A Dsvc_generic.c167 bind.qlen = SOMAXCONN;
195 * NULL bindadr and Connection oriented transports, the value of qlen
263 solisten(so, (int)bindaddr->qlen, curthread);
/freebsd-9.3-release/contrib/gcc/
H A Dlcm.c105 unsigned int qlen;
127 qlen = n_basic_blocks - NUM_FIXED_BLOCKS;
135 while (qlen)
139 qlen--;
167 qlen++;
255 unsigned int qlen;
301 qlen = n_basic_blocks - NUM_FIXED_BLOCKS;
304 while (qlen)
309 qlen--;
331 qlen
104 unsigned int qlen; local
254 unsigned int qlen; local
481 unsigned int qlen; local
[all...]
/freebsd-9.3-release/tools/tools/net80211/w00t/expand/
H A Dexpand.c117 int qlen = 0; local
124 qlen++;
156 qlen++;
158 if (qlen > 5)
159 printf("Enque. Size: %d\n", qlen);
/freebsd-9.3-release/sys/dev/firewire/
H A Dfwcrom.c193 int i, qlen; local
215 qlen = textleaf->crc_len - 2;
216 if (len < qlen * 4)
217 qlen = len/4;
218 for (i = 0; i < qlen; i ++)
221 if (len <= qlen * 4)
224 buf[qlen * 4] = 0;
/freebsd-9.3-release/sys/dev/isp/
H A Dispvar.h150 #define ISP_NXT_QENTRY(idx, qlen) (((idx) + 1) & ((qlen)-1))
151 #define ISP_QFREE(in, out, qlen) \
152 ((in == out)? (qlen - 1) : ((in > out)? \
153 ((qlen - 1) - (in - out)) : (out - in - 1)))
/freebsd-9.3-release/tools/tools/net80211/w00t/redir/
H A Dredir.c158 int qlen = 0; local
165 qlen++;
198 qlen++;
200 if (qlen > 5)
201 printf("Enque. Size: %d\n", qlen);
/freebsd-9.3-release/sys/netgraph/bluetooth/drivers/bt3c/
H A Dng_bt3c_pccard.c153 { "qlen", &ng_parse_int32_type, },
449 ((ng_bt3c_node_qlen_ep *)(rsp->data))->qlen =
456 ((ng_bt3c_node_qlen_ep *)(rsp->data))->qlen =
473 if (((ng_bt3c_node_qlen_ep *)(msg->data))->qlen <= 0) {
481 (msg->data))->qlen; /* XXX */
486 (msg->data))->qlen; /* XXX */
/freebsd-9.3-release/sys/netgraph/bluetooth/drivers/h4/
H A Dng_h4.c783 int qlen; local
814 qlen = _IF_QLEN(&sc->outq);
819 * If qlen > 1, then we should already have a scheduled callout
822 if (qlen == 1) {
/freebsd-9.3-release/lib/libc/rpc/
H A Dsvc_generic.c183 * NULL bindadr and Connection oriented transports, the value of qlen
252 _listen(fd, (int)bindaddr->qlen);

Completed in 279 milliseconds

12