Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/bonding/
Dbond_main.c499 if (bond_uses_primary(bond)) { in bond_set_promiscuity()
522 if (bond_uses_primary(bond)) { in bond_set_allmulti()
828 if (bond_uses_primary(bond)) { in bond_change_active_slave()
843 if (bond_uses_primary(bond)) { in bond_change_active_slave()
850 if (bond_uses_primary(bond)) in bond_change_active_slave()
900 ((bond_uses_primary(bond) && new_active) || in bond_change_active_slave()
1495 if (!bond_uses_primary(bond)) { in bond_enslave()
1593 if (bond_uses_primary(bond) && bond->params.primary[0]) { in bond_enslave()
1685 if (bond_uses_primary(bond)) { in bond_enslave()
1711 if (!bond_uses_primary(bond)) in bond_enslave()
[all …]
Dbond_procfs.c84 if (bond_uses_primary(bond)) { in bond_info_show_master()
/linux-4.4.14/include/net/
Dbonding.h309 static inline bool bond_uses_primary(struct bonding *bond) in bond_uses_primary() function
318 return bond_uses_primary(bond) && slave ? slave->dev : NULL; in bond_option_active_slave_get_rcu()