• Home
  • Raw
  • Download

Lines Matching refs:ntx

34 	unsigned int ntx;  in mqprio_destroy()  local
37 for (ntx = 0; in mqprio_destroy()
38 ntx < dev->num_tx_queues && priv->qdiscs[ntx]; in mqprio_destroy()
39 ntx++) in mqprio_destroy()
40 qdisc_put(priv->qdiscs[ntx]); in mqprio_destroy()
294 unsigned int ntx; in mqprio_attach() local
297 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in mqprio_attach()
298 qdisc = priv->qdiscs[ntx]; in mqprio_attach()
302 if (ntx < dev->real_num_tx_queues) in mqprio_attach()
335 unsigned long ntx = cl - 1; in mqprio_queue_get() local
337 if (ntx >= dev->num_tx_queues) in mqprio_queue_get()
339 return netdev_get_tx_queue(dev, ntx); in mqprio_queue_get()
412 unsigned int ntx, tc; in mqprio_dump() local
423 for (ntx = 0; ntx < dev->num_tx_queues; ntx++) { in mqprio_dump()
424 qdisc = netdev_get_tx_queue(dev, ntx)->qdisc_sleeping; in mqprio_dump()
494 unsigned int ntx = TC_H_MIN(classid); in mqprio_find() local
500 if (ntx < TC_H_MIN_PRIORITY) in mqprio_find()
501 return (ntx <= dev->num_tx_queues) ? ntx : 0; in mqprio_find()
507 return ((ntx - TC_H_MIN_PRIORITY) < netdev_get_num_tc(dev)) ? ntx : 0; in mqprio_find()
600 unsigned long ntx; in mqprio_walk() local
607 for (ntx = arg->skip; ntx < netdev_get_num_tc(dev); ntx++) { in mqprio_walk()
608 if (arg->fn(sch, ntx + TC_H_MIN_PRIORITY, arg) < 0) { in mqprio_walk()
616 if (ntx < TC_MAX_QUEUE) { in mqprio_walk()
618 ntx = TC_MAX_QUEUE; in mqprio_walk()
622 for (ntx -= TC_MAX_QUEUE; ntx < dev->num_tx_queues; ntx++) { in mqprio_walk()
623 if (arg->fn(sch, ntx + 1, arg) < 0) { in mqprio_walk()