Lines Matching refs:qgrp_node
1292 struct ice_sched_node *qgrp_node, u8 owner) in ice_sched_get_free_qgrp() argument
1297 if (!qgrp_node) in ice_sched_get_free_qgrp()
1298 return qgrp_node; in ice_sched_get_free_qgrp()
1299 min_children = qgrp_node->num_children; in ice_sched_get_free_qgrp()
1301 return qgrp_node; in ice_sched_get_free_qgrp()
1302 min_qgrp = qgrp_node; in ice_sched_get_free_qgrp()
1308 while (qgrp_node) { in ice_sched_get_free_qgrp()
1310 if (ice_sched_find_node_in_subtree(pi->hw, vsi_node, qgrp_node)) in ice_sched_get_free_qgrp()
1311 if (qgrp_node->num_children < min_children && in ice_sched_get_free_qgrp()
1312 qgrp_node->owner == owner) { in ice_sched_get_free_qgrp()
1314 min_qgrp = qgrp_node; in ice_sched_get_free_qgrp()
1320 qgrp_node = qgrp_node->sibling; in ice_sched_get_free_qgrp()
1338 struct ice_sched_node *vsi_node, *qgrp_node; in ice_sched_get_free_qparent() local
1355 qgrp_node = ice_sched_get_first_node(pi, vsi_node, qgrp_layer); in ice_sched_get_free_qparent()
1356 while (qgrp_node) { in ice_sched_get_free_qparent()
1358 if (ice_sched_find_node_in_subtree(pi->hw, vsi_node, qgrp_node)) in ice_sched_get_free_qparent()
1359 if (qgrp_node->num_children < max_children && in ice_sched_get_free_qparent()
1360 qgrp_node->owner == owner) in ice_sched_get_free_qparent()
1362 qgrp_node = qgrp_node->sibling; in ice_sched_get_free_qparent()
1366 return ice_sched_get_free_qgrp(pi, vsi_node, qgrp_node, owner); in ice_sched_get_free_qparent()