Lines Matching refs:qlen
40 u16 qlen; /* length of virtual queue */ member
132 if (b[hash].qlen < 0xFFFF) in increment_one_qlen()
133 b[hash].qlen++; in increment_one_qlen()
161 if (b[hash].qlen > 0) in decrement_one_qlen()
162 b[hash].qlen--; in decrement_one_qlen()
201 u32 qlen = 0, prob = 0, totalpm = 0; in sfb_compute_qlen() local
205 if (qlen < b->qlen) in sfb_compute_qlen()
206 qlen = b->qlen; in sfb_compute_qlen()
214 return qlen; in sfb_compute_qlen()
293 if (unlikely(sch->q.qlen >= q->limit)) { in sfb_enqueue()
333 if (b->qlen == 0) in sfb_enqueue()
335 else if (b->qlen >= q->bin_size) in sfb_enqueue()
337 if (minqlen > b->qlen) in sfb_enqueue()
338 minqlen = b->qlen; in sfb_enqueue()
366 if (b->qlen == 0) in sfb_enqueue()
368 else if (b->qlen >= q->bin_size) in sfb_enqueue()
405 sch->q.qlen++; in sfb_enqueue()
434 sch->q.qlen--; in sfb_dequeue()
457 sch->q.qlen = 0; in sfb_reset()