Searched refs:net_old (Results 1 – 3 of 3) sorted by relevance
| /linux/net/core/ |
| H A D | net-sysfs.h | 12 int netdev_change_owner(struct net_device *, const struct net *net_old,
|
| H A D | net-sysfs.c | 2369 int netdev_change_owner(struct net_device *ndev, const struct net *net_old, in netdev_change_owner() argument 2377 net_ns_get_ownership(net_old, &old_uid, &old_gid); in netdev_change_owner()
|
| H A D | dev.c | 12643 static void unregister_netdevice_move_net(struct net *net_old, in unregister_netdevice_move_net() argument 12647 if (net_old > net) { in unregister_netdevice_move_net() 12649 spin_lock_nested(&net_old->dev_unreg_lock, SINGLE_DEPTH_NESTING); in unregister_netdevice_move_net() 12651 spin_lock(&net_old->dev_unreg_lock); in unregister_netdevice_move_net() 12660 spin_unlock(&net_old->dev_unreg_lock); in unregister_netdevice_move_net() 12707 struct net *net_old = dev_net(dev); in __dev_change_net_namespace() local 12728 if (net_eq(net_old, net)) in __dev_change_net_namespace() 12840 unregister_netdevice_move_net(net_old, net, dev); in __dev_change_net_namespace() 12863 err = netdev_change_owner(dev, net_old, net); in __dev_change_net_namespace()
|