Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/bonding/
Dbond_options.c1106 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_option_primary_set()
1116 rcu_assign_pointer(bond->primary_slave, slave); in bond_option_primary_set()
1123 if (rtnl_dereference(bond->primary_slave)) { in bond_option_primary_set()
1125 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_option_primary_set()
Dbond_main.c716 struct slave *prim = rtnl_dereference(bond->primary_slave); in bond_choose_primary_or_current()
1596 rcu_assign_pointer(bond->primary_slave, new_slave); in bond_enslave()
1715 if (rcu_access_pointer(bond->primary_slave) == new_slave) in bond_enslave()
1716 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_enslave()
1841 if (rtnl_dereference(bond->primary_slave) == slave) in __bond_release_one()
1842 RCU_INIT_POINTER(bond->primary_slave, NULL); in __bond_release_one()
2096 primary = rtnl_dereference(bond->primary_slave); in bond_miimon_commit()
2743 slave == rtnl_dereference(bond->primary_slave)) in bond_ab_arp_commit()
2976 primary = rtnl_dereference(bond->primary_slave); in bond_slave_netdev_event()
3024 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_slave_netdev_event()
[all …]
Dbond_procfs.c85 primary = rcu_dereference(bond->primary_slave); in bond_info_show_master()
Dbond_netlink.c560 primary = rtnl_dereference(bond->primary_slave); in bond_fill_info()
Dbond_sysfs.c418 primary = rcu_dereference(bond->primary_slave); in bonding_show_primary()
/linux-4.4.14/include/net/
Dbonding.h203 struct slave __rcu *primary_slave; member