Home
last modified time | relevance | path

Searched refs:new_slave (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/drivers/net/bonding/
Dbond_main.c1185 static void bond_attach_slave(struct bonding *bond, struct slave *new_slave) in bond_attach_slave() argument
1188 new_slave->next = new_slave; in bond_attach_slave()
1189 new_slave->prev = new_slave; in bond_attach_slave()
1190 bond->first_slave = new_slave; in bond_attach_slave()
1192 new_slave->next = bond->first_slave; in bond_attach_slave()
1193 new_slave->prev = bond->first_slave->prev; in bond_attach_slave()
1194 new_slave->next->prev = new_slave; in bond_attach_slave()
1195 new_slave->prev->next = new_slave; in bond_attach_slave()
1511 struct slave *new_slave = NULL; in bond_enslave() local
1626 new_slave = kzalloc(sizeof(struct slave), GFP_KERNEL); in bond_enslave()
[all …]
Dbond_alb.c1581 void bond_alb_handle_active_change(struct bonding *bond, struct slave *new_slave) in bond_alb_handle_active_change() argument
1590 if (bond->curr_active_slave == new_slave) { in bond_alb_handle_active_change()
1601 bond->curr_active_slave = new_slave; in bond_alb_handle_active_change()
1603 if (!new_slave || (bond->slave_cnt == 0)) { in bond_alb_handle_active_change()
1630 tlb_clear_slave(bond, new_slave, 1); in bond_alb_handle_active_change()
1640 alb_swap_mac_addr(bond, swap_slave, new_slave); in bond_alb_handle_active_change()
1643 alb_set_slave_mac_addr(new_slave, bond->dev->dev_addr); in bond_alb_handle_active_change()
1647 alb_fasten_mac_swap(bond, swap_slave, new_slave); in bond_alb_handle_active_change()
1651 alb_send_learning_packets(new_slave, bond->dev->dev_addr); in bond_alb_handle_active_change()
Dbond_alb.h161 void bond_alb_handle_active_change(struct bonding *bond, struct slave *new_slave);