Home
last modified time | relevance | path

Searched refs:nsproxy (Results 1 – 17 of 17) sorted by relevance

/net/core/
Dnet_namespace.c691 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 …]
Dnetpoll.c685 struct net *net = current->nsproxy->net_ns; in netpoll_setup()
Dnet-sysfs.c1834 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()
Dpktgen.c518 struct pktgen_net *pn = net_generic(current->nsproxy->net_ns, pg_net_id); in pgctrl_write()
Ddev.c9721 struct net *net = current->nsproxy->net_ns; in bpf_xdp_link_attach()
/net/sctp/
Dsysctl.c383 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()
Dsocket.c5635 if (!net_eq(current->nsproxy->net_ns, sock_net(sk))) in sctp_do_peeloff()
/net/
Dsysctl_net.c33 return &current->nsproxy->net_ns->sysctls; in net_ctl_header_lookup()
38 return &current->nsproxy->net_ns->sysctls == set; in is_seen()
Dsocket.c1549 return __sock_create(current->nsproxy->net_ns, family, type, protocol, res, 0); in sock_create()
/net/bpf/
Dtest_run.c566 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/
Dtrans_fd.c1013 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/
Dtcp.c671 struct net *net = current->nsproxy->net_ns; in rds_tcp_skbuf_handler()
/net/ceph/
Dceph_common.c144 if (!net_eq(current->nsproxy->net_ns, read_pnet(&client->msgr.net))) in ceph_compare_options()
Dmessenger.c1225 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/
Ddevinet.c2693 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/
Dnf_conntrack_core.c2682 if (current->nsproxy->net_ns != &init_net) in nf_conntrack_set_hashsize()
/net/ipv6/
Daddrconf.c7204 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()