Lines Matching defs:net

190 static inline void dev_base_seq_inc(struct net *net)  in dev_base_seq_inc()
195 static inline struct hlist_head *dev_name_hash(struct net *net, const char *name) in dev_name_hash()
202 static inline struct hlist_head *dev_index_hash(struct net *net, int ifindex) in dev_index_hash()
224 struct net *net = dev_net(dev); in list_netdevice() local
723 struct net_device *__dev_get_by_name(struct net *net, const char *name) in __dev_get_by_name()
748 struct net_device *dev_get_by_name_rcu(struct net *net, const char *name) in dev_get_by_name_rcu()
773 struct net_device *dev_get_by_name(struct net *net, const char *name) in dev_get_by_name()
798 struct net_device *__dev_get_by_index(struct net *net, int ifindex) in __dev_get_by_index()
822 struct net_device *dev_get_by_index_rcu(struct net *net, int ifindex) in dev_get_by_index_rcu()
847 struct net_device *dev_get_by_index(struct net *net, int ifindex) in dev_get_by_index()
870 int netdev_get_name(struct net *net, char *name, int ifindex) in netdev_get_name()
908 struct net_device *dev_getbyhwaddr_rcu(struct net *net, unsigned short type, in dev_getbyhwaddr_rcu()
922 struct net_device *__dev_getfirstbyhwtype(struct net *net, unsigned short type) in __dev_getfirstbyhwtype()
935 struct net_device *dev_getfirstbyhwtype(struct net *net, unsigned short type) in dev_getfirstbyhwtype()
962 struct net_device *__dev_get_by_flags(struct net *net, unsigned short if_flags, in __dev_get_by_flags()
1021 static int __dev_alloc_name(struct net *net, const char *name, char *buf) in __dev_alloc_name()
1089 struct net *net; in dev_alloc_name() local
1101 static int dev_alloc_name_ns(struct net *net, in dev_alloc_name_ns()
1114 static int dev_get_valid_name(struct net *net, in dev_get_valid_name()
1147 struct net *net; in dev_change_name() local
1535 struct net *net; in register_netdevice_notifier() local
1601 struct net *net; in unregister_netdevice_notifier() local
2957 int dev_loopback_xmit(struct net *net, struct sock *sk, struct sk_buff *skb) in dev_loopback_xmit()
5586 struct net *net = dev_net(dev); in netdev_adjacent_add_links() local
5611 struct net *net = dev_net(dev); in netdev_adjacent_del_links() local
5636 struct net *net = dev_net(dev); in netdev_adjacent_rename_links() local
6186 static int dev_new_index(struct net *net) in dev_new_index()
6621 struct net *net = dev_net(dev); in register_netdevice() local
7308 int dev_change_net_namespace(struct net_device *dev, struct net *net, const char *pat) in dev_change_net_namespace()
7519 static int __net_init netdev_init(struct net *net) in netdev_init()
7623 static void __net_exit netdev_exit(struct net *net) in netdev_exit()
7634 static void __net_exit default_device_exit(struct net *net) in default_device_exit()
7671 struct net *net; in rtnl_lock_unregistering() local
7702 struct net *net; in default_device_exit_batch() local