Home
last modified time | relevance | path

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

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