Home
last modified time | relevance | path

Searched refs:primary_slave (Results 1 – 6 of 6) sorted by relevance

/linux-4.1.27/drivers/net/bonding/
Dbond_main.c716 struct slave *prim = rtnl_dereference(bond->primary_slave); in bond_should_change_active()
744 primary = rtnl_dereference(bond->primary_slave); in bond_find_best_slave()
1583 rcu_assign_pointer(bond->primary_slave, new_slave); in bond_enslave()
1702 if (rcu_access_pointer(bond->primary_slave) == new_slave) in bond_enslave()
1703 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_enslave()
1820 if (rtnl_dereference(bond->primary_slave) == slave) in __bond_release_one()
1821 RCU_INIT_POINTER(bond->primary_slave, NULL); in __bond_release_one()
2075 primary = rtnl_dereference(bond->primary_slave); in bond_miimon_commit()
2722 slave == rtnl_dereference(bond->primary_slave)) in bond_ab_arp_commit()
2957 primary = rtnl_dereference(bond->primary_slave); in bond_slave_netdev_event()
[all …]
Dbond_options.c1071 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_option_primary_set()
1081 rcu_assign_pointer(bond->primary_slave, slave); in bond_option_primary_set()
1088 if (rtnl_dereference(bond->primary_slave)) { in bond_option_primary_set()
1090 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_option_primary_set()
Dbond_procfs.c85 primary = rcu_dereference(bond->primary_slave); in bond_info_show_master()
Dbond_netlink.c501 primary = rtnl_dereference(bond->primary_slave); in bond_fill_info()
Dbond_sysfs.c432 primary = rcu_dereference(bond->primary_slave); in bonding_show_primary()
/linux-4.1.27/include/net/
Dbonding.h200 struct slave __rcu *primary_slave; member