Searched refs:net_ns (Results 1 - 25 of 57) sorted by relevance

123

/linux-master/fs/lockd/
H A Dprocfs.c25 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 DMakefile25 net_ns.o \
/linux-master/fs/afs/
H A Dmntpt.c80 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 Dmain.c65 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 Dsuper.c426 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 Dnsproxy.c41 .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 Ddns_resolve.c68 rc = dns_query(current->nsproxy->net_ns, NULL, hostname, len,
/linux-master/include/linux/
H A Dnsproxy.h38 struct net *net_ns; member in struct:nsproxy
H A Dfs_context.h98 struct net *net_ns; /* The network namespace for this mount */ member in struct:fs_context
/linux-master/net/
H A Dsysctl_net.c33 return &current->nsproxy->net_ns->sysctls;
38 return &current->nsproxy->net_ns->sysctls == set;
/linux-master/kernel/bpf/
H A Dtcx.c13 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 Dnet_namespace.c312 net = current->nsproxy->net_ns;
401 ret = __netns_bpf_prog_detach(current->nsproxy->net_ns, type, prog);
H A Doffload.c251 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 Dsysctl.c394 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 Dnamespace.c172 if (fc->net_ns != client->cl_net) {
173 put_net(fc->net_ns);
174 fc->net_ns = get_net(client->cl_net);
H A Dfs_context.c825 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 Dnfs4namespace.c337 fc->net_ns, 0);
/linux-master/fs/
H A Dfs_context.c294 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 Dproc_net.c99 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 Dnetkit.c505 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 Dnfsctl.c1334 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 Dnet_namespace.c735 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 Dnf_bpf_link.c209 struct net *net = current->nsproxy->net_ns;
/linux-master/drivers/net/netdevsim/
H A Dbus.c437 nsim_bus_dev->initial_net = current->nsproxy->net_ns;
/linux-master/net/bpf/
H A Dtest_run.c960 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;

Completed in 280 milliseconds

123