Lines Matching refs:_q
197 struct dn_queue _q;
291 qfq_new_queue(struct dn_queue *_q)
293 struct qfq_sched *q = (struct qfq_sched *)(_q->_si + 1);
294 struct qfq_class *cl = (struct qfq_class *)_q;
301 w = _q->fs->fs.par[0];
302 cl->lmax = _q->fs->fs.par[1];
322 qfq_free_queue(struct dn_queue *_q)
324 struct qfq_sched *q = (struct qfq_sched *)(_q->_si + 1);
325 struct qfq_class *cl = (struct qfq_class *)_q;
514 if (cl->_q.mq.head == NULL) {
520 len = cl->_q.mq.head->m_pkthdr.len;
552 m = dn_dequeue(&cl->_q);
634 qfq_enqueue(struct dn_sch_inst *si, struct dn_queue *_q, struct mbuf *m)
638 struct qfq_class *cl = (struct qfq_class *)_q;
644 _q, cl->inv_w, cl->grp->index);
646 if (m != _q->mq.head) {
647 if (dn_enqueue(_q, m, 0)) /* packet was dropped */
650 if (m != _q->mq.head)