Lines Matching refs:qops
140 int register_qdisc(struct Qdisc_ops *qops)
147 if (!strcmp(qops->id, q->id))
150 if (qops->enqueue == NULL)
151 qops->enqueue = noop_qdisc_ops.enqueue;
152 if (qops->peek == NULL) {
153 if (qops->dequeue == NULL)
154 qops->peek = noop_qdisc_ops.peek;
158 if (qops->dequeue == NULL)
159 qops->dequeue = noop_qdisc_ops.dequeue;
161 if (qops->cl_ops) {
162 const struct Qdisc_class_ops *cops = qops->cl_ops;
171 qops->next = NULL;
172 *qp = qops;
184 int unregister_qdisc(struct Qdisc_ops *qops)
191 if (q == qops)