Lines Matching refs:curr_active_slave
781 if (bond->curr_active_slave) { in bond_set_promiscuity()
782 err = dev_set_promiscuity(bond->curr_active_slave->dev, in bond_set_promiscuity()
805 if (bond->curr_active_slave) { in bond_set_allmulti()
806 err = dev_set_allmulti(bond->curr_active_slave->dev, in bond_set_allmulti()
829 if (bond->curr_active_slave) { in bond_mc_add()
830 dev_mc_add(bond->curr_active_slave->dev, addr, alen, 0); in bond_mc_add()
849 if (bond->curr_active_slave) { in bond_mc_delete()
850 dev_mc_delete(bond->curr_active_slave->dev, addr, alen, 0); in bond_mc_delete()
1084 new_active = old_active = bond->curr_active_slave; in bond_find_best_slave()
1143 struct slave *old_active = bond->curr_active_slave; in bond_change_active_slave()
1191 bond->curr_active_slave = new_active; in bond_change_active_slave()
1240 if (best_slave != bond->curr_active_slave) { in bond_select_active_slave()
1724 if (!bond->curr_active_slave) { in bond_enslave()
1725 bond->curr_active_slave = new_slave; in bond_enslave()
1844 oldcurrent = bond->curr_active_slave; in bond_release()
2164 old_active = bond->curr_active_slave; in bond_ioctl_change_active()
2381 if (!bond->curr_active_slave || in bond_miimon_commit()
2411 if (slave == bond->curr_active_slave) in bond_miimon_commit()
2643 struct slave *slave = bond->curr_active_slave; in bond_send_gratuitous_arp()
2784 oldcurrent = bond->curr_active_slave; in bond_loadbalance_arp_mon()
2955 (bond->primary_slave != bond->curr_active_slave) && in bond_ab_arp_inspect()
2983 if (!bond->curr_active_slave && in bond_ab_arp_commit()
2995 } else if (bond->curr_active_slave != slave) { in bond_ab_arp_commit()
3021 if (slave == bond->curr_active_slave) { in bond_ab_arp_commit()
3032 if (bond->curr_active_slave) in bond_ab_arp_commit()
3033 bond->curr_active_slave->jiffies = in bond_ab_arp_commit()
3061 (bond->primary_slave != bond->curr_active_slave) && in bond_ab_arp_commit()
3083 if (bond->current_arp_slave && bond->curr_active_slave) in bond_ab_arp_probe()
3086 bond->curr_active_slave->dev->name); in bond_ab_arp_probe()
3088 if (bond->curr_active_slave) { in bond_ab_arp_probe()
3089 bond_arp_send_all(bond, bond->curr_active_slave); in bond_ab_arp_probe()
3249 curr = bond->curr_active_slave; in bond_info_show_master()
4358 if (!bond->curr_active_slave) in bond_xmit_activebackup()
4361 res = bond_dev_queue_xmit(bond, skb, bond->curr_active_slave->dev); in bond_xmit_activebackup()
4439 start_at = bond->curr_active_slave; in bond_xmit_broadcast()
4622 bond->curr_active_slave = NULL; in bond_init()