Searched refs:old_active (Results 1 – 7 of 7) sorted by relevance
| /linux/net/mac80211/ |
| H A D | link.c | 292 u16 old_active = sdata->vif.active_links; in ieee80211_vif_update_links() local 381 old_links & old_active, in ieee80211_vif_update_links() 475 u16 old_active = sdata->vif.active_links; in _ieee80211_set_active_links() local 476 unsigned long rem = old_active & ~active_links; in _ieee80211_set_active_links() 477 unsigned long add = active_links & ~old_active; in _ieee80211_set_active_links() 492 if (old_active == active_links) in _ieee80211_set_active_links() 502 old_active, in _ieee80211_set_active_links() 506 sdata->vif.active_links = old_active; in _ieee80211_set_active_links() 570 old_active | active_links); in _ieee80211_set_active_links() 573 old_active, in _ieee80211_set_active_links() [all …]
|
| /linux/drivers/staging/greybus/ |
| H A D | light.c | 354 bool old_active; in __gb_lights_led_brightness_set() local 362 old_active = channel->active; in __gb_lights_led_brightness_set() 379 if (!old_active && channel->active) in __gb_lights_led_brightness_set() 386 if (old_active && !channel->active) in __gb_lights_led_brightness_set() 437 bool old_active; in gb_blink_set() local 451 old_active = channel->active; in gb_blink_set() 469 if (!old_active && channel->active) in gb_blink_set() 476 if (old_active && !channel->active) in gb_blink_set()
|
| /linux/drivers/net/bonding/ |
| H A D | bond_main.c | 933 struct slave *old_active) in bond_hw_addr_swap() argument 935 if (old_active) { in bond_hw_addr_swap() 937 dev_set_promiscuity(old_active->dev, -1); in bond_hw_addr_swap() 940 dev_set_allmulti(old_active->dev, -1); in bond_hw_addr_swap() 943 bond_hw_addr_flush(bond->dev, old_active->dev); in bond_hw_addr_swap() 945 bond_slave_ns_maddrs_add(bond, old_active); in bond_hw_addr_swap() 1016 struct slave *old_active) in bond_do_fail_over_mac() argument 1032 /* if new_active && old_active, swap them in bond_do_fail_over_mac() 1033 * if just old_active, do nothing (going to no active slave) in bond_do_fail_over_mac() 1039 if (!old_active) in bond_do_fail_over_mac() 1268 struct slave *old_active; bond_change_active_slave() local [all...] |
| H A D | bond_options.c | 995 struct slave *old_active = rtnl_dereference(bond->curr_active_slave); in bond_option_active_slave_set() local 1000 if (new_active == old_active) { in bond_option_active_slave_set() 1004 if (old_active && (new_active->link == BOND_LINK_UP) && in bond_option_active_slave_set()
|
| /linux/drivers/usb/gadget/udc/ |
| H A D | dummy_hcd.c | 260 unsigned old_active:1; member 501 } else if (dum_hcd->active != dum_hcd->old_active && in set_link_state() 505 if (dum_hcd->old_active && dum->driver->suspend) in set_link_state() 507 else if (!dum_hcd->old_active && dum->driver->resume) in set_link_state() 514 dum_hcd->old_active = dum_hcd->active;
|
| /linux/drivers/net/dsa/mxl862xx/ |
| H A D | mxl862xx.c | 1034 u16 old_active = blk->n_active; in mxl862xx_evlan_program_egress() local 1075 for (i = idx; i < old_active; i++) { in mxl862xx_evlan_program_egress()
|
| /linux/net/core/ |
| H A D | skbuff.c | 7167 unsigned int old_active) in skb_ext_maybe_cow() 7182 if (old_active & (1 << SKB_EXT_SEC_PATH)) { in skb_ext_maybe_cow() 7191 if (old_active & (1 << SKB_EXT_MCTP)) { in skb_ext_maybe_cow() 7163 skb_ext_maybe_cow(struct skb_ext * old,unsigned int old_active) skb_ext_maybe_cow() argument
|