Searched refs:new_active (Results 1 – 4 of 4) sorted by relevance
/linux-4.1.27/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 | 743 struct slave *new_active = bond_slave_get_rtnl(slave_dev); in bond_option_active_slave_set() local 745 BUG_ON(!new_active); in bond_option_active_slave_set() 747 if (new_active == old_active) { in bond_option_active_slave_set() 750 new_active->dev->name); in bond_option_active_slave_set() 752 if (old_active && (new_active->link == BOND_LINK_UP) && in bond_option_active_slave_set() 753 bond_slave_is_up(new_active)) { in bond_option_active_slave_set() 755 new_active->dev->name); in bond_option_active_slave_set() 756 bond_change_active_slave(bond, new_active); in bond_option_active_slave_set() 759 new_active->dev->name, in bond_option_active_slave_set() 760 new_active->dev->name); in bond_option_active_slave_set()
|
/linux-4.1.27/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_vop.c | 1072 struct vop_win_state *state, *n, *new_active = NULL; in vop_win_update_state() local 1077 new_active = state; in vop_win_update_state() 1081 if (!new_active) in vop_win_update_state() 1089 if (state == new_active) in vop_win_update_state() 1095 vop_win_state_complete(vop_win, new_active); in vop_win_update_state() 1099 vop_win->active = new_active; in vop_win_update_state()
|
/linux-4.1.27/include/net/ |
D | bonding.h | 540 void bond_change_active_slave(struct bonding *bond, struct slave *new_active);
|