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()
436 s->dev = slave_dev; in eql_enslave()
458 struct net_device *slave_dev; in eql_emancipate() local
465 slave_dev = __dev_get_by_name(&init_net, srq.slave_name); in eql_emancipate()
466 if (!slave_dev) in eql_emancipate()
471 if (eql_is_slave(slave_dev)) { in eql_emancipate()
472 slave_t *slave = __eql_find_slave_dev(&eql->queue, slave_dev); in eql_emancipate()
487 struct net_device *slave_dev; in eql_g_slave_cfg() local
494 slave_dev = __dev_get_by_name(&init_net, sc.slave_name); in eql_g_slave_cfg()
495 if (!slave_dev) in eql_g_slave_cfg()
501 if (eql_is_slave(slave_dev)) { in eql_g_slave_cfg()
502 slave = __eql_find_slave_dev(&eql->queue, slave_dev); in eql_g_slave_cfg()
520 struct net_device *slave_dev; in eql_s_slave_cfg() local
527 slave_dev = __dev_get_by_name(&init_net, sc.slave_name); in eql_s_slave_cfg()
528 if (!slave_dev) in eql_s_slave_cfg()
535 if (eql_is_slave(slave_dev)) { in eql_s_slave_cfg()
536 slave = __eql_find_slave_dev(&eql->queue, slave_dev); in eql_s_slave_cfg()