Searched refs:new_active (Results 1 – 4 of 4) sorted by relevance
/linux-4.4.14/drivers/net/bonding/ |
D | bond_main.c | 585 static void bond_hw_addr_swap(struct bonding *bond, struct slave *new_active, in bond_hw_addr_swap() argument 598 if (new_active) { in bond_hw_addr_swap() 601 dev_set_promiscuity(new_active->dev, 1); in bond_hw_addr_swap() 604 dev_set_allmulti(new_active->dev, 1); in bond_hw_addr_swap() 607 dev_uc_sync(new_active->dev, bond->dev); in bond_hw_addr_swap() 608 dev_mc_sync(new_active->dev, bond->dev); in bond_hw_addr_swap() 631 struct slave *new_active) in bond_get_old_active() argument 637 if (slave == new_active) in bond_get_old_active() 654 struct slave *new_active, in bond_do_fail_over_mac() argument 663 if (new_active) in bond_do_fail_over_mac() [all …]
|
D | bond_options.c | 778 struct slave *new_active = bond_slave_get_rtnl(slave_dev); in bond_option_active_slave_set() local 780 BUG_ON(!new_active); in bond_option_active_slave_set() 782 if (new_active == old_active) { in bond_option_active_slave_set() 785 new_active->dev->name); in bond_option_active_slave_set() 787 if (old_active && (new_active->link == BOND_LINK_UP) && in bond_option_active_slave_set() 788 bond_slave_is_up(new_active)) { in bond_option_active_slave_set() 790 new_active->dev->name); in bond_option_active_slave_set() 791 bond_change_active_slave(bond, new_active); in bond_option_active_slave_set() 794 new_active->dev->name, in bond_option_active_slave_set() 795 new_active->dev->name); in bond_option_active_slave_set()
|
/linux-4.4.14/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_vop.c | 1348 struct vop_win_state *state, *n, *new_active = NULL; in vop_win_update_state() local 1353 new_active = state; in vop_win_update_state() 1357 if (!new_active) in vop_win_update_state() 1365 if (state == new_active) in vop_win_update_state() 1371 vop_win_state_complete(vop_win, new_active); in vop_win_update_state() 1375 vop_win->active = new_active; in vop_win_update_state()
|
/linux-4.4.14/include/net/ |
D | bonding.h | 551 void bond_change_active_slave(struct bonding *bond, struct slave *new_active);
|