Lines Matching refs:q
44 struct Qdisc *q; member
76 *old = qdisc_replace(sch, new, &p->q); in dsmark_graft()
83 return p->q; in dsmark_leaf()
254 err = qdisc_enqueue(skb, p->q); in dsmark_enqueue()
262 sch->q.qlen++; in dsmark_enqueue()
279 skb = p->q->ops->dequeue(p->q); in dsmark_dequeue()
285 sch->q.qlen--; in dsmark_dequeue()
320 return p->q->ops->peek(p->q); in dsmark_peek()
330 if (p->q->ops->drop == NULL) in dsmark_drop()
333 len = p->q->ops->drop(p->q); in dsmark_drop()
335 sch->q.qlen--; in dsmark_drop()
383 p->q = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, sch->handle); in dsmark_init()
384 if (p->q == NULL) in dsmark_init()
385 p->q = &noop_qdisc; in dsmark_init()
387 pr_debug("%s: qdisc %p\n", __func__, p->q); in dsmark_init()
399 qdisc_reset(p->q); in dsmark_reset()
401 sch->q.qlen = 0; in dsmark_reset()
411 qdisc_destroy(p->q); in dsmark_destroy()
428 tcm->tcm_info = p->q->handle; in dsmark_dump_class()