Searched refs:nsproxy (Results 1 – 17 of 17) sorted by relevance
/net/core/ |
D | net_namespace.c | 691 struct nsproxy *nsproxy; in get_net_ns_by_pid() local 693 nsproxy = tsk->nsproxy; in get_net_ns_by_pid() 694 if (nsproxy) in get_net_ns_by_pid() 695 net = get_net(nsproxy->net_ns); in get_net_ns_by_pid() 1334 struct nsproxy *nsproxy; in netns_get() local 1337 nsproxy = task->nsproxy; in netns_get() 1338 if (nsproxy) in netns_get() 1339 net = get_net(nsproxy->net_ns); in netns_get() 1357 struct nsproxy *nsproxy = nsset->nsproxy; in netns_install() local 1364 put_net(nsproxy->net_ns); in netns_install() [all …]
|
D | netpoll.c | 685 struct net *net = current->nsproxy->net_ns; in netpoll_setup()
|
D | net-sysfs.c | 1834 struct net *net = current->nsproxy->net_ns; in net_current_may_mount() 1841 struct net *ns = current->nsproxy->net_ns; in net_grab_current_ns()
|
D | pktgen.c | 518 struct pktgen_net *pn = net_generic(current->nsproxy->net_ns, pg_net_id); in pgctrl_write()
|
D | dev.c | 9721 struct net *net = current->nsproxy->net_ns; in bpf_xdp_link_attach()
|
/net/sctp/ |
D | sysctl.c | 383 struct net *net = current->nsproxy->net_ns; in proc_sctp_do_hmac_alg() 428 struct net *net = current->nsproxy->net_ns; in proc_sctp_do_rto_min() 456 struct net *net = current->nsproxy->net_ns; in proc_sctp_do_rto_max() 494 struct net *net = current->nsproxy->net_ns; in proc_sctp_do_auth() 523 struct net *net = current->nsproxy->net_ns; in proc_sctp_do_udp_port() 564 struct net *net = current->nsproxy->net_ns; in proc_sctp_do_probe_interval()
|
D | socket.c | 5635 if (!net_eq(current->nsproxy->net_ns, sock_net(sk))) in sctp_do_peeloff()
|
/net/ |
D | sysctl_net.c | 33 return ¤t->nsproxy->net_ns->sysctls; in net_ctl_header_lookup() 38 return ¤t->nsproxy->net_ns->sysctls == set; in is_seen()
|
D | socket.c | 1549 return __sock_create(current->nsproxy->net_ns, family, type, protocol, res, 0); in sock_create()
|
/net/bpf/ |
D | test_run.c | 566 struct net *net = current->nsproxy->net_ns; in bpf_prog_test_run_skb() 715 device = dev_get_by_index(current->nsproxy->net_ns, in xdp_convert_md_to_buff() 796 rxqueue = __netif_get_rx_queue(current->nsproxy->net_ns->loopback_dev, 0); in bpf_prog_test_run_xdp()
|
/net/9p/ |
D | trans_fd.c | 1013 err = __sock_create(current->nsproxy->net_ns, PF_INET, in p9_fd_create_tcp() 1064 err = __sock_create(current->nsproxy->net_ns, PF_UNIX, in p9_fd_create_unix()
|
/net/rds/ |
D | tcp.c | 671 struct net *net = current->nsproxy->net_ns; in rds_tcp_skbuf_handler()
|
/net/ceph/ |
D | ceph_common.c | 144 if (!net_eq(current->nsproxy->net_ns, read_pnet(&client->msgr.net))) in ceph_compare_options()
|
D | messenger.c | 1225 ip_len = dns_query(current->nsproxy->net_ns, in ceph_dns_resolve_name() 1648 write_pnet(&msgr->net, get_net(current->nsproxy->net_ns)); in ceph_messenger_init()
|
/net/ipv4/ |
D | devinet.c | 2693 memcpy(all, current->nsproxy->net_ns->ipv4.devconf_all, in devinet_init_net() 2696 current->nsproxy->net_ns->ipv4.devconf_dflt, in devinet_init_net()
|
/net/netfilter/ |
D | nf_conntrack_core.c | 2682 if (current->nsproxy->net_ns != &init_net) in nf_conntrack_set_hashsize()
|
/net/ipv6/ |
D | addrconf.c | 7204 memcpy(all, current->nsproxy->net_ns->ipv6.devconf_all, in addrconf_init_net() 7207 current->nsproxy->net_ns->ipv6.devconf_dflt, in addrconf_init_net()
|