Lines Matching refs:tmp
400 struct slave *tmp; in bond_slave_state_change() local
402 bond_for_each_slave(bond, tmp, iter) { in bond_slave_state_change()
403 if (tmp->link == BOND_LINK_UP) in bond_slave_state_change()
404 bond_set_active_slave(tmp); in bond_slave_state_change()
405 else if (tmp->link == BOND_LINK_DOWN) in bond_slave_state_change()
406 bond_set_backup_slave(tmp); in bond_slave_state_change()
413 struct slave *tmp; in bond_slave_state_notify() local
415 bond_for_each_slave(bond, tmp, iter) { in bond_slave_state_notify()
416 if (tmp->should_notify) { in bond_slave_state_notify()
417 bond_lower_state_changed(tmp); in bond_slave_state_notify()
418 tmp->should_notify = 0; in bond_slave_state_notify()
597 struct slave *tmp; in bond_slave_link_notify() local
599 bond_for_each_slave(bond, tmp, iter) { in bond_slave_link_notify()
600 if (tmp->should_notify_link) { in bond_slave_link_notify()
601 bond_queue_slave_event(tmp); in bond_slave_link_notify()
602 bond_lower_state_changed(tmp); in bond_slave_link_notify()
603 tmp->should_notify_link = 0; in bond_slave_link_notify()
693 struct slave *tmp; in bond_slave_has_mac() local
695 bond_for_each_slave(bond, tmp, iter) in bond_slave_has_mac()
696 if (ether_addr_equal_64bits(mac, tmp->dev->dev_addr)) in bond_slave_has_mac()
697 return tmp; in bond_slave_has_mac()
706 struct slave *tmp; in bond_slave_has_mac_rcu() local
708 bond_for_each_slave_rcu(bond, tmp, iter) in bond_slave_has_mac_rcu()
709 if (ether_addr_equal_64bits(mac, tmp->dev->dev_addr)) in bond_slave_has_mac_rcu()