• Home
  • Raw
  • Download

Lines Matching defs:net

57 static int net_assign_generic(struct net *net, int id, void *data)  in net_assign_generic()
94 static int ops_init(const struct pernet_operations *ops, struct net *net) in ops_init()
121 static void ops_free(const struct pernet_operations *ops, struct net *net) in ops_free()
132 struct net *net; in ops_exit_list() local
144 struct net *net; in ops_free_list() local
151 static int alloc_netid(struct net *net, struct net *peer, int reqid) in alloc_netid()
171 static int net_eq_idr(int id, void *net, void *peer) in net_eq_idr()
178 static int __peernet2id(struct net *net, struct net *peer, bool alloc) in __peernet2id()
199 int peernet2id(struct net *net, struct net *peer) in peernet2id()
206 struct net *get_net_ns_by_id(struct net *net, int id) in get_net_ns_by_id()
225 static __net_init int setup_net(struct net *net, struct user_namespace *user_ns) in setup_net()
274 struct net *net = NULL; in net_alloc() local
294 static void net_free(struct net *net) in net_free()
317 struct net *net; in copy_net_ns() local
351 struct net *net, *tmp; in cleanup_net() local
409 void __put_net(struct net *net) in __put_net()
426 struct net *net; in get_net_ns_by_fd() local
452 struct net *net; in get_net_ns_by_pid() local
471 static __net_init int net_ns_net_init(struct net *net) in net_ns_net_init()
476 static __net_exit void net_ns_net_exit(struct net *net) in net_ns_net_exit()
495 struct net *net = sock_net(skb->sk); in rtnl_net_newid() local
538 int cmd, struct net *net, struct net *peer) in rtnl_net_fill()
569 struct net *net = sock_net(skb->sk); in rtnl_net_getid() local
655 struct net *net; in __register_pernet_operations() local
680 struct net *net; in __unregister_pernet_operations() local
845 struct net *net = NULL; in netns_get() local
864 struct net *net = ns; in netns_install() local
877 struct net *net = ns; in netns_inum() local