Home
last modified time | relevance | path

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

/linux-6.15/net/ethtool/
H A Dfeatures.c218 DECLARE_BITMAP(new_active, NETDEV_FEATURE_COUNT); in ethnl_set_features()
265 ethnl_features_to_bitmap(new_active, dev->features); in ethnl_set_features()
266 mod = !bitmap_equal(old_active, new_active, NETDEV_FEATURE_COUNT); in ethnl_set_features()
272 bitmap_xor(wanted_diff_mask, req_wanted, new_active, in ethnl_set_features()
274 bitmap_xor(active_diff_mask, old_active, new_active, in ethnl_set_features()
280 bitmap_and(new_active, new_active, active_diff_mask, in ethnl_set_features()
284 wanted_diff_mask, new_active, in ethnl_set_features()
/linux-6.15/drivers/net/bonding/
H A Dbond_main.c1011 if (new_active) { in bond_hw_addr_swap()
1055 struct slave *new_active) in bond_get_old_active() argument
1061 if (slave == new_active) in bond_get_old_active()
1078 struct slave *new_active, in bond_do_fail_over_mac() argument
1087 if (new_active) { in bond_do_fail_over_mac()
1099 if (!new_active) in bond_do_fail_over_mac()
1281 if (old_active == new_active) in bond_change_active_slave()
1288 if (new_active) { in bond_change_active_slave()
1297 new_active->delay = 0; in bond_change_active_slave()
1320 if (new_active) in bond_change_active_slave()
[all …]
H A Dbond_options.c947 struct slave *new_active = bond_slave_get_rtnl(slave_dev); in bond_option_active_slave_set() local
949 BUG_ON(!new_active); in bond_option_active_slave_set()
951 if (new_active == old_active) { in bond_option_active_slave_set()
953 slave_dbg(bond->dev, new_active->dev, "is already the current active slave\n"); in bond_option_active_slave_set()
955 if (old_active && (new_active->link == BOND_LINK_UP) && in bond_option_active_slave_set()
956 bond_slave_is_up(new_active)) { in bond_option_active_slave_set()
957 slave_dbg(bond->dev, new_active->dev, "Setting as active slave\n"); in bond_option_active_slave_set()
958 bond_change_active_slave(bond, new_active); in bond_option_active_slave_set()
960 …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()
961 new_active->dev->name); in bond_option_active_slave_set()
/linux-6.15/drivers/net/wireless/intel/iwlwifi/mld/
H A Dmlo.c874 u16 new_active, usable_links = ieee80211_vif_usable_links(vif); in _iwl_mld_select_links() local
901 new_active = BIT(best_link->link_id); in _iwl_mld_select_links()
928 new_active = BIT(data[a].link_id) | in _iwl_mld_select_links()
935 new_active, new_primary); in _iwl_mld_select_links()
938 mld_vif->emlsr.selected_links = new_active; in _iwl_mld_select_links()
940 ieee80211_set_active_links_async(vif, new_active); in _iwl_mld_select_links()
/linux-6.15/include/net/
H A Dbonding.h691 void bond_change_active_slave(struct bonding *bond, struct slave *new_active);
/linux-6.15/net/tipc/
H A Dcrypto.c280 u8 new_active,
1097 u8 new_active, in tipc_crypto_key_set_state() argument
1104 ((new_active & KEY_MASK) << (KEY_BITS)) | in tipc_crypto_key_set_state()