Searched refs:new_active (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/net/bonding/ |
| H A D | bond_main.c | 932 static void bond_hw_addr_swap(struct bonding *bond, struct slave *new_active, in bond_hw_addr_swap() argument 948 if (new_active) { in bond_hw_addr_swap() 951 dev_set_promiscuity(new_active->dev, 1); in bond_hw_addr_swap() 954 dev_set_allmulti(new_active->dev, 1); in bond_hw_addr_swap() 958 dev_uc_sync(new_active->dev, bond->dev); in bond_hw_addr_swap() 959 dev_mc_sync(new_active->dev, bond->dev); in bond_hw_addr_swap() 963 bond_slave_ns_maddrs_del(bond, new_active); in bond_hw_addr_swap() 992 struct slave *new_active) in bond_get_old_active() argument 998 if (slave == new_active) in bond_get_old_active() 1015 struct slave *new_active, in bond_do_fail_over_mac() argument [all …]
|
| H A D | bond_options.c | 996 struct slave *new_active = bond_slave_get_rtnl(slave_dev); in bond_option_active_slave_set() local 998 BUG_ON(!new_active); in bond_option_active_slave_set() 1000 if (new_active == old_active) { in bond_option_active_slave_set() 1002 slave_dbg(bond->dev, new_active->dev, "is already the current active slave\n"); in bond_option_active_slave_set() 1004 if (old_active && (new_active->link == BOND_LINK_UP) && in bond_option_active_slave_set() 1005 bond_slave_is_up(new_active)) { in bond_option_active_slave_set() 1006 slave_dbg(bond->dev, new_active->dev, "Setting as active slave\n"); in bond_option_active_slave_set() 1007 bond_change_active_slave(bond, new_active); in bond_option_active_slave_set() 1009 …slave_err(bond->dev, new_active->dev, "Could not set as active slave; either %s is down or the lin… in bond_option_active_slave_set() 1010 new_active->dev->name); in bond_option_active_slave_set()
|
| /linux/include/net/ |
| H A D | bonding.h | 693 void bond_change_active_slave(struct bonding *bond, struct slave *new_active);
|
| /linux/net/tipc/ |
| H A D | crypto.c | 280 u8 new_active, 1101 u8 new_active, in tipc_crypto_key_set_state() argument 1108 ((new_active & KEY_MASK) << (KEY_BITS)) | in tipc_crypto_key_set_state()
|