Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/sched/
H A Dsch_htb.c145 struct htb_prio hprio[TC_HTB_NUMPRIO]; member
350 htb_add_to_id_tree(&q->hlevel[cl->level].hprio[prio].row, cl, prio); in htb_add_class_to_row()
380 struct htb_prio *hprio = &hlevel->hprio[prio]; in htb_remove_class_from_row() local
383 if (hprio->ptr == cl->node + prio) in htb_remove_class_from_row()
384 htb_next_rb_node(&hprio->ptr); in htb_remove_class_from_row()
386 htb_safe_rb_erase(cl->node + prio, &hprio->row); in htb_remove_class_from_row()
387 if (!hprio->row.rb_node) in htb_remove_class_from_row()
769 static struct htb_class *htb_lookup_leaf(struct htb_prio *hprio, const int prio) in htb_lookup_leaf() argument
778 BUG_ON(!hprio in htb_lookup_leaf()
832 struct htb_prio *hprio = &hlevel->hprio[prio]; htb_dequeue_tree() local
[all...]
/kernel/linux/linux-6.6/net/sched/
H A Dsch_htb.c146 struct htb_prio hprio[TC_HTB_NUMPRIO]; member
370 htb_add_to_id_tree(&q->hlevel[cl->level].hprio[prio].row, cl, prio); in htb_add_class_to_row()
403 struct htb_prio *hprio = &hlevel->hprio[prio]; in htb_remove_class_from_row() local
406 if (hprio->ptr == cl->node + prio) in htb_remove_class_from_row()
407 htb_next_rb_node(&hprio->ptr); in htb_remove_class_from_row()
409 htb_safe_rb_erase(cl->node + prio, &hprio->row); in htb_remove_class_from_row()
410 if (!hprio->row.rb_node) in htb_remove_class_from_row()
809 * @hprio: the current one
814 static struct htb_class *htb_lookup_leaf(struct htb_prio *hprio, cons argument
877 struct htb_prio *hprio = &hlevel->hprio[prio]; htb_dequeue_tree() local
[all...]
/kernel/linux/linux-6.6/drivers/net/bonding/
H A Dbond_main.c1047 struct slave *slave, *hprio = NULL; in bond_choose_primary_or_current() local
1053 hprio = hprio ?: slave; in bond_choose_primary_or_current()
1054 if (slave->prio > hprio->prio) in bond_choose_primary_or_current()
1055 hprio = slave; in bond_choose_primary_or_current()
1059 if (hprio && hprio != curr) { in bond_choose_primary_or_current()
1060 prim = hprio; in bond_choose_primary_or_current()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc.c1474 goto hprio; in npc_get_mcam_search_range_priority()
1477 * - If reference entry is not in hprio zone then in npc_get_mcam_search_range_priority()
1479 * - If reference entry is in hprio zone and if in npc_get_mcam_search_range_priority()
1480 * request can be accomodated in non-hprio zone then in npc_get_mcam_search_range_priority()
1482 * - else search in reverse, so that less number of hprio in npc_get_mcam_search_range_priority()
1501 hprio: in npc_get_mcam_search_range_priority()
1503 * in reverse to preserve hprio zone entries. in npc_get_mcam_search_range_priority()
1584 /* Expand search zone from half of hprio zone to in npc_mcam_alloc_entries()
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc.c2423 goto hprio; in npc_get_mcam_search_range_priority()
2426 * - If reference entry is not in hprio zone then in npc_get_mcam_search_range_priority()
2428 * - If reference entry is in hprio zone and if in npc_get_mcam_search_range_priority()
2429 * request can be accomodated in non-hprio zone then in npc_get_mcam_search_range_priority()
2431 * - else search in reverse, so that less number of hprio in npc_get_mcam_search_range_priority()
2450 hprio: in npc_get_mcam_search_range_priority()
2452 * in reverse to preserve hprio zone entries. in npc_get_mcam_search_range_priority()
2544 /* Expand search zone from half of hprio zone to in npc_mcam_alloc_entries()

Completed in 20 milliseconds