Lines Matching refs:dev_queue

1119 		struct netdev_queue *dev_queue = netdev_get_tx_queue(dev, ntx);  in htb_init()  local
1122 qdisc = qdisc_create_dflt(dev_queue, &pfifo_qdisc_ops, in htb_init()
1161 old = dev_graft_qdisc(qdisc->dev_queue, qdisc); in htb_attach_offload()
1166 struct netdev_queue *dev_queue = netdev_get_tx_queue(dev, ntx); in htb_attach_offload() local
1167 struct Qdisc *old = dev_graft_qdisc(dev_queue, NULL); in htb_attach_offload()
1183 struct netdev_queue *dev_queue = netdev_get_tx_queue(dev, ntx); in htb_attach_software() local
1184 struct Qdisc *old = dev_graft_qdisc(dev_queue, sch); in htb_attach_software()
1369 return sch->dev_queue; in htb_select_queue()
1382 htb_graft_helper(struct netdev_queue *dev_queue, struct Qdisc *new_q) in htb_graft_helper() argument
1384 struct net_device *dev = dev_queue->dev; in htb_graft_helper()
1389 old_q = dev_graft_qdisc(dev_queue, new_q); in htb_graft_helper()
1404 WARN_ON(cl->leaf.q->dev_queue != queue); in htb_offload_get_queue()
1428 cl_old->leaf.q->dev_queue = queue_new; in htb_offload_move_qdisc()
1444 struct netdev_queue *dev_queue = sch->dev_queue; in htb_graft() local
1453 dev_queue = htb_offload_get_queue(cl); in htb_graft()
1456 new = qdisc_create_dflt(dev_queue, &pfifo_qdisc_ops, in htb_graft()
1465 old_q = htb_graft_helper(dev_queue, new); in htb_graft()
1526 struct netdev_queue *dev_queue, in htb_parent_to_leaf_offload() argument
1534 old_q = htb_graft_helper(dev_queue, new_q); in htb_parent_to_leaf_offload()
1543 struct netdev_queue *dev_queue; in htb_destroy_class_offload() local
1552 dev_queue = htb_offload_get_queue(cl); in htb_destroy_class_offload()
1558 old = htb_graft_helper(dev_queue, NULL); in htb_destroy_class_offload()
1584 htb_graft_helper(dev_queue, old); in htb_destroy_class_offload()
1719 struct netdev_queue *dev_queue = sch->dev_queue; in htb_delete() local
1722 dev_queue = htb_offload_get_queue(cl); in htb_delete()
1724 new_q = qdisc_create_dflt(dev_queue, &pfifo_qdisc_ops, in htb_delete()
1728 htb_parent_to_leaf_offload(sch, dev_queue, new_q); in htb_delete()
1768 struct netdev_queue *dev_queue; in htb_change_class() local
1886 dev_queue = sch->dev_queue; in htb_change_class()
1907 dev_queue = netdev_get_tx_queue(dev, offload_opt.qid); in htb_change_class()
1909 dev_queue = htb_offload_get_queue(parent); in htb_change_class()
1910 old_q = htb_graft_helper(dev_queue, NULL); in htb_change_class()
1927 htb_graft_helper(dev_queue, old_q); in htb_change_class()
1935 new_q = qdisc_create_dflt(dev_queue, &pfifo_qdisc_ops, in htb_change_class()
1941 old_q = htb_graft_helper(dev_queue, new_q); in htb_change_class()
1966 cl->leaf.offload_queue = dev_queue; in htb_change_class()