Searched refs:hprio (Results 1 – 3 of 3) sorted by relevance
146 struct htb_prio hprio[TC_HTB_NUMPRIO]; member371 htb_add_to_id_tree(&q->hlevel[cl->level].hprio[prio].row, cl, prio); in htb_add_class_to_row()404 struct htb_prio *hprio = &hlevel->hprio[prio]; in htb_remove_class_from_row() local407 if (hprio->ptr == cl->node + prio) in htb_remove_class_from_row()408 htb_next_rb_node(&hprio->ptr); in htb_remove_class_from_row()410 htb_safe_rb_erase(cl->node + prio, &hprio->row); in htb_remove_class_from_row()411 if (!hprio->row.rb_node) in htb_remove_class_from_row()815 static struct htb_class *htb_lookup_leaf(struct htb_prio *hprio, const int prio) in htb_lookup_leaf() argument824 if (unlikely(!hprio->row.rb_node)) in htb_lookup_leaf()827 sp->root = hprio->row.rb_node; in htb_lookup_leaf()[all …]
1096 struct slave *slave, *hprio = NULL; in bond_choose_primary_or_current() local1102 hprio = hprio ?: slave; in bond_choose_primary_or_current()1103 if (slave->prio > hprio->prio) in bond_choose_primary_or_current()1104 hprio = slave; in bond_choose_primary_or_current()1108 if (hprio && hprio != curr) { in bond_choose_primary_or_current()1109 prim = hprio; in bond_choose_primary_or_current()
2427 goto hprio; in npc_get_mcam_search_range_priority()2454 hprio: in npc_get_mcam_search_range_priority()