Lines Matching refs:ntx
1058 unsigned int ntx; in htb_init() local
1123 for (ntx = 0; ntx < q->num_direct_qdiscs; ntx++) { in htb_init()
1124 struct netdev_queue *dev_queue = netdev_get_tx_queue(dev, ntx); in htb_init()
1135 q->direct_qdiscs[ntx] = qdisc; in htb_init()
1159 for (ntx = 0; ntx < q->num_direct_qdiscs && q->direct_qdiscs[ntx]; in htb_init()
1160 ntx++) in htb_init()
1161 qdisc_put(q->direct_qdiscs[ntx]); in htb_init()
1179 unsigned int ntx; in htb_attach_offload() local
1181 for (ntx = 0; ntx < q->num_direct_qdiscs; ntx++) { in htb_attach_offload()
1182 struct Qdisc *old, *qdisc = q->direct_qdiscs[ntx]; in htb_attach_offload()
1188 for (ntx = q->num_direct_qdiscs; ntx < dev->num_tx_queues; ntx++) { in htb_attach_offload()
1189 struct netdev_queue *dev_queue = netdev_get_tx_queue(dev, ntx); in htb_attach_offload()
1202 unsigned int ntx; in htb_attach_software() local
1205 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in htb_attach_software()
1206 struct netdev_queue *dev_queue = netdev_get_tx_queue(dev, ntx); in htb_attach_software()