Searched refs:first_slave (Results 1 – 4 of 4) sorted by relevance
116 bond_for_each_slave_from(bond, pos, cnt, (bond)->first_slave)189 struct slave *first_slave; member
1088 new_active = bond->first_slave; in bond_find_best_slave()1267 if (bond->first_slave == NULL) { /* attaching the first slave */ in bond_attach_slave()1270 bond->first_slave = new_slave; in bond_attach_slave()1272 new_slave->next = bond->first_slave; in bond_attach_slave()1273 new_slave->prev = bond->first_slave->prev; in bond_attach_slave()1301 if (bond->first_slave == slave) { /* slave is the first slave */ in bond_detach_slave()1303 bond->first_slave = slave->next; in bond_detach_slave()1305 bond->first_slave = NULL; /* slave was the last one */ in bond_detach_slave()1347 if (!bond->first_slave) in bond_compute_features()2033 while ((slave = bond->first_slave) != NULL) { in bond_release_all()[all …]
149 return &(SLAVE_AD_INFO(bond->first_slave).port); in __get_first_port()165 if ((bond == NULL) || (slave->next == bond->first_slave)) { in __get_next_port()188 return &(SLAVE_AD_INFO(bond->first_slave).aggregator); in __get_first_agg()204 if ((bond == NULL) || (slave->next == bond->first_slave)) { in __get_next_agg()2303 if (__get_active_agg(&(SLAVE_AD_INFO(bond->first_slave).aggregator))) { in bond_3ad_set_carrier()
398 start_at = bond->first_slave; in rlb_next_rx_slave()1239 bond_for_each_slave_from_to(bond, slave, i, bond->first_slave, stop_at) { in alb_set_mac_address()