Lines Matching defs:net

188 static inline void dev_base_seq_inc(struct net *net)  in dev_base_seq_inc()
193 static inline struct hlist_head *dev_name_hash(struct net *net, const char *name) in dev_name_hash()
200 static inline struct hlist_head *dev_index_hash(struct net *net, int ifindex) in dev_index_hash()
222 struct net *net = dev_net(dev); in list_netdevice() local
691 struct net_device *__dev_get_by_name(struct net *net, const char *name) in __dev_get_by_name()
716 struct net_device *dev_get_by_name_rcu(struct net *net, const char *name) in dev_get_by_name_rcu()
741 struct net_device *dev_get_by_name(struct net *net, const char *name) in dev_get_by_name()
766 struct net_device *__dev_get_by_index(struct net *net, int ifindex) in __dev_get_by_index()
790 struct net_device *dev_get_by_index_rcu(struct net *net, int ifindex) in dev_get_by_index_rcu()
815 struct net_device *dev_get_by_index(struct net *net, int ifindex) in dev_get_by_index()
838 int netdev_get_name(struct net *net, char *name, int ifindex) in netdev_get_name()
876 struct net_device *dev_getbyhwaddr_rcu(struct net *net, unsigned short type, in dev_getbyhwaddr_rcu()
890 struct net_device *__dev_getfirstbyhwtype(struct net *net, unsigned short type) in __dev_getfirstbyhwtype()
903 struct net_device *dev_getfirstbyhwtype(struct net *net, unsigned short type) in dev_getfirstbyhwtype()
930 struct net_device *__dev_get_by_flags(struct net *net, unsigned short if_flags, in __dev_get_by_flags()
989 static int __dev_alloc_name(struct net *net, const char *name, char *buf) in __dev_alloc_name()
1057 struct net *net; in dev_alloc_name() local
1069 static int dev_alloc_name_ns(struct net *net, in dev_alloc_name_ns()
1082 static int dev_get_valid_name(struct net *net, in dev_get_valid_name()
1115 struct net *net; in dev_change_name() local
1503 struct net *net; in register_netdevice_notifier() local
1569 struct net *net; in unregister_netdevice_notifier() local
5398 struct net *net = dev_net(dev); in netdev_adjacent_add_links() local
5423 struct net *net = dev_net(dev); in netdev_adjacent_del_links() local
5448 struct net *net = dev_net(dev); in netdev_adjacent_rename_links() local
5978 static int dev_new_index(struct net *net) in dev_new_index()
6342 struct net *net = dev_net(dev); in register_netdevice() local
7021 int dev_change_net_namespace(struct net_device *dev, struct net *net, const char *pat) in dev_change_net_namespace()
7232 static int __net_init netdev_init(struct net *net) in netdev_init()
7336 static void __net_exit netdev_exit(struct net *net) in netdev_exit()
7347 static void __net_exit default_device_exit(struct net *net) in default_device_exit()
7384 struct net *net; in rtnl_lock_unregistering() local
7415 struct net *net; in default_device_exit_batch() local