Home
last modified time | relevance | path

Searched refs:hprio (Results 1 – 1 of 1) sorted by relevance

/linux-4.4.14/net/sched/
Dsch_htb.c147 struct htb_prio hprio[TC_HTB_NUMPRIO]; member
345 htb_add_to_id_tree(&q->hlevel[cl->level].hprio[prio].row, cl, prio); in htb_add_class_to_row()
375 struct htb_prio *hprio = &hlevel->hprio[prio]; in htb_remove_class_from_row() local
378 if (hprio->ptr == cl->node + prio) in htb_remove_class_from_row()
379 htb_next_rb_node(&hprio->ptr); in htb_remove_class_from_row()
381 htb_safe_rb_erase(cl->node + prio, &hprio->row); in htb_remove_class_from_row()
382 if (!hprio->row.rb_node) in htb_remove_class_from_row()
756 static struct htb_class *htb_lookup_leaf(struct htb_prio *hprio, const int prio) in htb_lookup_leaf() argument
765 BUG_ON(!hprio->row.rb_node); in htb_lookup_leaf()
766 sp->root = hprio->row.rb_node; in htb_lookup_leaf()
[all …]