Lines Matching refs:slave
14 struct slave *slave; in bond_info_seq_start() local
22 bond_for_each_slave_rcu(bond, slave, iter) in bond_info_seq_start()
24 return slave; in bond_info_seq_start()
33 struct slave *slave; in bond_info_seq_next() local
40 bond_for_each_slave_rcu(bond, slave, iter) { in bond_info_seq_next()
42 return slave; in bond_info_seq_next()
43 if (slave == v) in bond_info_seq_next()
60 struct slave *curr, *primary; in bond_info_show_master()
167 const struct slave *slave) in bond_info_show_slave() argument
171 seq_printf(seq, "\nSlave Interface: %s\n", slave->dev->name); in bond_info_show_slave()
172 seq_printf(seq, "MII Status: %s\n", bond_slave_link_status(slave->link)); in bond_info_show_slave()
173 if (slave->speed == SPEED_UNKNOWN) in bond_info_show_slave()
176 seq_printf(seq, "Speed: %d Mbps\n", slave->speed); in bond_info_show_slave()
178 if (slave->duplex == DUPLEX_UNKNOWN) in bond_info_show_slave()
181 seq_printf(seq, "Duplex: %s\n", slave->duplex ? "full" : "half"); in bond_info_show_slave()
184 slave->link_failure_count); in bond_info_show_slave()
186 seq_printf(seq, "Permanent HW addr: %pM\n", slave->perm_hwaddr); in bond_info_show_slave()
187 seq_printf(seq, "Slave queue ID: %d\n", slave->queue_id); in bond_info_show_slave()
190 const struct port *port = &SLAVE_AD_INFO(slave)->port; in bond_info_show_slave()