Lines Matching refs:slave
15 struct slave *slave; in bond_info_seq_start() local
23 bond_for_each_slave_rcu(bond, slave, iter) in bond_info_seq_start()
25 return slave; in bond_info_seq_start()
34 struct slave *slave; in bond_info_seq_next() local
41 bond_for_each_slave_rcu(bond, slave, iter) { in bond_info_seq_next()
43 return slave; in bond_info_seq_next()
44 if (slave == v) in bond_info_seq_next()
61 struct slave *curr, *primary; in bond_info_show_master()
170 const struct slave *slave) in bond_info_show_slave() argument
174 seq_printf(seq, "\nSlave Interface: %s\n", slave->dev->name); in bond_info_show_slave()
175 seq_printf(seq, "MII Status: %s\n", bond_slave_link_status(slave->link)); in bond_info_show_slave()
176 if (slave->speed == SPEED_UNKNOWN) in bond_info_show_slave()
179 seq_printf(seq, "Speed: %d Mbps\n", slave->speed); in bond_info_show_slave()
181 if (slave->duplex == DUPLEX_UNKNOWN) in bond_info_show_slave()
184 seq_printf(seq, "Duplex: %s\n", slave->duplex ? "full" : "half"); in bond_info_show_slave()
187 slave->link_failure_count); in bond_info_show_slave()
190 slave->dev->addr_len, slave->perm_hwaddr); in bond_info_show_slave()
191 seq_printf(seq, "Slave queue ID: %d\n", slave->queue_id); in bond_info_show_slave()
194 const struct port *port = &SLAVE_AD_INFO(slave)->port; in bond_info_show_slave()