Searched refs:qops (Results 1 – 6 of 6) sorted by relevance
| /linux/net/core/ |
| H A D | netdev_rx_queue.c | 28 const struct netdev_queue_mgmt_ops *qops = dev->queue_mgmt_ops; in netdev_rx_queue_reconfig() local 32 if (!qops || !qops->ndo_queue_stop || !qops->ndo_queue_mem_free || in netdev_rx_queue_reconfig() 33 !qops->ndo_queue_mem_alloc || !qops->ndo_queue_start) in netdev_rx_queue_reconfig() 38 new_mem = kvzalloc(qops->ndo_queue_mem_size, GFP_KERNEL); in netdev_rx_queue_reconfig() 42 old_mem = kvzalloc(qops->ndo_queue_mem_size, GFP_KERNEL); in netdev_rx_queue_reconfig() 48 err = qops->ndo_queue_mem_alloc(dev, qcfg_new, new_mem, rxq_idx); in netdev_rx_queue_reconfig() 57 err = qops->ndo_queue_stop(dev, old_mem, rxq_idx); in netdev_rx_queue_reconfig() 61 err = qops->ndo_queue_start(dev, qcfg_new, new_mem, rxq_idx); in netdev_rx_queue_reconfig() 68 qops->ndo_queue_mem_free(dev, old_mem); in netdev_rx_queue_reconfig() 83 if (qops->ndo_queue_start(dev, qcfg_old, old_mem, rxq_idx)) { in netdev_rx_queue_reconfig() [all …]
|
| /linux/net/sched/ |
| H A D | sch_teql.c | 53 struct Qdisc_ops qops; member 445 struct Qdisc_ops *ops = &master->qops; in teql_master_setup() 497 strscpy(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()
|
| H A D | sch_api.c | 133 int register_qdisc(struct Qdisc_ops *qops) in register_qdisc() argument 140 if (!strcmp(qops->id, q->id)) in register_qdisc() 143 if (qops->enqueue == NULL) in register_qdisc() 144 qops->enqueue = noop_qdisc_ops.enqueue; in register_qdisc() 145 if (qops->peek == NULL) { in register_qdisc() 146 if (qops->dequeue == NULL) in register_qdisc() 147 qops->peek = noop_qdisc_ops.peek; in register_qdisc() 151 if (qops->dequeue == NULL) in register_qdisc() 152 qops->dequeue = noop_qdisc_ops.dequeue; in register_qdisc() 154 if (qops->cl_ops) { in register_qdisc() [all …]
|
| /linux/include/net/ |
| H A D | pkt_sched.h | 95 int register_qdisc(struct Qdisc_ops *qops); 96 void unregister_qdisc(struct Qdisc_ops *qops);
|
| /linux/drivers/media/platform/mediatek/jpeg/ |
| H A D | mtk_jpeg_core.h | 74 const struct vb2_ops *qops; member
|
| H A D | mtk_jpeg_core.c | 1074 src_vq->ops = jpeg->variant->qops; in mtk_jpeg_queue_init() 1087 dst_vq->ops = jpeg->variant->qops; in mtk_jpeg_queue_init() 1874 .qops = &mtk_jpeg_dec_qops, 1889 .qops = &mtk_jpeg_enc_qops, 1903 .qops = &mtk_jpeg_enc_qops, 1916 .qops = &mtk_jpeg_dec_qops,
|