Home
last modified time | relevance | path

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

/linux/include/net/
H A Dbonding.h348 static inline bool bond_uses_primary(const struct bonding *bond) in bond_uses_primary() function
357 return bond_uses_primary(bond) && slave ? slave->dev : NULL; in bond_option_active_slave_get_rcu()
/linux/drivers/net/bonding/
H A Dbond_main.c850 if (bond_uses_primary(bond)) { in bond_set_promiscuity()
873 if (bond_uses_primary(bond)) { in bond_set_allmulti()
1285 if (bond_uses_primary(bond)) { in bond_change_active_slave()
1300 if (bond_uses_primary(bond)) in bond_change_active_slave()
1305 if (bond_uses_primary(bond)) in bond_change_active_slave()
1352 ((bond_uses_primary(bond) && new_active) || in bond_change_active_slave()
2166 if (bond_uses_primary(bond) && bond->params.primary[0]) { in bond_enslave()
2258 if (!bond_uses_primary(bond)) { in bond_enslave()
2296 if (bond_uses_primary(bond)) { in bond_enslave()
2553 if (!bond_uses_primary(bond)) { in __bond_release_one()
[all …]