Lines Matching refs:root
259 static struct Qdisc *qdisc_match_from_root(struct Qdisc *root, u32 handle) in qdisc_match_from_root() argument
263 if (!(root->flags & TCQ_F_BUILTIN) && in qdisc_match_from_root()
264 root->handle == handle) in qdisc_match_from_root()
265 return root; in qdisc_match_from_root()
267 list_for_each_entry(q, &root->list, list) { in qdisc_match_from_root()
277 struct Qdisc *root = qdisc_dev(q)->qdisc; in qdisc_list_add() local
279 WARN_ON_ONCE(root == &noop_qdisc); in qdisc_list_add()
280 list_add_tail(&q->list, &root->list); in qdisc_list_add()
1423 static int tc_dump_qdisc_root(struct Qdisc *root, struct sk_buff *skb, in tc_dump_qdisc_root() argument
1430 if (!root) in tc_dump_qdisc_root()
1433 q = root; in tc_dump_qdisc_root()
1443 list_for_each_entry(q, &root->list, list) { in tc_dump_qdisc_root()
1754 static int tc_dump_tclass_root(struct Qdisc *root, struct sk_buff *skb, in tc_dump_tclass_root() argument
1760 if (!root) in tc_dump_tclass_root()
1763 if (tc_dump_tclass_qdisc(root, skb, tcm, cb, t_p, s_t) < 0) in tc_dump_tclass_root()
1766 list_for_each_entry(q, &root->list, list) { in tc_dump_tclass_root()