Lines Matching refs:qops
130 int register_qdisc(struct Qdisc_ops *qops)
137 if (!strcmp(qops->id, q->id))
140 if (qops->enqueue == NULL)
141 qops->enqueue = noop_qdisc_ops.enqueue;
142 if (qops->peek == NULL) {
143 if (qops->dequeue == NULL)
144 qops->peek = noop_qdisc_ops.peek;
148 if (qops->dequeue == NULL)
149 qops->dequeue = noop_qdisc_ops.dequeue;
151 if (qops->cl_ops) {
152 const struct Qdisc_class_ops *cops = qops->cl_ops;
161 qops->next = NULL;
162 *qp = qops;
174 int unregister_qdisc(struct Qdisc_ops *qops)
181 if (q == qops)