Lines Matching refs:ops
361 .ops = &noop_qdisc_ops,
388 .ops = &noqueue_qdisc_ops,
533 struct Qdisc_ops *ops) in qdisc_alloc() argument
537 unsigned int size = QDISC_ALIGN(sizeof(*sch)) + ops->priv_size; in qdisc_alloc()
564 sch->ops = ops; in qdisc_alloc()
565 sch->enqueue = ops->enqueue; in qdisc_alloc()
566 sch->dequeue = ops->dequeue; in qdisc_alloc()
577 struct Qdisc_ops *ops, unsigned int parentid) in qdisc_create_dflt() argument
581 sch = qdisc_alloc(dev_queue, ops); in qdisc_create_dflt()
586 if (!ops->init || ops->init(sch, NULL) == 0) in qdisc_create_dflt()
599 const struct Qdisc_ops *ops = qdisc->ops; in qdisc_reset() local
601 if (ops->reset) in qdisc_reset()
602 ops->reset(qdisc); in qdisc_reset()
621 const struct Qdisc_ops *ops = qdisc->ops; in qdisc_destroy() local
633 if (ops->reset) in qdisc_destroy()
634 ops->reset(qdisc); in qdisc_destroy()
635 if (ops->destroy) in qdisc_destroy()
636 ops->destroy(qdisc); in qdisc_destroy()
638 module_put(ops->owner); in qdisc_destroy()
709 qdisc->ops->attach(qdisc); in attach_default_qdiscs()