Lines Matching refs:slave
777 struct slave *old_active = rtnl_dereference(bond->curr_active_slave); in bond_option_active_slave_set()
778 struct slave *new_active = bond_slave_get_rtnl(slave_dev); in bond_option_active_slave_set()
947 struct slave *slave; in _bond_options_arp_ip_target_set() local
950 bond_for_each_slave(bond, slave, iter) in _bond_options_arp_ip_target_set()
951 slave->target_last_arp_rx[slot] = last_rx; in _bond_options_arp_ip_target_set()
995 struct slave *slave; in bond_option_arp_ip_target_rem() local
1017 bond_for_each_slave(bond, slave, iter) { in bond_option_arp_ip_target_rem()
1018 targets_rx = slave->target_last_arp_rx; in bond_option_arp_ip_target_rem()
1096 struct slave *slave; in bond_option_primary_set() local
1112 bond_for_each_slave(bond, slave, iter) { in bond_option_primary_set()
1113 if (strncmp(slave->dev->name, primary, IFNAMSIZ) == 0) { in bond_option_primary_set()
1115 slave->dev->name); in bond_option_primary_set()
1116 rcu_assign_pointer(bond->primary_slave, slave); in bond_option_primary_set()
1117 strcpy(bond->params.primary, slave->dev->name); in bond_option_primary_set()
1196 struct slave *slave; in bond_option_all_slaves_active_set() local
1201 bond_for_each_slave(bond, slave, iter) { in bond_option_all_slaves_active_set()
1202 if (!bond_is_active_slave(slave)) { in bond_option_all_slaves_active_set()
1204 slave->inactive = 0; in bond_option_all_slaves_active_set()
1206 slave->inactive = 1; in bond_option_all_slaves_active_set()
1274 struct slave *slave, *update_slave; in bond_option_queue_id_set() local
1305 bond_for_each_slave(bond, slave, iter) { in bond_option_queue_id_set()
1306 if (sdev == slave->dev) in bond_option_queue_id_set()
1310 update_slave = slave; in bond_option_queue_id_set()
1311 else if (qid && qid == slave->queue_id) { in bond_option_queue_id_set()