Lines Matching refs:curr
1473 struct aggregator *curr) in ad_agg_selection_test() argument
1500 return curr; in ad_agg_selection_test()
1502 if (!curr->is_individual && best->is_individual) in ad_agg_selection_test()
1503 return curr; in ad_agg_selection_test()
1505 if (curr->is_individual && !best->is_individual) in ad_agg_selection_test()
1508 if (__agg_has_partner(curr) && !__agg_has_partner(best)) in ad_agg_selection_test()
1509 return curr; in ad_agg_selection_test()
1511 if (!__agg_has_partner(curr) && __agg_has_partner(best)) in ad_agg_selection_test()
1514 switch (__get_agg_selection_mode(curr->lag_ports)) { in ad_agg_selection_test()
1516 if (curr->num_of_ports > best->num_of_ports) in ad_agg_selection_test()
1517 return curr; in ad_agg_selection_test()
1519 if (curr->num_of_ports < best->num_of_ports) in ad_agg_selection_test()
1525 if (__get_agg_bandwidth(curr) > __get_agg_bandwidth(best)) in ad_agg_selection_test()
1526 return curr; in ad_agg_selection_test()
1532 curr->slave->bond->dev->name, in ad_agg_selection_test()
1533 __get_agg_selection_mode(curr->lag_ports)); in ad_agg_selection_test()