Lines Matching refs:ntx
56 unsigned int ntx; in mq_destroy() local
62 for (ntx = 0; ntx < dev->num_tx_queues && priv->qdiscs[ntx]; ntx++) in mq_destroy()
63 qdisc_put(priv->qdiscs[ntx]); in mq_destroy()
74 unsigned int ntx; in mq_init() local
88 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in mq_init()
89 dev_queue = netdev_get_tx_queue(dev, ntx); in mq_init()
90 qdisc = qdisc_create_dflt(dev_queue, get_default_qdisc_ops(dev, ntx), in mq_init()
92 TC_H_MIN(ntx + 1)), in mq_init()
96 priv->qdiscs[ntx] = qdisc; in mq_init()
111 unsigned int ntx; in mq_attach() local
113 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in mq_attach()
114 qdisc = priv->qdiscs[ntx]; in mq_attach()
119 if (ntx < dev->real_num_tx_queues) in mq_attach()
155 unsigned int ntx; in mq_dump() local
167 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in mq_dump()
168 qdisc = netdev_get_tx_queue(dev, ntx)->qdisc_sleeping; in mq_dump()
200 unsigned long ntx = cl - 1; in mq_queue_get() local
202 if (ntx >= dev->num_tx_queues) in mq_queue_get()
204 return netdev_get_tx_queue(dev, ntx); in mq_queue_get()
248 unsigned int ntx = TC_H_MIN(classid); in mq_find() local
250 if (!mq_queue_get(sch, ntx)) in mq_find()
252 return ntx; in mq_find()
282 unsigned int ntx; in mq_walk() local
288 for (ntx = arg->skip; ntx < dev->num_tx_queues; ntx++) { in mq_walk()
289 if (arg->fn(sch, ntx + 1, arg) < 0) { in mq_walk()