Lines Matching refs:qops
128 int register_qdisc(struct Qdisc_ops *qops) in register_qdisc() argument
135 if (!strcmp(qops->id, q->id)) in register_qdisc()
138 if (qops->enqueue == NULL) in register_qdisc()
139 qops->enqueue = noop_qdisc_ops.enqueue; in register_qdisc()
140 if (qops->peek == NULL) { in register_qdisc()
141 if (qops->dequeue == NULL) in register_qdisc()
142 qops->peek = noop_qdisc_ops.peek; in register_qdisc()
146 if (qops->dequeue == NULL) in register_qdisc()
147 qops->dequeue = noop_qdisc_ops.dequeue; in register_qdisc()
149 if (qops->cl_ops) { in register_qdisc()
150 const struct Qdisc_class_ops *cops = qops->cl_ops; in register_qdisc()
159 qops->next = NULL; in register_qdisc()
160 *qp = qops; in register_qdisc()
172 int unregister_qdisc(struct Qdisc_ops *qops) in unregister_qdisc() argument
179 if (q == qops) in unregister_qdisc()