Home
last modified time | relevance | path

Searched refs:old_active (Results 1 – 7 of 7) sorted by relevance

/linux/net/mac80211/
H A Dlink.c275 u16 old_active = sdata->vif.active_links; in ieee80211_vif_update_links() local
356 old_links & old_active, in ieee80211_vif_update_links()
418 u16 old_active = sdata->vif.active_links; in _ieee80211_set_active_links() local
419 unsigned long rem = old_active & ~active_links; in _ieee80211_set_active_links()
420 unsigned long add = active_links & ~old_active; in _ieee80211_set_active_links()
435 if (old_active == active_links) in _ieee80211_set_active_links()
445 old_active, in _ieee80211_set_active_links()
449 sdata->vif.active_links = old_active; in _ieee80211_set_active_links()
513 old_active | active_links); in _ieee80211_set_active_links()
516 old_active, in _ieee80211_set_active_links()
[all …]
/linux/net/ethtool/
H A Dfeatures.c216 DECLARE_BITMAP(old_active, NETDEV_FEATURE_COUNT); in ethnl_set_features()
243 ethnl_features_to_bitmap(old_active, dev->features); in ethnl_set_features()
266 mod = !bitmap_equal(old_active, new_active, NETDEV_FEATURE_COUNT); in ethnl_set_features()
274 bitmap_xor(active_diff_mask, old_active, new_active, in ethnl_set_features()
/linux/drivers/staging/greybus/
H A Dlight.c355 bool old_active; in __gb_lights_led_brightness_set() local
363 old_active = channel->active; in __gb_lights_led_brightness_set()
380 if (!old_active && channel->active) in __gb_lights_led_brightness_set()
387 if (old_active && !channel->active) in __gb_lights_led_brightness_set()
438 bool old_active; in gb_blink_set() local
452 old_active = channel->active; in gb_blink_set()
470 if (!old_active && channel->active) in gb_blink_set()
477 if (old_active && !channel->active) in gb_blink_set()
/linux/drivers/net/bonding/
H A Dbond_main.c923 struct slave *old_active) in bond_hw_addr_swap() argument
925 if (old_active) { in bond_hw_addr_swap()
927 dev_set_promiscuity(old_active->dev, -1); in bond_hw_addr_swap()
930 dev_set_allmulti(old_active->dev, -1); in bond_hw_addr_swap()
933 bond_hw_addr_flush(bond->dev, old_active->dev); in bond_hw_addr_swap()
935 bond_slave_ns_maddrs_add(bond, old_active); in bond_hw_addr_swap()
1006 struct slave *old_active) in bond_do_fail_over_mac() argument
1029 if (!old_active) in bond_do_fail_over_mac()
1030 old_active = bond_get_old_active(bond, new_active); in bond_do_fail_over_mac()
1032 if (old_active) { in bond_do_fail_over_mac()
[all …]
H A Dbond_options.c978 struct slave *old_active = rtnl_dereference(bond->curr_active_slave); in bond_option_active_slave_set() local
983 if (new_active == old_active) { in bond_option_active_slave_set()
987 if (old_active && (new_active->link == BOND_LINK_UP) && in bond_option_active_slave_set()
/linux/drivers/usb/gadget/udc/
H A Ddummy_hcd.c260 unsigned old_active:1; member
475 } else if (dum_hcd->active != dum_hcd->old_active && in set_link_state()
479 if (dum_hcd->old_active && dum->driver->suspend) in set_link_state()
481 else if (!dum_hcd->old_active && dum->driver->resume) in set_link_state()
488 dum_hcd->old_active = dum_hcd->active; in set_link_state()
/linux/net/core/
H A Dskbuff.c7034 unsigned int old_active) in skb_ext_maybe_cow() argument
7049 if (old_active & (1 << SKB_EXT_SEC_PATH)) { in skb_ext_maybe_cow()
7058 if (old_active & (1 << SKB_EXT_MCTP)) { in skb_ext_maybe_cow()