Home
last modified time | relevance | path

Searched refs:net_ns (Results 1 – 18 of 18) sorted by relevance

/fs/afs/
Dmntpt.c80 if (fc->net_ns != src_as->net_ns) { in afs_mntpt_set_params()
81 put_net(fc->net_ns); in afs_mntpt_set_params()
82 fc->net_ns = get_net(src_as->net_ns); in afs_mntpt_set_params()
Dmain.c67 static int __net_init afs_net_init(struct net *net_ns) in afs_net_init() argument
70 struct afs_net *net = afs_net(net_ns); in afs_net_init()
73 net->net = net_ns; in afs_net_init()
150 static void __net_exit afs_net_exit(struct net *net_ns) in afs_net_exit() argument
152 struct afs_net *net = afs_net(net_ns); in afs_net_exit()
Dsuper.c425 return (as->net_ns == fc->net_ns && in afs_test_super()
436 return (as->net_ns == fc->net_ns && in afs_dynroot_test_super()
513 as->net_ns = get_net(fc->net_ns); in afs_alloc_sbi()
529 struct afs_net *net = afs_net(as->net_ns); in afs_destroy_sbi()
532 put_net(as->net_ns); in afs_destroy_sbi()
641 ctx->net = afs_net(fc->net_ns); in afs_init_fs_context()
Dinternal.h226 struct net *net_ns; /* Network namespace */ member
1203 return afs_net(AFS_FS_S(sb)->net_ns); in afs_sb2net()
/fs/lockd/
Dprocfs.c25 struct lockd_net *ln = net_generic(current->nsproxy->net_ns, in nlm_end_grace_write()
52 struct lockd_net *ln = net_generic(current->nsproxy->net_ns, in nlm_end_grace_read()
/fs/nfs/
Dnamespace.c172 if (fc->net_ns != client->cl_net) { in nfs_d_automount()
173 put_net(fc->net_ns); in nfs_d_automount()
174 fc->net_ns = get_net(client->cl_net); in nfs_d_automount()
Dfs_context.c765 len = rpc_pton(fc->net_ns, param->string, param->size, in nfs_fs_context_parse_param()
786 len = rpc_pton(fc->net_ns, param->string, param->size, in nfs_fs_context_parse_param()
1552 if (fc->net_ns != net) { in nfs_init_fs_context()
1553 put_net(fc->net_ns); in nfs_init_fs_context()
1554 fc->net_ns = get_net(net); in nfs_init_fs_context()
Dnfs4namespace.c337 fc->net_ns, 0); in try_location()
Dnfs4client.c1167 fc->net_ns); in nfs4_init_server()
Dclient.c673 .net = fc->net_ns, in nfs_init_server()
Dsuper.c832 .net = fc->net_ns, in nfs_request_mount()
/fs/
Dfs_context.c266 fc->net_ns = get_net(current->nsproxy->net_ns); in alloc_fs_context()
379 get_net(fc->net_ns); in vfs_dup_fs_context()
493 put_net(fc->net_ns); in put_fs_context()
/fs/smb/client/
Ddns_resolve.c68 rc = dns_query(current->nsproxy->net_ns, NULL, hostname, len, in dns_resolve_server_name_to_ip()
Dconnect.c1555 if (!net_eq(cifs_net_ns(server), current->nsproxy->net_ns)) in match_server()
1710 cifs_set_net_ns(tcp_ses, get_net(current->nsproxy->net_ns)); in cifs_get_tcp_session()
/fs/proc/
Dproc_net.c99 p->net = get_net_track(current->nsproxy->net_ns, &p->ns_tracker, in bpf_iter_init_seq_net()
279 net = get_net(ns->net_ns); in get_proc_task_net()
/fs/nfsd/
Dfault_inject.c50 struct net *net = current->nsproxy->net_ns; in fault_inject_write()
Dnfsctl.c160 return exports_net_open(current->nsproxy->net_ns, file); in exports_proc_open()
1323 struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, in nfsd_fill_super()
1374 return get_tree_keyed(fc, nfsd_fill_super, get_net(fc->net_ns)); in nfsd_fs_get_tree()
1391 fc->user_ns = get_user_ns(fc->net_ns->user_ns); in nfsd_init_fs_context()
Dexport.c253 nfsd_file_cache_purge(current->nsproxy->net_ns); in expkey_flush()