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

123

/netbsd-current/sys/dev/pci/cxgb/
H A Dcxgb_mbuf.h38 uint32_t qlen; member in struct:mbuf_head
57 return (l->qlen);
64 l->qlen++;
79 l->qlen--;
/netbsd-current/sys/dev/raidframe/
H A Drf_sstf.c56 #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...]
H A Drf_sstf.h37 int qlen; member in struct:RF_SstfQ_s
/netbsd-current/sys/altq/
H A Daltq_classq.h70 #define qlen(q) (q)->qlen_ /* Current queue length. */ macro
103 qlen(q)++;
117 qlen(q)--;
139 qlen(q)--;
158 n = random() % qlen(q) + 1;
167 qlen(q)--;
187 qlen(q)--;
H A Daltq_rio.h102 int qlen; /* queue length */ member in struct:rio::dropprec_state
H A Daltq_rmclass.c253 qlen(cl->q_) = 0;
803 if (qlen(cl->q_) > qlimit(cl->q_)) {
853 if (!cl->sleeping_ && (qlen(cl->q_) > cl->qthresh_))
1395 if ((qlen(cl->q_) <= 0) || TS_LT(nowp, &borrowed->undertime_)) {
1403 if ((qlen(cl->q_) <= 1) || TS_LT(&now, &borrowed->undertime_)) {
1440 ASSERT(qlen(cl->q_) > 0);
1733 qlen(q)++;
1746 ASSERT(qlen(q) == 1);
1749 qlen(q)--;
1768 ASSERT(qlen(
[all...]
H A Daltq_rio.c369 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;
H A Daltq_blue.c226 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))
/netbsd-current/usr.sbin/btpand/
H A Dchannel.c131 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++;
H A Dbtpand.h81 int qlen; member in struct:channel
/netbsd-current/external/bsd/unbound/dist/ipset/
H A Dipset.c141 const char *qname, const int qlen, const char *setname, int af)
164 if (qlen == plen || (qlen > plen && qname[qlen - plen - 1] == '.' )) {
165 qs = qname + (qlen - plen);
187 int qlen; local
199 qlen = sldns_wire2str_dname_buf(qinfo.qname, qinfo.qname_len,
201 if(qlen == 0) {
221 qname, qlen, setname, af) == -1)
139 ipset_check_zones_for_rrset(struct module_env *env, struct ipset_env *ie, struct mnl_socket *mnl, struct ub_packed_rrset_key *rrset, const char *qname, const int qlen, const char *setname, int af) argument
/netbsd-current/common/include/rpc/
H A Dtypes.h104 unsigned int qlen; member in struct:t_bind
/netbsd-current/external/bsd/ipf/dist/
H A Dip_dns_pxy.c240 ipf_p_dns_match_names(idns, query, qlen)
243 int qlen;
251 if (blen > qlen)
254 if (blen == qlen)
255 return strncasecmp(base, query, qlen);
271 return strncasecmp(base, query + qlen - blen, blen);
/netbsd-current/sys/external/bsd/ipf/netinet/
H A Dip_dns_pxy.c228 ipf_p_dns_match_names(ipf_dns_filter_t *idns, char *query, int qlen) argument
236 if (blen > qlen)
239 if (blen == qlen)
240 return strncasecmp(base, query, qlen);
256 return strncasecmp(base, query + qlen - blen, blen);
/netbsd-current/external/gpl3/gcc.old/dist/gcc/
H A Dlcm.c90 unsigned int qlen;
116 qlen = n_basic_blocks_for_fn (cfun) - NUM_FIXED_BLOCKS;
124 while (qlen)
128 qlen--;
156 qlen++;
238 unsigned int qlen;
290 qlen = n_basic_blocks_for_fn (cfun) - NUM_FIXED_BLOCKS;
293 while (qlen)
298 qlen--;
320 qlen
89 unsigned int qlen; local
237 unsigned int qlen; local
499 unsigned int qlen; local
[all...]
/netbsd-current/external/gpl3/gcc/dist/gcc/
H A Dlcm.cc90 unsigned int qlen;
116 qlen = n_basic_blocks_for_fn (cfun) - NUM_FIXED_BLOCKS;
124 while (qlen)
128 qlen--;
156 qlen++;
238 unsigned int qlen;
290 qlen = n_basic_blocks_for_fn (cfun) - NUM_FIXED_BLOCKS;
293 while (qlen)
298 qlen--;
320 qlen
89 unsigned int qlen; local
237 unsigned int qlen; local
499 unsigned int qlen; local
[all...]
/netbsd-current/external/bsd/unbound/dist/testcode/
H A Dtestpkts.c1249 match_question(uint8_t* q, size_t qlen, uint8_t* p, size_t plen, int mttl) argument
1255 qb = memdup(q, qlen);
1259 zerottls(qb, qlen);
1262 lowercase_pkt(qb, qlen);
1264 qstr = sldns_wire2str_pkt(qb, qlen);
1316 match_answer(uint8_t* q, size_t qlen, uint8_t* p, size_t plen, int mttl) argument
1322 qb = memdup(q, qlen);
1326 zerottls(qb, qlen);
1329 lowercase_pkt(qb, qlen);
1331 qstr = sldns_wire2str_pkt(qb, qlen);
1399 match_all(uint8_t* q, size_t qlen, uint8_t* p, size_t plen, int mttl, int noloc, int noedns) argument
1455 equal_dname(uint8_t* q, size_t qlen, uint8_t* p, size_t plen) argument
1471 subdomain_dname(uint8_t* q, size_t qlen, uint8_t* p, size_t plen) argument
1509 match_ednsdata(uint8_t* q, size_t qlen, uint8_t* p, size_t plen) argument
[all...]
H A Dtestpkts.h293 * @param qlen: length of q.
302 int match_all(uint8_t* q, size_t qlen, uint8_t* p, size_t plen, int mttl,
/netbsd-current/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Ddmangle.c703 size_t qlen; local
712 qlen = e->len;
727 qlen = tmp.offset;
741 qlen = tmp.offset;
747 buf->reserve(1 + 11 + 2 * qlen);
749 buf->print(qlen);
752 for (utf8_t *p = (utf8_t *)buf->data + buf->offset, *pend = p + 2 * qlen;
760 buf->offset += 2 * qlen;
/netbsd-current/sys/dev/ieee1394/
H A Dfwcrom.c174 int i, qlen; local
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;
/netbsd-current/libexec/identd/
H A Didentd.c337 size_t qlen; local
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
[all...]
/netbsd-current/usr.sbin/rpc.pcnfsd/
H A Dpcnfsd.x384 int qlen;
411 int qlen;
/netbsd-current/sys/dev/ic/
H A Dispvar.h178 #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)))
/netbsd-current/sys/dev/usb/
H A Dif_urndis.c492 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);
491 urndis_ctrl_query(struct usbnet *un, uint32_t oid, void *qbuf, size_t qlen, void **rbuf, size_t *rbufsz) argument
/netbsd-current/external/bsd/am-utils/dist/conf/transp/
H A Dtransp_tli.c118 treq->qlen = 64; /* 0 is ok for udp, for tcp you need qlen>0 */
369 treq->qlen = 64; /* 0 is ok for udp, for tcp you need qlen>0 */
503 treq->qlen = 64; /* must be greater than 0 to work for TCP connections */
824 * qlen should not be zero for TCP connections. It's not clear what it
828 tbp->qlen = 64;

Completed in 344 milliseconds

123