Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Dif_team.h184 int en_port_count; member
248 int en_port_count = ACCESS_ONCE(team->en_port_count); in team_num_to_port_index() local
250 if (unlikely(!en_port_count)) in team_num_to_port_index()
252 return num % en_port_count; in team_num_to_port_index()
/linux-4.4.14/drivers/net/team/
Dteam_mode_random.c23 port_index = prandom_u32_max(team->en_port_count); in rnd_transmit()
Dteam.c527 if (!team->en_port_count || !team_is_mode_set(team) || in team_adjust_ops()
533 if (!team->en_port_count || !team_is_mode_set(team) || in team_adjust_ops()
926 port->index = team->en_port_count++; in team_port_enable()
942 for (i = rm_index + 1; i < team->en_port_count; i++) { in __reconstruct_port_hlist()
961 team->en_port_count--; in team_port_disable()