Lines Matching refs:slave_dev
346 struct net_device *slave_dev = slave->dev; in eql_slave_xmit() local
348 skb->dev = slave_dev; in eql_slave_xmit()
415 struct net_device *slave_dev; in eql_enslave() local
421 slave_dev = __dev_get_by_name(&init_net, srq.slave_name); in eql_enslave()
422 if (!slave_dev) in eql_enslave()
427 if (!eql_is_master(slave_dev) && !eql_is_slave(slave_dev)) { in eql_enslave()
435 s->dev = slave_dev; in eql_enslave()
457 struct net_device *slave_dev; in eql_emancipate() local
464 slave_dev = __dev_get_by_name(&init_net, srq.slave_name); in eql_emancipate()
465 if (!slave_dev) in eql_emancipate()
470 if (eql_is_slave(slave_dev)) { in eql_emancipate()
471 slave_t *slave = __eql_find_slave_dev(&eql->queue, slave_dev); in eql_emancipate()
486 struct net_device *slave_dev; in eql_g_slave_cfg() local
493 slave_dev = __dev_get_by_name(&init_net, sc.slave_name); in eql_g_slave_cfg()
494 if (!slave_dev) in eql_g_slave_cfg()
500 if (eql_is_slave(slave_dev)) { in eql_g_slave_cfg()
501 slave = __eql_find_slave_dev(&eql->queue, slave_dev); in eql_g_slave_cfg()
519 struct net_device *slave_dev; in eql_s_slave_cfg() local
526 slave_dev = __dev_get_by_name(&init_net, sc.slave_name); in eql_s_slave_cfg()
527 if (!slave_dev) in eql_s_slave_cfg()
534 if (eql_is_slave(slave_dev)) { in eql_s_slave_cfg()
535 slave = __eql_find_slave_dev(&eql->queue, slave_dev); in eql_s_slave_cfg()