Lines Matching refs:q
39 struct Qdisc *q; member
71 *old = p->q; in dsmark_graft()
72 p->q = new; in dsmark_graft()
73 qdisc_tree_decrease_qlen(*old, (*old)->q.qlen); in dsmark_graft()
83 return p->q; in dsmark_leaf()
258 err = qdisc_enqueue(skb, p->q); in dsmark_enqueue()
265 sch->q.qlen++; in dsmark_enqueue()
282 skb = p->q->ops->dequeue(p->q); in dsmark_dequeue()
287 sch->q.qlen--; in dsmark_dequeue()
322 return p->q->ops->peek(p->q); in dsmark_peek()
332 if (p->q->ops->drop == NULL) in dsmark_drop()
335 len = p->q->ops->drop(p->q); in dsmark_drop()
337 sch->q.qlen--; in dsmark_drop()
385 p->q = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, sch->handle); in dsmark_init()
386 if (p->q == NULL) in dsmark_init()
387 p->q = &noop_qdisc; in dsmark_init()
389 pr_debug("%s: qdisc %p\n", __func__, p->q); in dsmark_init()
401 qdisc_reset(p->q); in dsmark_reset()
402 sch->q.qlen = 0; in dsmark_reset()
412 qdisc_destroy(p->q); in dsmark_destroy()
428 tcm->tcm_info = p->q->handle; in dsmark_dump_class()