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

12

/freebsd-11-stable/sys/netgraph/bluetooth/include/
H A Dng_ubt.h72 int32_t qlen; /* queue length */ member in struct:__anon12649
H A Dng_bt3c.h87 int32_t qlen; /* queue length */ member in struct:__anon12385
/freebsd-11-stable/sys/net/altq/
H A Daltq_classq.h72 #define qlen(q) (q)->qlen_ /* Current queue length. */ macro
107 qlen(q)++;
122 qlen(q)--;
145 qlen(q)--;
164 n = random() % qlen(q) + 1;
173 qlen(q)--;
193 qlen(q)--;
H A Daltq_rio.h102 int qlen; /* queue length */ member in struct:rio::dropprec_state
H A Daltq_rmclass.c252 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.c375 avg += (prec->qlen << FP_SHIFT) - (avg >> rp->rio_wshift);
389 if (avg >= prec->th_min_s && prec->qlen > 1) {
410 if (droptype == DTYPE_NODROP && qlen(q) >= qlimit(q))
429 rp->rio_precstate[i].qlen++;
459 if (--rp->rio_precstate[i].qlen == 0) {
596 qlen(rqp->rq_q) = 0;
647 q_stats->q_len[i] = rp->rio_precstate[i].qlen;
H A Daltq_codel.c121 qlen(cif->cl_q) = 0;
133 cif->cl_stats.qlength = qlen(cif->cl_q);
291 if (qlen(q) < qlimit(q)) {
/freebsd-11-stable/sys/netpfil/ipfw/
H A Ddn_aqm_pie.h110 drop_early(struct pie_status *pst, uint32_t qlen) argument
120 || qlen <= 2 * MEAN_PKTSIZE)
H A Ddn_aqm_pie.c482 uint32_t qlen; local
501 qlen = (f->flags & DN_QSIZE_BYTES) ?
505 if (qlen >= f->qsize)
523 if (!(pst->sflags & PIE_ACTIVE) && qlen >= pst->one_third_q_size) {
533 if ((pprms->flags & PIE_ON_OFF_MODE_ENABLED) && qlen<=0)
/freebsd-11-stable/usr.sbin/bluetooth/btpand/
H A Dchannel.c137 chan->qlen--;
155 assert(chan->qlen == 0);
180 while (chan->qlen > 0) {
194 chan->qlen--;
253 if (chan->qlen > CHANNEL_MAXQLEN)
268 if (chan->qlen > CHANNEL_MAXQLEN) {
286 chan->qlen++;
H A Dbtpand.h99 int qlen; member in struct:channel
/freebsd-11-stable/sys/net80211/
H A Dieee80211_power.h71 struct mbuf *ieee80211_node_psq_dequeue(struct ieee80211_node *ni, int *qlen);
H A Dieee80211_power.c130 ieee80211_node_psq_dequeue(struct ieee80211_node *ni, int *qlen) argument
153 if (qlen != NULL)
154 *qlen = psq->psq_len;
183 int qlen; local
186 qlen = psq->psq_len;
202 return qlen;
330 int qlen, age; local
397 qlen = ++(psq->psq_len);
401 "save frame with age %d, %u now queued", age, qlen);
403 if (qlen
[all...]
/freebsd-11-stable/sys/rpc/
H A Dtypes.h103 unsigned int qlen; member in struct:t_bind
H A Dsvc_generic.c171 bind.qlen = -1;
199 * NULL bindadr and Connection oriented transports, the value of qlen
267 solisten(so, (int)bindaddr->qlen, curthread);
/freebsd-11-stable/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-11-stable/tests/sys/auditpipe/
H A Dauditpipe_test.c50 int qlen = -1; local
52 ATF_REQUIRE_EQ(0, ioctl(filedesc, AUDITPIPE_GET_QLEN, &qlen));
53 ATF_REQUIRE(qlen != -1);
/freebsd-11-stable/sys/contrib/ipfilter/netinet/
H A Dip_dns_pxy.c237 ipf_p_dns_match_names(idns, query, qlen)
240 int qlen;
248 if (blen > qlen)
251 if (blen == qlen)
252 return strncasecmp(base, query, qlen);
268 return strncasecmp(base, query + qlen - blen, blen);
/freebsd-11-stable/sys/dev/ixl/
H A Di40e_lan_hmc.h54 u16 qlen; member in struct:i40e_hmc_obj_rxq
94 u16 qlen; member in struct:i40e_hmc_obj_txq
/freebsd-11-stable/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-11-stable/sys/dev/firewire/
H A Dfwcrom.c188 int i, qlen; local
210 qlen = textleaf->crc_len - 2;
211 if (len < qlen * 4)
212 qlen = len/4;
213 for (i = 0; i < qlen; i++)
216 if (len <= qlen * 4)
219 buf[qlen * 4] = 0;
/freebsd-11-stable/sys/dev/dpaa/
H A Dif_dtsec_rm.c404 unsigned int qlen; local
424 qlen = qman_fqr_get_counter(sc->sc_tx_conf_fqr, 0,
427 if (qlen == 0) {
541 unsigned int qlen, i; local
558 qlen = qman_fqr_get_counter(sc->sc_tx_fqr, 0,
561 if (qlen >= DTSEC_MAX_TX_QUEUE_LEN) {
/freebsd-11-stable/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-11-stable/sys/dev/isp/
H A Dispvar.h151 #define ISP_NXT_QENTRY(idx, qlen) (((idx) + 1) & ((qlen)-1))
152 #define ISP_QFREE(in, out, qlen) \
153 ((in == out)? (qlen - 1) : ((in > out)? \
154 ((qlen - 1) - (in - out)) : (out - in - 1)))
/freebsd-11-stable/contrib/apr-util/dbd/
H A Dapr_dbd.c373 size_t qlen; local
395 qlen = strlen(query) +
397 pq = apr_palloc(pool, qlen);
463 p += apr_snprintf(p, qlen - (p - pq), driver->pformat, ++i);

Completed in 228 milliseconds

12