Home
last modified time | relevance | path

Searched refs:new_active (Results 1 – 5 of 5) sorted by relevance

/linux/net/ethtool/
A Dfeatures.c217 DECLARE_BITMAP(new_active, NETDEV_FEATURE_COUNT); in ethnl_set_features()
260 ethnl_features_to_bitmap(new_active, dev->features); in ethnl_set_features()
261 mod = !bitmap_equal(old_active, new_active, NETDEV_FEATURE_COUNT); in ethnl_set_features()
267 bitmap_xor(wanted_diff_mask, req_wanted, new_active, in ethnl_set_features()
269 bitmap_xor(active_diff_mask, old_active, new_active, in ethnl_set_features()
275 bitmap_and(new_active, new_active, active_diff_mask, in ethnl_set_features()
279 wanted_diff_mask, new_active, in ethnl_set_features()
/linux/drivers/net/bonding/
A Dbond_main.c893 if (new_active) { in bond_hw_addr_swap()
933 struct slave *new_active) in bond_get_old_active() argument
939 if (slave == new_active) in bond_get_old_active()
956 struct slave *new_active, in bond_do_fail_over_mac() argument
965 if (new_active) { in bond_do_fail_over_mac()
977 if (!new_active) in bond_do_fail_over_mac()
1135 if (old_active == new_active) in bond_change_active_slave()
1142 if (new_active) { in bond_change_active_slave()
1151 new_active->delay = 0; in bond_change_active_slave()
1174 if (new_active) in bond_change_active_slave()
[all …]
A Dbond_options.c876 struct slave *new_active = bond_slave_get_rtnl(slave_dev); in bond_option_active_slave_set() local
878 BUG_ON(!new_active); in bond_option_active_slave_set()
880 if (new_active == old_active) { in bond_option_active_slave_set()
882 slave_dbg(bond->dev, new_active->dev, "is already the current active slave\n"); in bond_option_active_slave_set()
884 if (old_active && (new_active->link == BOND_LINK_UP) && in bond_option_active_slave_set()
885 bond_slave_is_up(new_active)) { in bond_option_active_slave_set()
886 slave_dbg(bond->dev, new_active->dev, "Setting as active slave\n"); in bond_option_active_slave_set()
887 bond_change_active_slave(bond, new_active); in bond_option_active_slave_set()
889 …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()
890 new_active->dev->name); in bond_option_active_slave_set()
/linux/include/net/
A Dbonding.h644 void bond_change_active_slave(struct bonding *bond, struct slave *new_active);
/linux/net/tipc/
A Dcrypto.c280 u8 new_active,
1103 u8 new_active, in tipc_crypto_key_set_state() argument
1110 ((new_active & KEY_MASK) << (KEY_BITS)) | in tipc_crypto_key_set_state()

Completed in 24 milliseconds