Lines Matching refs:qdiscs
21 struct Qdisc **qdiscs; member
36 if (priv->qdiscs) { in mqprio_destroy()
38 ntx < dev->num_tx_queues && priv->qdiscs[ntx]; in mqprio_destroy()
40 qdisc_put(priv->qdiscs[ntx]); in mqprio_destroy()
41 kfree(priv->qdiscs); in mqprio_destroy()
221 priv->qdiscs = kcalloc(dev->num_tx_queues, sizeof(priv->qdiscs[0]), in mqprio_init()
223 if (!priv->qdiscs) in mqprio_init()
235 priv->qdiscs[i] = qdisc; in mqprio_init()
298 qdisc = priv->qdiscs[ntx]; in mqprio_attach()
305 kfree(priv->qdiscs); in mqprio_attach()
306 priv->qdiscs = NULL; in mqprio_attach()