/linux-master/fs/lockd/ |
H A D | procfs.c | 25 struct lockd_net *ln = net_generic(current->nsproxy->net_ns, 52 struct lockd_net *ln = net_generic(current->nsproxy->net_ns,
|
/linux-master/net/rxrpc/ |
H A D | Makefile | 25 net_ns.o \
|
/linux-master/fs/afs/ |
H A D | mntpt.c | 80 if (fc->net_ns != src_as->net_ns) { 81 put_net(fc->net_ns); 82 fc->net_ns = get_net(src_as->net_ns);
|
H A D | main.c | 65 static int __net_init afs_net_init(struct net *net_ns) argument 68 struct afs_net *net = afs_net(net_ns); 71 net->net = net_ns; 147 static void __net_exit afs_net_exit(struct net *net_ns) argument 149 struct afs_net *net = afs_net(net_ns);
|
H A D | super.c | 426 return (as->net_ns == fc->net_ns && 437 return (as->net_ns == fc->net_ns && 514 as->net_ns = get_net(fc->net_ns); 530 struct afs_net *net = afs_net(as->net_ns); 533 put_net(as->net_ns); 642 ctx->net = afs_net(fc->net_ns);
|
/linux-master/kernel/ |
H A D | nsproxy.c | 41 .net_ns = &init_net, 110 new_nsp->net_ns = copy_net_ns(flags, user_ns, tsk->nsproxy->net_ns); 111 if (IS_ERR(new_nsp->net_ns)) { 112 err = PTR_ERR(new_nsp->net_ns); 127 put_net(new_nsp->net_ns); 205 put_net(ns->net_ns); 479 ret = validate_ns(nsset, &nsp->net_ns->ns);
|
/linux-master/fs/smb/client/ |
H A D | dns_resolve.c | 68 rc = dns_query(current->nsproxy->net_ns, NULL, hostname, len,
|
/linux-master/include/linux/ |
H A D | nsproxy.h | 38 struct net *net_ns; member in struct:nsproxy
|
H A D | fs_context.h | 98 struct net *net_ns; /* The network namespace for this mount */ member in struct:fs_context
|
/linux-master/net/ |
H A D | sysctl_net.c | 33 return ¤t->nsproxy->net_ns->sysctls; 38 return ¤t->nsproxy->net_ns->sysctls == set;
|
/linux-master/kernel/bpf/ |
H A D | tcx.c | 13 struct net *net = current->nsproxy->net_ns; 62 struct net *net = current->nsproxy->net_ns; 125 struct net *net = current->nsproxy->net_ns; 312 struct net *net = current->nsproxy->net_ns;
|
H A D | net_namespace.c | 312 net = current->nsproxy->net_ns; 401 ret = __netns_bpf_prog_detach(current->nsproxy->net_ns, type, prog);
|
H A D | offload.c | 251 netdev = dev_get_by_index(current->nsproxy->net_ns, attr->prog_ifindex); 515 struct net *net = current->nsproxy->net_ns;
|
/linux-master/net/sctp/ |
H A D | sysctl.c | 394 struct net *net = current->nsproxy->net_ns; 439 struct net *net = current->nsproxy->net_ns; 467 struct net *net = current->nsproxy->net_ns; 505 struct net *net = current->nsproxy->net_ns; 534 struct net *net = current->nsproxy->net_ns; 575 struct net *net = current->nsproxy->net_ns;
|
/linux-master/fs/nfs/ |
H A D | namespace.c | 172 if (fc->net_ns != client->cl_net) { 173 put_net(fc->net_ns); 174 fc->net_ns = get_net(client->cl_net);
|
H A D | fs_context.c | 825 len = rpc_pton(fc->net_ns, param->string, param->size, 846 len = rpc_pton(fc->net_ns, param->string, param->size, 1617 if (fc->net_ns != net) { 1618 put_net(fc->net_ns); 1619 fc->net_ns = get_net(net);
|
H A D | nfs4namespace.c | 337 fc->net_ns, 0);
|
/linux-master/fs/ |
H A D | fs_context.c | 294 fc->net_ns = get_net(current->nsproxy->net_ns); 407 get_net(fc->net_ns); 523 put_net(fc->net_ns);
|
/linux-master/fs/proc/ |
H A D | proc_net.c | 99 p->net = get_net_track(current->nsproxy->net_ns, &p->ns_tracker, 132 * proc_create_net_data_write - Create a writable net_ns-specific proc file 224 * proc_create_net_single_write - Create a writable net_ns-specific proc file 279 net = get_net(ns->net_ns);
|
/linux-master/drivers/net/ |
H A D | netkit.c | 505 dev = netkit_dev_fetch(current->nsproxy->net_ns, attr->target_ifindex, 545 dev = netkit_dev_fetch(current->nsproxy->net_ns, attr->target_ifindex, 576 dev = netkit_dev_fetch(current->nsproxy->net_ns, 761 dev = netkit_dev_fetch(current->nsproxy->net_ns,
|
/linux-master/fs/nfsd/ |
H A D | nfsctl.c | 1334 struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, 1383 return get_tree_keyed(fc, nfsd_fill_super, get_net(fc->net_ns)); 1400 fc->user_ns = get_user_ns(fc->net_ns->user_ns); 1427 return exports_net_open(current->nsproxy->net_ns, file);
|
/linux-master/net/core/ |
H A D | net_namespace.c | 735 net = get_net(nsproxy->net_ns); 1435 net = get_net(nsproxy->net_ns); 1460 put_net(nsproxy->net_ns); 1461 nsproxy->net_ns = get_net(net);
|
/linux-master/net/netfilter/ |
H A D | nf_bpf_link.c | 209 struct net *net = current->nsproxy->net_ns;
|
/linux-master/drivers/net/netdevsim/ |
H A D | bus.c | 437 nsim_bus_dev->initial_net = current->nsproxy->net_ns;
|
/linux-master/net/bpf/ |
H A D | test_run.c | 960 struct net *net = current->nsproxy->net_ns; 1111 device = dev_get_by_index(current->nsproxy->net_ns, 1217 rxqueue = __netif_get_rx_queue(current->nsproxy->net_ns->loopback_dev, 0); 1583 struct net *net = current->nsproxy->net_ns;
|