Lines Matching refs:num_children

64 	if (!start_node->num_children ||  in ice_sched_find_node_by_teid()
70 for (i = 0; i < start_node->num_children; i++) in ice_sched_find_node_by_teid()
75 for (i = 0; i < start_node->num_children; i++) { in ice_sched_find_node_by_teid()
196 parent->children[parent->num_children++] = node; in ice_sched_add_node()
288 for (i = 0; i < pi->root->num_children; i++) in ice_sched_get_tc_node()
313 while (node->num_children) in ice_free_sched_node()
331 for (i = 0; i < parent->num_children; i++) in ice_free_sched_node()
333 for (j = i + 1; j < parent->num_children; j++) in ice_free_sched_node()
336 parent->num_children--; in ice_free_sched_node()
998 if ((parent->num_children + num_nodes) > max_child_nodes) { in ice_sched_add_nodes_to_hw_layer()
1060 if (parent->num_children < max_child_nodes) { in ice_sched_add_nodes_to_layer()
1061 new_num_nodes = max_child_nodes - parent->num_children; in ice_sched_add_nodes_to_layer()
1149 if (!node->num_children) in ice_rm_dflt_leaf_node()
1187 if (!node->num_children) in ice_sched_rm_dflt_nodes()
1408 for (i = 0; i < base->num_children; i++) { in ice_sched_find_node_in_subtree()
1447 min_children = qgrp_node->num_children; in ice_sched_get_free_qgrp()
1459 if (qgrp_node->num_children < min_children && in ice_sched_get_free_qgrp()
1463 min_children = min_qgrp->num_children; in ice_sched_get_free_qgrp()
1507 if (qgrp_node->num_children < max_children && in ice_sched_get_free_qparent()
1685 if (!tc_node->num_children || i == vsil) { in ice_sched_calc_vsi_support_nodes()
1694 if (node->num_children < pi->hw->max_children[i]) in ice_sched_calc_vsi_support_nodes()
1980 for (i = 0; i < node->num_children; i++) in ice_sched_is_leaf_node_present()
2028 while (j < vsi_node->num_children) { in ice_sched_rm_vsi_cfg()
2041 if (!vsi_node->num_children) { in ice_sched_rm_vsi_cfg()
2126 return (node->num_children < hw->max_children[l]) ? node : NULL; in ice_sched_get_free_vsi_parent()
2131 if (node->num_children < hw->max_children[l]) in ice_sched_get_free_vsi_parent()
2137 for (i = 0; i < node->num_children; i++) { in ice_sched_get_free_vsi_parent()
2167 for (i = 0; i < old_parent->num_children; i++) in ice_sched_update_parent()
2169 for (j = i + 1; j < old_parent->num_children; j++) in ice_sched_update_parent()
2172 old_parent->num_children--; in ice_sched_update_parent()
2177 new_parent->children[new_parent->num_children++] = node; in ice_sched_update_parent()
2208 if (parent->num_children + num_items > in ice_sched_move_nodes()
2289 for (i = 0; i < agg_node->num_children; i++) { in ice_sched_move_vsi_to_agg()
2382 for (i = 0; i < node->num_children; i++) in ice_sched_is_agg_inuse()
2387 return node->num_children ? true : false; in ice_sched_is_agg_inuse()
2427 if (parent->num_children > 1) in ice_sched_rm_agg_cfg()
2538 if (parent->num_children < hw->max_children[i]) in ice_sched_add_agg_cfg()
3686 node->num_children == 1) || in ice_sched_validate_srl_node()
3688 (node->parent && node->parent->num_children == 1))) in ice_sched_validate_srl_node()