Symbol: nsproxy
arch/arm/kernel/sys_oabi-compat.c
347
ns = current->nsproxy->ipc_ns;
drivers/android/binder/rust_binderfs.c
650
info->ipc_ns = get_ipc_ns(current->nsproxy->ipc_ns);
drivers/android/binderfs.c
646
info->ipc_ns = get_ipc_ns(current->nsproxy->ipc_ns);
drivers/infiniband/core/cma.c
1074
ret = __rdma_create_id(current->nsproxy->net_ns, event_handler, context,
drivers/infiniband/core/device.c
1771
ret = rdma_dev_change_netns(dev, current->nsproxy->net_ns, net);
drivers/infiniband/core/user_mad.c
1016
if (!rdma_dev_access_netns(port->ib_dev, current->nsproxy->net_ns)) {
drivers/infiniband/core/user_mad.c
1113
if (!rdma_dev_access_netns(port->ib_dev, current->nsproxy->net_ns)) {
drivers/infiniband/core/uverbs_main.c
893
if (!rdma_dev_access_netns(ib_dev, current->nsproxy->net_ns)) {
drivers/net/mctp/mctp-i2c.c
886
dev_net_set(ndev, current->nsproxy->net_ns);
drivers/net/netdevsim/bus.c
466
nsim_bus_dev->initial_net = current->nsproxy->net_ns;
drivers/net/netkit.c
1008
dev = netkit_dev_fetch(current->nsproxy->net_ns,
drivers/net/netkit.c
753
dev = netkit_dev_fetch(current->nsproxy->net_ns, attr->target_ifindex,
drivers/net/netkit.c
793
dev = netkit_dev_fetch(current->nsproxy->net_ns, attr->target_ifindex,
drivers/net/netkit.c
824
dev = netkit_dev_fetch(current->nsproxy->net_ns,
drivers/net/ppp/ppp_generic.c
2902
return ppp_register_net_channel(current->nsproxy->net_ns, chan);
drivers/net/ppp/ppp_generic.c
731
err = ppp_unattached_ioctl(current->nsproxy->net_ns,
drivers/net/ppp/ppp_generic.c
770
pn = ppp_pernet(current->nsproxy->net_ns);
drivers/net/tap.c
448
struct net *net = current->nsproxy->net_ns;
drivers/net/tun.c
3401
struct net *net = current->nsproxy->net_ns;
drivers/nvme/host/tcp.c
1798
ret = sock_create_kern(current->nsproxy->net_ns,
drivers/vhost/vsock.c
718
net = current->nsproxy->net_ns;
fs/autofs/dev-ioctl.c
366
sbi->mnt_ns_id = to_ns_common(current->nsproxy->mnt_ns)->ns_id;
fs/autofs/inode.c
254
sbi->mnt_ns_id = to_ns_common(current->nsproxy->mnt_ns)->ns_id;
fs/autofs/root.c
348
if (sbi->mnt_ns_id != to_ns_common(current->nsproxy->mnt_ns)->ns_id) {
fs/coredump.c
1437
if (current->nsproxy->mnt_ns != init_task.nsproxy->mnt_ns)
fs/devpts/inode.c
435
current->nsproxy->mnt_ns == init_task.nsproxy->mnt_ns)
fs/fs_context.c
276
fc->net_ns = get_net(current->nsproxy->net_ns);
fs/lockd/procfs.c
25
struct lockd_net *ln = net_generic(current->nsproxy->net_ns,
fs/lockd/procfs.c
52
struct lockd_net *ln = net_generic(current->nsproxy->net_ns,
fs/namespace.c
2009
return ns_capable(current->nsproxy->mnt_ns->user_ns, CAP_SYS_ADMIN);
fs/namespace.c
2159
return current->nsproxy->mnt_ns->ns.ns_id >= mnt_ns->ns.ns_id;
fs/namespace.c
2567
struct user_namespace *user_ns = current->nsproxy->mnt_ns->user_ns;
fs/namespace.c
3039
struct mnt_namespace *ns, *mnt_ns = current->nsproxy->mnt_ns, *src_mnt_ns;
fs/namespace.c
3102
struct mnt_namespace *ns = current->nsproxy->mnt_ns;
fs/namespace.c
4529
ns = alloc_mnt_ns(current->nsproxy->mnt_ns->user_ns, true);
fs/namespace.c
4732
touch_mnt_namespace(current->nsproxy->mnt_ns);
fs/namespace.c
5681
if (ns == current->nsproxy->mnt_ns) {
fs/namespace.c
5954
mnt_ns = current->nsproxy->mnt_ns;
fs/namespace.c
5990
if (kreq.mnt_ns_id && (ns != current->nsproxy->mnt_ns) &&
fs/namespace.c
6153
if (kreq.mnt_ns_id && (kls.ns != current->nsproxy->mnt_ns) &&
fs/namespace.c
6232
init_task.nsproxy->mnt_ns = &init_mnt_ns;
fs/namespace.c
6344
root = topmost_overmount(current->nsproxy->mnt_ns->root);
fs/namespace.c
6418
struct mnt_namespace *ns = current->nsproxy->mnt_ns;
fs/namespace.c
6461
struct nsproxy *nsproxy;
fs/namespace.c
6464
nsproxy = task->nsproxy;
fs/namespace.c
6465
if (nsproxy) {
fs/namespace.c
6466
ns = &nsproxy->mnt_ns->ns;
fs/namespace.c
6481
struct nsproxy *nsproxy = nsset->nsproxy;
fs/namespace.c
6500
old_mnt_ns = nsproxy->mnt_ns;
fs/namespace.c
6501
nsproxy->mnt_ns = mnt_ns;
fs/namespace.c
6508
nsproxy->mnt_ns = old_mnt_ns;
fs/namespace.c
841
struct mnt_namespace *ns = current->nsproxy->mnt_ns;
fs/namespace.c
949
return mnt->mnt_ns == current->nsproxy->mnt_ns;
fs/namespace.c
960
return !seq || (seq == current->nsproxy->mnt_ns->ns.ns_id);
fs/nfsd/export.c
254
nfsd_file_cache_purge(current->nsproxy->net_ns);
fs/nfsd/nfsctl.c
1289
struct nfsd_net *nn = net_generic(current->nsproxy->net_ns,
fs/nfsd/nfsctl.c
1383
return exports_net_open(current->nsproxy->net_ns, file);
fs/nsfs.c
691
void nsproxy_ns_active_get(struct nsproxy *ns)
fs/nsfs.c
703
void nsproxy_ns_active_put(struct nsproxy *ns)
fs/pidfs.c
533
struct nsproxy *nsp __free(put_nsproxy) = NULL;
fs/pidfs.c
559
nsp = task->nsproxy;
fs/proc/proc_net.c
100
p->net = get_net_track(current->nsproxy->net_ns, &p->ns_tracker,
fs/proc/proc_net.c
272
struct nsproxy *ns;
fs/proc/proc_net.c
280
ns = task->nsproxy;
fs/proc_namespace.c
238
struct nsproxy *nsp;
fs/proc_namespace.c
249
nsp = task->nsproxy;
fs/smb/client/connect.c
1634
if (!net_eq(cifs_net_ns(server), current->nsproxy->net_ns))
fs/smb/client/connect.c
1786
cifs_set_net_ns(tcp_ses, get_net(current->nsproxy->net_ns));
fs/smb/client/dns_resolve.c
28
rc = dns_query(current->nsproxy->net_ns, NULL, name,
fs/smb/server/transport_rdma.c
377
struct net *net = current->nsproxy->net_ns;
fs/smb/server/transport_tcp.c
464
ret = sock_create_kern(current->nsproxy->net_ns, PF_INET6, SOCK_STREAM,
fs/smb/server/transport_tcp.c
469
ret = sock_create_kern(current->nsproxy->net_ns, PF_INET,
include/linux/init_task.h
27
extern struct nsproxy init_nsproxy;
include/linux/nsfs.h
29
struct cgroup_namespace *: current->nsproxy->cgroup_ns, \
include/linux/nsfs.h
30
struct ipc_namespace *: current->nsproxy->ipc_ns, \
include/linux/nsfs.h
31
struct net *: current->nsproxy->net_ns, \
include/linux/nsfs.h
33
struct mnt_namespace *: current->nsproxy->mnt_ns, \
include/linux/nsfs.h
34
struct time_namespace *: current->nsproxy->time_ns, \
include/linux/nsfs.h
36
struct uts_namespace *: current->nsproxy->uts_ns)
include/linux/nsfs.h
40
void nsproxy_ns_active_get(struct nsproxy *ns);
include/linux/nsfs.h
41
void nsproxy_ns_active_put(struct nsproxy *ns);
include/linux/nsproxy.h
100
void switch_task_namespaces(struct task_struct *tsk, struct nsproxy *new);
include/linux/nsproxy.h
102
void deactivate_nsproxy(struct nsproxy *ns);
include/linux/nsproxy.h
103
int unshare_nsproxy_namespaces(unsigned long, struct nsproxy **,
include/linux/nsproxy.h
107
static inline void put_nsproxy(struct nsproxy *ns)
include/linux/nsproxy.h
113
static inline void get_nsproxy(struct nsproxy *ns)
include/linux/nsproxy.h
118
DEFINE_FREE(put_nsproxy, struct nsproxy *, if (_T) put_nsproxy(_T))
include/linux/nsproxy.h
43
extern struct nsproxy init_nsproxy;
include/linux/nsproxy.h
56
struct nsproxy *nsproxy;
include/linux/sched.h
1205
struct nsproxy *nsproxy;
include/linux/sched.h
72
struct nsproxy;
include/linux/sysctl.h
35
struct nsproxy;
include/linux/time_namespace.h
106
struct time_namespace *ns = current->nsproxy->time_ns;
include/linux/time_namespace.h
139
static inline void timens_on_fork(struct nsproxy *nsproxy,
include/linux/time_namespace.h
55
void timens_on_fork(struct nsproxy *nsproxy, struct task_struct *tsk);
include/linux/time_namespace.h
75
struct timens_offsets *ns_offsets = &current->nsproxy->time_ns->offsets;
include/linux/time_namespace.h
82
struct timens_offsets *ns_offsets = &current->nsproxy->time_ns->offsets;
include/linux/time_namespace.h
89
struct timens_offsets *ns_offsets = &current->nsproxy->time_ns->offsets;
include/linux/time_namespace.h
96
struct timens_offsets *ns_offsets = &current->nsproxy->time_ns->offsets;
include/linux/utsname.h
31
return &current->nsproxy->uts_ns->name;
init/init_task.c
172
.nsproxy = &init_nsproxy,
io_uring/zcrx.c
823
ifq->netdev = netdev_get_by_index_lock(current->nsproxy->net_ns,
ipc/ipc_sysctl.c
185
return &current->nsproxy->ipc_ns->ipc_set;
ipc/ipc_sysctl.c
190
return &current->nsproxy->ipc_ns->ipc_set == set;
ipc/mq_sysctl.c
71
return &current->nsproxy->ipc_ns->mq_set;
ipc/mq_sysctl.c
76
return &current->nsproxy->ipc_ns->mq_set == set;
ipc/mqueue.c
456
ctx->ipc_ns = get_ipc_ns(current->nsproxy->ipc_ns);
ipc/mqueue.c
914
struct vfsmount *mnt = current->nsproxy->ipc_ns->mq_mnt;
ipc/mqueue.c
945
struct ipc_namespace *ipc_ns = current->nsproxy->ipc_ns;
ipc/msg.c
1107
ns = current->nsproxy->ipc_ns;
ipc/msg.c
307
ns = current->nsproxy->ipc_ns;
ipc/msg.c
606
ns = current->nsproxy->ipc_ns;
ipc/msg.c
738
ns = current->nsproxy->ipc_ns;
ipc/msg.c
857
ns = current->nsproxy->ipc_ns;
ipc/namespace.c
217
struct nsproxy *nsproxy;
ipc/namespace.c
220
nsproxy = task->nsproxy;
ipc/namespace.c
221
if (nsproxy)
ipc/namespace.c
222
ns = get_ipc_ns(nsproxy->ipc_ns);
ipc/namespace.c
235
struct nsproxy *nsproxy = nsset->nsproxy;
ipc/namespace.c
241
put_ipc_ns(nsproxy->ipc_ns);
ipc/namespace.c
242
nsproxy->ipc_ns = get_ipc_ns(ns);
ipc/sem.c
1661
ns = current->nsproxy->ipc_ns;
ipc/sem.c
1781
ns = current->nsproxy->ipc_ns;
ipc/sem.c
2230
ns = current->nsproxy->ipc_ns;
ipc/sem.c
2380
sma = sem_obtain_object_check(tsk->nsproxy->ipc_ns, semid);
ipc/sem.c
612
ns = current->nsproxy->ipc_ns;
ipc/shm.c
1253
ns = current->nsproxy->ipc_ns;
ipc/shm.c
1445
ns = current->nsproxy->ipc_ns;
ipc/shm.c
1582
ns = current->nsproxy->ipc_ns;
ipc/shm.c
840
ns = current->nsproxy->ipc_ns;
ipc/util.c
906
iter->ns = get_ipc_ns(current->nsproxy->ipc_ns);
kernel/bpf/cgroup_iter.c
259
current->nsproxy->cgroup_ns);
kernel/bpf/devmap.c
1054
return __dev_map_hash_update_elem(current->nsproxy->net_ns,
kernel/bpf/devmap.c
994
return __dev_map_update_elem(current->nsproxy->net_ns,
kernel/bpf/net_namespace.c
311
net = current->nsproxy->net_ns;
kernel/bpf/net_namespace.c
400
ret = __netns_bpf_prog_detach(current->nsproxy->net_ns, type, prog);
kernel/bpf/offload.c
242
netdev = dev_get_by_index(current->nsproxy->net_ns, attr->prog_ifindex);
kernel/bpf/offload.c
505
struct net *net = current->nsproxy->net_ns;
kernel/bpf/tcx.c
125
struct net *net = current->nsproxy->net_ns;
kernel/bpf/tcx.c
13
struct net *net = current->nsproxy->net_ns;
kernel/bpf/tcx.c
312
struct net *net = current->nsproxy->net_ns;
kernel/bpf/tcx.c
62
struct net *net = current->nsproxy->net_ns;
kernel/cgroup/cgroup.c
1473
cset = current->nsproxy->cgroup_ns->root_cset;
kernel/cgroup/cgroup.c
1501
if (current->nsproxy) {
kernel/cgroup/cgroup.c
1502
cset = current->nsproxy->cgroup_ns->root_cset;
kernel/cgroup/cgroup.c
2043
if (current->nsproxy->cgroup_ns == &init_cgroup_ns) {
kernel/cgroup/cgroup.c
2353
ctx->ns = current->nsproxy->cgroup_ns;
kernel/cgroup/cgroup.c
4265
ctx->ns = current->nsproxy->cgroup_ns;
kernel/cgroup/cgroup.c
6670
current->nsproxy->cgroup_ns);
kernel/cgroup/cgroup.c
6835
current->nsproxy->cgroup_ns);
kernel/cgroup/cgroup.c
7035
struct css_set *rcset = child->nsproxy->cgroup_ns->root_cset;
kernel/cgroup/cgroup.c
7038
child->nsproxy->cgroup_ns->root_cset = cset;
kernel/cgroup/cpuset-v1.c
431
current->nsproxy->cgroup_ns);
kernel/cgroup/namespace.c
102
if (cgroup_ns == nsproxy->cgroup_ns)
kernel/cgroup/namespace.c
106
put_cgroup_ns(nsproxy->cgroup_ns);
kernel/cgroup/namespace.c
107
nsproxy->cgroup_ns = cgroup_ns;
kernel/cgroup/namespace.c
115
struct nsproxy *nsproxy;
kernel/cgroup/namespace.c
118
nsproxy = task->nsproxy;
kernel/cgroup/namespace.c
119
if (nsproxy) {
kernel/cgroup/namespace.c
120
ns = nsproxy->cgroup_ns;
kernel/cgroup/namespace.c
94
struct nsproxy *nsproxy = nsset->nsproxy;
kernel/fork.c
2005
struct nsproxy *nsp = current->nsproxy;
kernel/fork.c
2305
pid = alloc_pid(p->nsproxy->pid_ns_for_children, args->set_tid,
kernel/fork.c
3222
struct nsproxy *new_nsproxy = NULL;
kernel/nsproxy.c
106
new_nsp->uts_ns = copy_utsname(flags, user_ns, tsk->nsproxy->uts_ns);
kernel/nsproxy.c
112
new_nsp->ipc_ns = copy_ipcs(flags, user_ns, tsk->nsproxy->ipc_ns);
kernel/nsproxy.c
119
copy_pid_ns(flags, user_ns, tsk->nsproxy->pid_ns_for_children);
kernel/nsproxy.c
126
tsk->nsproxy->cgroup_ns);
kernel/nsproxy.c
132
new_nsp->net_ns = copy_net_ns(flags, user_ns, tsk->nsproxy->net_ns);
kernel/nsproxy.c
139
tsk->nsproxy->time_ns_for_children);
kernel/nsproxy.c
144
new_nsp->time_ns = get_time_ns(tsk->nsproxy->time_ns);
kernel/nsproxy.c
171
struct nsproxy *old_ns = tsk->nsproxy;
kernel/nsproxy.c
173
struct nsproxy *new_ns;
kernel/nsproxy.c
203
tsk->nsproxy = new_ns;
kernel/nsproxy.c
212
struct nsproxy **new_nsp, struct cred *new_cred, struct fs_struct *new_fs)
kernel/nsproxy.c
245
void switch_task_namespaces(struct task_struct *p, struct nsproxy *new)
kernel/nsproxy.c
247
struct nsproxy *ns;
kernel/nsproxy.c
255
ns = p->nsproxy;
kernel/nsproxy.c
256
p->nsproxy = new;
kernel/nsproxy.c
287
struct nsproxy *new;
kernel/nsproxy.c
289
if (tsk->nsproxy->time_ns_for_children == tsk->nsproxy->time_ns)
kernel/nsproxy.c
34
struct nsproxy init_nsproxy = {
kernel/nsproxy.c
350
if (nsset->nsproxy)
kernel/nsproxy.c
351
nsproxy_free(nsset->nsproxy);
kernel/nsproxy.c
358
nsset->nsproxy = create_new_namespaces(0, me, current_user_ns(), me->fs);
kernel/nsproxy.c
359
if (IS_ERR(nsset->nsproxy))
kernel/nsproxy.c
360
return PTR_ERR(nsset->nsproxy);
kernel/nsproxy.c
404
struct nsproxy *nsp;
kernel/nsproxy.c
421
nsp = tsk->nsproxy;
kernel/nsproxy.c
54
static inline struct nsproxy *create_nsproxy(void)
kernel/nsproxy.c
56
struct nsproxy *nsproxy;
kernel/nsproxy.c
561
timens_commit(me, nsset->nsproxy->time_ns);
kernel/nsproxy.c
565
switch_task_namespaces(me, nsset->nsproxy);
kernel/nsproxy.c
566
nsset->nsproxy = NULL;
kernel/nsproxy.c
58
nsproxy = kmem_cache_alloc(nsproxy_cachep, GFP_KERNEL);
kernel/nsproxy.c
59
if (nsproxy)
kernel/nsproxy.c
60
refcount_set(&nsproxy->count, 1);
kernel/nsproxy.c
61
return nsproxy;
kernel/nsproxy.c
611
nsproxy_cachep = KMEM_CACHE(nsproxy, SLAB_PANIC|SLAB_ACCOUNT);
kernel/nsproxy.c
64
static inline void nsproxy_free(struct nsproxy *ns)
kernel/nsproxy.c
77
void deactivate_nsproxy(struct nsproxy *ns)
kernel/nsproxy.c
88
static struct nsproxy *create_new_namespaces(u64 flags,
kernel/nsproxy.c
92
struct nsproxy *new_nsp;
kernel/nsproxy.c
99
new_nsp->mnt_ns = copy_mnt_ns(flags, tsk->nsproxy->mnt_ns,
kernel/pid_namespace.c
366
if (task->nsproxy) {
kernel/pid_namespace.c
367
ns = task->nsproxy->pid_ns_for_children;
kernel/pid_namespace.c
394
struct nsproxy *nsproxy = nsset->nsproxy;
kernel/pid_namespace.c
413
put_pid_ns(nsproxy->pid_ns_for_children);
kernel/pid_namespace.c
414
nsproxy->pid_ns_for_children = get_pid_ns(new);
kernel/sys.c
1424
if (!ns_capable(current->nsproxy->uts_ns->user_ns, CAP_SYS_ADMIN))
kernel/sys.c
1478
if (!ns_capable(current->nsproxy->uts_ns->user_ns, CAP_SYS_ADMIN))
kernel/time/namespace.c
159
struct nsproxy *nsproxy;
kernel/time/namespace.c
162
nsproxy = task->nsproxy;
kernel/time/namespace.c
163
if (!nsproxy)
kernel/time/namespace.c
166
ns = nsproxy->time_ns;
kernel/time/namespace.c
174
struct nsproxy *nsproxy;
kernel/time/namespace.c
177
nsproxy = task->nsproxy;
kernel/time/namespace.c
178
if (!nsproxy)
kernel/time/namespace.c
181
ns = nsproxy->time_ns_for_children;
kernel/time/namespace.c
193
struct nsproxy *nsproxy = nsset->nsproxy;
kernel/time/namespace.c
204
put_time_ns(nsproxy->time_ns);
kernel/time/namespace.c
205
nsproxy->time_ns = ns;
kernel/time/namespace.c
208
put_time_ns(nsproxy->time_ns_for_children);
kernel/time/namespace.c
209
nsproxy->time_ns_for_children = ns;
kernel/time/namespace.c
213
void timens_on_fork(struct nsproxy *nsproxy, struct task_struct *tsk)
kernel/time/namespace.c
215
struct ns_common *nsc = &nsproxy->time_ns_for_children->ns;
kernel/time/namespace.c
219
if (nsproxy->time_ns == nsproxy->time_ns_for_children)
kernel/time/namespace.c
223
put_time_ns(nsproxy->time_ns);
kernel/time/namespace.c
224
nsproxy->time_ns = ns;
kernel/time/namespace_vdso.c
74
return current->nsproxy->time_ns->vvar_page;
kernel/utsname.c
109
struct nsproxy *nsproxy;
kernel/utsname.c
112
nsproxy = task->nsproxy;
kernel/utsname.c
113
if (nsproxy) {
kernel/utsname.c
114
ns = nsproxy->uts_ns;
kernel/utsname.c
129
struct nsproxy *nsproxy = nsset->nsproxy;
kernel/utsname.c
137
put_uts_ns(nsproxy->uts_ns);
kernel/utsname.c
138
nsproxy->uts_ns = ns;
kernel/utsname_sysctl.c
23
uts_ns = current->nsproxy->uts_ns;
net/9p/trans_fd.c
890
err = inet_pton_with_scope(current->nsproxy->net_ns, AF_UNSPEC, addr,
net/9p/trans_fd.c
899
err = __sock_create(current->nsproxy->net_ns, stor.ss_family,
net/9p/trans_fd.c
949
err = __sock_create(current->nsproxy->net_ns, PF_UNIX,
net/bpf/test_run.c
1040
struct net *net = current->nsproxy->net_ns;
net/bpf/test_run.c
1293
device = dev_get_by_index(current->nsproxy->net_ns,
net/bpf/test_run.c
1412
rxqueue = __netif_get_rx_queue(current->nsproxy->net_ns->loopback_dev, 0);
net/bpf/test_run.c
1780
struct net *net = current->nsproxy->net_ns;
net/ceph/ceph_common.c
144
if (!net_eq(current->nsproxy->net_ns, read_pnet(&client->msgr.net)))
net/ceph/messenger.c
1271
ip_len = dns_query(current->nsproxy->net_ns,
net/ceph/messenger.c
1695
write_pnet(&msgr->net, get_net(current->nsproxy->net_ns));
net/core/dev.c
10676
struct net *net = current->nsproxy->net_ns;
net/core/net-sysfs.c
2162
struct net *net = current->nsproxy->net_ns;
net/core/net-sysfs.c
2169
struct net *net = current->nsproxy->net_ns;
net/core/net_namespace.c
1513
struct nsproxy *nsproxy;
net/core/net_namespace.c
1516
nsproxy = task->nsproxy;
net/core/net_namespace.c
1517
if (nsproxy)
net/core/net_namespace.c
1518
net = get_net(nsproxy->net_ns);
net/core/net_namespace.c
1531
struct nsproxy *nsproxy = nsset->nsproxy;
net/core/net_namespace.c
1538
put_net(nsproxy->net_ns);
net/core/net_namespace.c
1539
nsproxy->net_ns = get_net(net);
net/core/net_namespace.c
799
struct nsproxy *nsproxy;
net/core/net_namespace.c
801
nsproxy = tsk->nsproxy;
net/core/net_namespace.c
802
if (nsproxy)
net/core/net_namespace.c
803
net = get_net(nsproxy->net_ns);
net/core/netpoll.c
549
struct net *net = current->nsproxy->net_ns;
net/core/pktgen.c
524
struct pktgen_net *pn = net_generic(current->nsproxy->net_ns, pg_net_id);
net/ipv4/devinet.c
2853
memcpy(all, current->nsproxy->net_ns->ipv4.devconf_all,
net/ipv4/devinet.c
2856
current->nsproxy->net_ns->ipv4.devconf_dflt,
net/ipv4/tcp_ipv4.c
3412
old_net = current->nsproxy->net_ns;
net/ipv4/udp.c
3747
old_net = current->nsproxy->net_ns;
net/ipv6/addrconf.c
7461
memcpy(all, current->nsproxy->net_ns->ipv6.devconf_all,
net/ipv6/addrconf.c
7464
current->nsproxy->net_ns->ipv6.devconf_dflt,
net/netfilter/nf_bpf_link.c
212
struct net *net = current->nsproxy->net_ns;
net/netfilter/nf_conntrack_core.c
2611
if (current->nsproxy->net_ns != &init_net)
net/sctp/socket.c
5711
if (!net_eq(current->nsproxy->net_ns, sock_net(sk)))
net/socket.c
1709
return __sock_create(current->nsproxy->net_ns, family, type, protocol, res, 0);
net/sysctl_net.c
33
return &current->nsproxy->net_ns->sysctls;
net/sysctl_net.c
38
return &current->nsproxy->net_ns->sysctls == set;
net/vmw_vsock/af_vsock.c
2973
net->vsock.mode = vsock_net_child_mode(current->nsproxy->net_ns);
security/keys/keyring.c
223
index_key->domain_tag = current->nsproxy->net_ns->key_domain;
tools/testing/selftests/bpf/progs/bpf_smc.c
112
struct net___local *net = (struct net___local *)task->nsproxy->net_ns;
tools/testing/selftests/bpf/progs/profiler.inc.h
254
BPF_CORE_READ(task, nsproxy, cgroup_ns, root_cset, dfl_cgrp, kn);
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1071
err = sock_create_kern(current->nsproxy->net_ns, args->af, args->type,