Home
last modified time | relevance | path

Searched refs:old_active (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/linux-6.6/net/mac80211/
H A Dlink.c184 u16 old_active = sdata->vif.active_links; in ieee80211_vif_update_links() local
261 old_links & old_active, in ieee80211_vif_update_links()
328 u16 old_active = sdata->vif.active_links; in _ieee80211_set_active_links() local
329 unsigned long rem = old_active & ~active_links; in _ieee80211_set_active_links()
330 unsigned long add = active_links & ~old_active; in _ieee80211_set_active_links()
345 if (old_active == active_links) in _ieee80211_set_active_links()
355 old_active, in _ieee80211_set_active_links()
359 sdata->vif.active_links = old_active; in _ieee80211_set_active_links()
380 old_active | active_links); in _ieee80211_set_active_links()
383 old_active, in _ieee80211_set_active_links()
454 u16 old_active; __ieee80211_set_active_links() local
[all...]
/kernel/linux/linux-5.10/net/ethtool/
H A Dfeatures.c215 DECLARE_BITMAP(old_active, NETDEV_FEATURE_COUNT); in ethnl_set_features()
241 ethnl_features_to_bitmap(old_active, dev->features); in ethnl_set_features()
264 mod = !bitmap_equal(old_active, new_active, NETDEV_FEATURE_COUNT); in ethnl_set_features()
272 bitmap_xor(active_diff_mask, old_active, new_active, in ethnl_set_features()
/kernel/linux/linux-6.6/net/ethtool/
H A Dfeatures.c214 DECLARE_BITMAP(old_active, NETDEV_FEATURE_COUNT); in ethnl_set_features()
240 ethnl_features_to_bitmap(old_active, dev->features); in ethnl_set_features()
263 mod = !bitmap_equal(old_active, new_active, NETDEV_FEATURE_COUNT); in ethnl_set_features()
271 bitmap_xor(active_diff_mask, old_active, new_active, in ethnl_set_features()
/kernel/linux/linux-5.10/drivers/staging/greybus/
H A Dlight.c374 bool old_active; in __gb_lights_led_brightness_set() local
382 old_active = channel->active; in __gb_lights_led_brightness_set()
399 if (!old_active && channel->active) in __gb_lights_led_brightness_set()
406 if (old_active && !channel->active) in __gb_lights_led_brightness_set()
457 bool old_active; in gb_blink_set() local
471 old_active = channel->active; in gb_blink_set()
489 if (!old_active && channel->active) in gb_blink_set()
496 if (old_active && !channel->active) in gb_blink_set()
/kernel/linux/linux-6.6/drivers/staging/greybus/
H A Dlight.c373 bool old_active; in __gb_lights_led_brightness_set() local
381 old_active = channel->active; in __gb_lights_led_brightness_set()
398 if (!old_active && channel->active) in __gb_lights_led_brightness_set()
405 if (old_active && !channel->active) in __gb_lights_led_brightness_set()
456 bool old_active; in gb_blink_set() local
470 old_active = channel->active; in gb_blink_set()
488 if (!old_active && channel->active) in gb_blink_set()
495 if (old_active && !channel->active) in gb_blink_set()
/kernel/linux/linux-5.10/drivers/net/bonding/
H A Dbond_main.c843 struct slave *old_active) in bond_hw_addr_swap()
845 if (old_active) { in bond_hw_addr_swap()
847 dev_set_promiscuity(old_active->dev, -1); in bond_hw_addr_swap()
850 dev_set_allmulti(old_active->dev, -1); in bond_hw_addr_swap()
853 bond_hw_addr_flush(bond->dev, old_active->dev); in bond_hw_addr_swap()
922 struct slave *old_active) in bond_do_fail_over_mac()
938 /* if new_active && old_active, swap them in bond_do_fail_over_mac()
939 * if just old_active, do nothing (going to no active slave) in bond_do_fail_over_mac()
945 if (!old_active) in bond_do_fail_over_mac()
946 old_active in bond_do_fail_over_mac()
842 bond_hw_addr_swap(struct bonding *bond, struct slave *new_active, struct slave *old_active) bond_hw_addr_swap() argument
920 bond_do_fail_over_mac(struct bonding *bond, struct slave *new_active, struct slave *old_active) bond_do_fail_over_mac() argument
1094 struct slave *old_active; bond_change_active_slave() local
[all...]
H A Dbond_options.c828 struct slave *old_active = rtnl_dereference(bond->curr_active_slave); in bond_option_active_slave_set() local
833 if (new_active == old_active) { in bond_option_active_slave_set()
837 if (old_active && (new_active->link == BOND_LINK_UP) && in bond_option_active_slave_set()
/kernel/linux/linux-6.6/drivers/net/bonding/
H A Dbond_main.c884 struct slave *old_active) in bond_hw_addr_swap()
886 if (old_active) { in bond_hw_addr_swap()
888 dev_set_promiscuity(old_active->dev, -1); in bond_hw_addr_swap()
891 dev_set_allmulti(old_active->dev, -1); in bond_hw_addr_swap()
894 bond_hw_addr_flush(bond->dev, old_active->dev); in bond_hw_addr_swap()
963 struct slave *old_active) in bond_do_fail_over_mac()
979 /* if new_active && old_active, swap them in bond_do_fail_over_mac()
980 * if just old_active, do nothing (going to no active slave) in bond_do_fail_over_mac()
986 if (!old_active) in bond_do_fail_over_mac()
987 old_active in bond_do_fail_over_mac()
883 bond_hw_addr_swap(struct bonding *bond, struct slave *new_active, struct slave *old_active) bond_hw_addr_swap() argument
961 bond_do_fail_over_mac(struct bonding *bond, struct slave *new_active, struct slave *old_active) bond_do_fail_over_mac() argument
1162 struct slave *old_active; bond_change_active_slave() local
[all...]
H A Dbond_options.c926 struct slave *old_active = rtnl_dereference(bond->curr_active_slave); in bond_option_active_slave_set() local
931 if (new_active == old_active) { in bond_option_active_slave_set()
935 if (old_active && (new_active->link == BOND_LINK_UP) && in bond_option_active_slave_set()
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
H A Ddummy_hcd.c256 unsigned old_active:1; member
471 } else if (dum_hcd->active != dum_hcd->old_active &&
475 if (dum_hcd->old_active && dum->driver->suspend)
477 else if (!dum_hcd->old_active && dum->driver->resume)
484 dum_hcd->old_active = dum_hcd->active;
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/
H A Ddummy_hcd.c256 unsigned old_active:1; member
471 } else if (dum_hcd->active != dum_hcd->old_active &&
475 if (dum_hcd->old_active && dum->driver->suspend)
477 else if (!dum_hcd->old_active && dum->driver->resume)
484 dum_hcd->old_active = dum_hcd->active;
/kernel/linux/linux-6.6/net/core/
H A Dskbuff.c6640 unsigned int old_active) in skb_ext_maybe_cow()
6655 if (old_active & (1 << SKB_EXT_SEC_PATH)) { in skb_ext_maybe_cow()
6664 if (old_active & (1 << SKB_EXT_MCTP)) { in skb_ext_maybe_cow()
6639 skb_ext_maybe_cow(struct skb_ext *old, unsigned int old_active) skb_ext_maybe_cow() argument
/kernel/linux/linux-5.10/net/core/
H A Dskbuff.c6259 unsigned int old_active) in skb_ext_maybe_cow()
6274 if (old_active & (1 << SKB_EXT_SEC_PATH)) { in skb_ext_maybe_cow()
6258 skb_ext_maybe_cow(struct skb_ext *old, unsigned int old_active) skb_ext_maybe_cow() argument

Completed in 43 milliseconds