Home
last modified time | relevance | path

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

/linux/drivers/net/bonding/
H A Dbond_options.c1494 if (rtnl_dereference(bond->primary_slave)) in bond_option_prio_set()
1518 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_option_primary_set()
1527 rcu_assign_pointer(bond->primary_slave, slave); in bond_option_primary_set()
1535 if (rtnl_dereference(bond->primary_slave)) { in bond_option_primary_set()
1537 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_option_primary_set()
H A Dbond_procfs.c88 primary = rcu_dereference(bond->primary_slave); in bond_info_show_master()
H A Dbond_main.c1092 struct slave *prim = rtnl_dereference(bond->primary_slave); in bond_choose_primary_or_current()
2157 rcu_assign_pointer(bond->primary_slave, new_slave); in bond_enslave()
2350 if (rcu_access_pointer(bond->primary_slave) == new_slave) in bond_enslave()
2351 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_enslave()
2487 if (rtnl_dereference(bond->primary_slave) == slave) in __bond_release_one()
2488 RCU_INIT_POINTER(bond->primary_slave, NULL); in __bond_release_one()
2807 primary = rtnl_dereference(bond->primary_slave); in bond_miimon_commit()
3686 slave == rtnl_dereference(bond->primary_slave) || in bond_ab_arp_commit()
3947 primary = rtnl_dereference(bond->primary_slave); in bond_slave_netdev_event()
4011 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_slave_netdev_event()
[all …]
H A Dbond_sysfs.c443 primary = rcu_dereference(bond->primary_slave); in bonding_show_primary()
H A Dbond_netlink.c771 primary = rtnl_dereference(bond->primary_slave); in bond_fill_info()
/linux/include/net/
H A Dbonding.h219 struct slave __rcu *primary_slave; member