Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/net/bonding/
Dbond_main.c1530 static void bond_attach_slave(struct bonding *bond, struct slave *new_slave) in bond_attach_slave() argument
1533 new_slave->next = new_slave; in bond_attach_slave()
1534 new_slave->prev = new_slave; in bond_attach_slave()
1535 bond->first_slave = new_slave; in bond_attach_slave()
1537 new_slave->next = bond->first_slave; in bond_attach_slave()
1538 new_slave->prev = bond->first_slave->prev; in bond_attach_slave()
1539 new_slave->next->prev = new_slave; in bond_attach_slave()
1540 new_slave->prev->next = new_slave; in bond_attach_slave()
1594 struct slave *new_slave = NULL; in bond_enslave() local
1696 new_slave = kmalloc(sizeof(struct slave), GFP_KERNEL); in bond_enslave()
[all …]
Dbond_alb.c1584 void bond_alb_handle_active_change(struct bonding *bond, struct slave *new_slave) in bond_alb_handle_active_change() argument
1589 if (bond->curr_active_slave == new_slave) { in bond_alb_handle_active_change()
1600 bond->curr_active_slave = new_slave; in bond_alb_handle_active_change()
1602 if (!new_slave || (bond->slave_cnt == 0)) { in bond_alb_handle_active_change()
1624 alb_swap_mac_addr(bond, swap_slave, new_slave); in bond_alb_handle_active_change()
1627 alb_set_slave_mac_addr(new_slave, bond->dev->dev_addr, in bond_alb_handle_active_change()
1630 alb_send_learning_packets(new_slave, bond->dev->dev_addr); in bond_alb_handle_active_change()
Dbond_alb.h135 void bond_alb_handle_active_change(struct bonding *bond, struct slave *new_slave);