Searched refs:en_port_count (Results 1 - 3 of 3) sorted by relevance

/linux-master/include/linux/
H A Dif_team.h199 int en_port_count; member in struct:team
265 int en_port_count = READ_ONCE(team->en_port_count); local
267 if (unlikely(!en_port_count))
269 return num % en_port_count;
/linux-master/drivers/net/team/
H A Dteam_mode_random.c19 port_index = get_random_u32_below(team->en_port_count);
H A Dteam.c533 if (!team->en_port_count || !team_is_mode_set(team) ||
539 if (!team->en_port_count || !team_is_mode_set(team) ||
940 port->index = team->en_port_count++;
957 for (i = rm_index + 1; i < team->en_port_count; i++) {
976 team->en_port_count--;

Completed in 258 milliseconds