Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/bonding/
Dbond_main.c586 struct slave *old_active) in bond_hw_addr_swap() argument
588 if (old_active) { in bond_hw_addr_swap()
590 dev_set_promiscuity(old_active->dev, -1); in bond_hw_addr_swap()
593 dev_set_allmulti(old_active->dev, -1); in bond_hw_addr_swap()
595 bond_hw_addr_flush(bond->dev, old_active->dev); in bond_hw_addr_swap()
655 struct slave *old_active) in bond_do_fail_over_mac() argument
674 if (!old_active) in bond_do_fail_over_mac()
675 old_active = bond_get_old_active(bond, new_active); in bond_do_fail_over_mac()
677 if (old_active) { in bond_do_fail_over_mac()
680 old_active->dev->dev_addr); in bond_do_fail_over_mac()
[all …]
Dbond_options.c742 struct slave *old_active = rtnl_dereference(bond->curr_active_slave); in bond_option_active_slave_set() local
747 if (new_active == old_active) { in bond_option_active_slave_set()
752 if (old_active && (new_active->link == BOND_LINK_UP) && in bond_option_active_slave_set()
/linux-4.1.27/drivers/usb/gadget/udc/
Ddummy_hcd.c180 unsigned old_active:1; member
388 } else if (dum_hcd->active != dum_hcd->old_active) { in set_link_state()
389 if (dum_hcd->old_active && dum->driver->suspend) { in set_link_state()
393 } else if (!dum_hcd->old_active && dum->driver->resume) { in set_link_state()
401 dum_hcd->old_active = dum_hcd->active; in set_link_state()