Searched refs:old_active (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.15/net/ethtool/ |
| D | features.c | 215 DECLARE_BITMAP(old_active, NETDEV_FEATURE_COUNT); in ethnl_set_features() 238 ethnl_features_to_bitmap(old_active, dev->features); in ethnl_set_features() 261 mod = !bitmap_equal(old_active, new_active, NETDEV_FEATURE_COUNT); in ethnl_set_features() 269 bitmap_xor(active_diff_mask, old_active, new_active, in ethnl_set_features()
|
| /Linux-v5.15/drivers/staging/greybus/ |
| D | light.c | 373 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()
|
| /Linux-v5.15/drivers/net/bonding/ |
| D | bond_main.c | 881 struct slave *old_active) in bond_hw_addr_swap() argument 883 if (old_active) { in bond_hw_addr_swap() 885 dev_set_promiscuity(old_active->dev, -1); in bond_hw_addr_swap() 888 dev_set_allmulti(old_active->dev, -1); in bond_hw_addr_swap() 890 bond_hw_addr_flush(bond->dev, old_active->dev); in bond_hw_addr_swap() 957 struct slave *old_active) in bond_do_fail_over_mac() argument 980 if (!old_active) in bond_do_fail_over_mac() 981 old_active = bond_get_old_active(bond, new_active); in bond_do_fail_over_mac() 983 if (old_active) { in bond_do_fail_over_mac() 987 old_active->dev->dev_addr, in bond_do_fail_over_mac() [all …]
|
| D | bond_options.c | 875 struct slave *old_active = rtnl_dereference(bond->curr_active_slave); in bond_option_active_slave_set() local 880 if (new_active == old_active) { in bond_option_active_slave_set() 884 if (old_active && (new_active->link == BOND_LINK_UP) && in bond_option_active_slave_set()
|
| /Linux-v5.15/drivers/usb/gadget/udc/ |
| D | dummy_hcd.c | 256 unsigned old_active:1; member 471 } else if (dum_hcd->active != dum_hcd->old_active && in set_link_state() 475 if (dum_hcd->old_active && dum->driver->suspend) in set_link_state() 477 else if (!dum_hcd->old_active && dum->driver->resume) in set_link_state() 484 dum_hcd->old_active = dum_hcd->active; in set_link_state()
|
| /Linux-v5.15/net/core/ |
| D | skbuff.c | 6423 unsigned int old_active) in skb_ext_maybe_cow() argument 6438 if (old_active & (1 << SKB_EXT_SEC_PATH)) { in skb_ext_maybe_cow()
|