Lines Matching refs:root
171 struct hfsc_class root; /* root class */
302 /* if root-class's cfmin is bigger than cur_time nothing to do */
1017 parent = &q->root;
1076 if (!(parent->cl_flags & HFSC_FSC) && parent != &q->root) {
1102 if (cl != &q->root)
1112 if (cl->level > 0 || cl->filter_cnt > 0 || cl == &q->root)
1144 head = &q->root;
1145 tcf = rcu_dereference_bh(q->root.filter_list);
1262 cl = &q->root;
1390 if (q->root.cl_cfmin != 0) {
1391 if (next_time == 0 || next_time > q->root.cl_cfmin)
1392 next_time = q->root.cl_cfmin;
1418 err = tcf_block_get(&q->root.block, &q->root.filter_list, sch, extack);
1422 q->root.cl_common.classid = sch->handle;
1423 q->root.sched = q;
1424 q->root.qdisc = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops,
1426 if (q->root.qdisc == NULL)
1427 q->root.qdisc = &noop_qdisc;
1429 qdisc_hash_add(q->root.qdisc, true);
1430 INIT_LIST_HEAD(&q->root.children);
1431 q->root.vt_tree = RB_ROOT;
1432 q->root.cf_tree = RB_ROOT;
1434 qdisc_class_hash_insert(&q->clhash, &q->root.cl_common);
1618 cl = vttree_get_minvt(&q->root, cur_time);