Lines Matching refs:curr
1474 struct aggregator *curr) in ad_agg_selection_test() argument
1501 return curr; in ad_agg_selection_test()
1503 if (!curr->is_individual && best->is_individual) in ad_agg_selection_test()
1504 return curr; in ad_agg_selection_test()
1506 if (curr->is_individual && !best->is_individual) in ad_agg_selection_test()
1509 if (__agg_has_partner(curr) && !__agg_has_partner(best)) in ad_agg_selection_test()
1510 return curr; in ad_agg_selection_test()
1512 if (!__agg_has_partner(curr) && __agg_has_partner(best)) in ad_agg_selection_test()
1515 switch (__get_agg_selection_mode(curr->lag_ports)) { in ad_agg_selection_test()
1517 if (curr->num_of_ports > best->num_of_ports) in ad_agg_selection_test()
1518 return curr; in ad_agg_selection_test()
1520 if (curr->num_of_ports < best->num_of_ports) in ad_agg_selection_test()
1526 if (__get_agg_bandwidth(curr) > __get_agg_bandwidth(best)) in ad_agg_selection_test()
1527 return curr; in ad_agg_selection_test()
1533 curr->slave->bond->dev->name, in ad_agg_selection_test()
1534 __get_agg_selection_mode(curr->lag_ports)); in ad_agg_selection_test()