Lines Matching defs:hprio
146 struct htb_prio hprio[TC_HTB_NUMPRIO];
370 htb_add_to_id_tree(&q->hlevel[cl->level].hprio[prio].row, cl, prio);
403 struct htb_prio *hprio = &hlevel->hprio[prio];
406 if (hprio->ptr == cl->node + prio)
407 htb_next_rb_node(&hprio->ptr);
409 htb_safe_rb_erase(cl->node + prio, &hprio->row);
410 if (!hprio->row.rb_node)
809 * @hprio: the current one
814 static struct htb_class *htb_lookup_leaf(struct htb_prio *hprio, const int prio)
823 BUG_ON(!hprio->row.rb_node);
824 sp->root = hprio->row.rb_node;
825 sp->pptr = &hprio->ptr;
826 sp->pid = &hprio->last_ptr_id;
877 struct htb_prio *hprio = &hlevel->hprio[prio];
880 start = cl = htb_lookup_leaf(hprio, prio);
900 next = htb_lookup_leaf(hprio, prio);
914 &q->hlevel[0].hprio[prio].ptr);
915 cl = htb_lookup_leaf(hprio, prio);
925 &q->hlevel[0].hprio[prio].ptr);