Searched refs:qops (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/include/net/
H A Dpkt_sched.h87 int register_qdisc(struct Qdisc_ops *qops);
88 int unregister_qdisc(struct Qdisc_ops *qops);
/linux-4.4.14/net/sched/
H A Dsch_teql.c57 struct Qdisc_ops qops; member in struct:teql_master
447 struct Qdisc_ops *ops = &master->qops; teql_master_setup()
497 strlcpy(master->qops.id, dev->name, IFNAMSIZ); teql_init()
498 err = register_qdisc(&master->qops); teql_init()
519 unregister_qdisc(&master->qops); teql_exit()
H A Dsch_api.c140 int register_qdisc(struct Qdisc_ops *qops) register_qdisc() argument
147 if (!strcmp(qops->id, q->id)) register_qdisc()
150 if (qops->enqueue == NULL) register_qdisc()
151 qops->enqueue = noop_qdisc_ops.enqueue; register_qdisc()
152 if (qops->peek == NULL) { register_qdisc()
153 if (qops->dequeue == NULL) register_qdisc()
154 qops->peek = noop_qdisc_ops.peek; register_qdisc()
158 if (qops->dequeue == NULL) register_qdisc()
159 qops->dequeue = noop_qdisc_ops.dequeue; register_qdisc()
161 if (qops->cl_ops) { register_qdisc()
162 const struct Qdisc_class_ops *cops = qops->cl_ops; register_qdisc()
171 qops->next = NULL; register_qdisc()
172 *qp = qops; register_qdisc()
184 int unregister_qdisc(struct Qdisc_ops *qops) unregister_qdisc() argument
191 if (q == qops) unregister_qdisc()
/linux-4.4.14/drivers/media/v4l2-core/
H A Dvideobuf-vmalloc.c291 static struct videobuf_qtype_ops qops = { variable in typeref:struct:videobuf_qtype_ops
311 priv, &qops, ext_lock); videobuf_queue_vmalloc_init()
H A Dvideobuf-dma-contig.c343 static struct videobuf_qtype_ops qops = { variable in typeref:struct:videobuf_qtype_ops
362 priv, &qops, ext_lock); videobuf_queue_dma_contig_init()

Completed in 156 milliseconds