Searched refs:net_ns (Results 1 – 18 of 18) sorted by relevance
/fs/afs/ |
D | mntpt.c | 80 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()
|
D | main.c | 67 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()
|
D | super.c | 425 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()
|
D | internal.h | 226 struct net *net_ns; /* Network namespace */ member 1203 return afs_net(AFS_FS_S(sb)->net_ns); in afs_sb2net()
|
/fs/lockd/ |
D | procfs.c | 25 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/ |
D | namespace.c | 172 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()
|
D | fs_context.c | 765 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()
|
D | nfs4namespace.c | 337 fc->net_ns, 0); in try_location()
|
D | nfs4client.c | 1167 fc->net_ns); in nfs4_init_server()
|
D | client.c | 673 .net = fc->net_ns, in nfs_init_server()
|
D | super.c | 832 .net = fc->net_ns, in nfs_request_mount()
|
/fs/ |
D | fs_context.c | 266 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/ |
D | dns_resolve.c | 68 rc = dns_query(current->nsproxy->net_ns, NULL, hostname, len, in dns_resolve_server_name_to_ip()
|
D | connect.c | 1555 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/ |
D | proc_net.c | 99 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/ |
D | fault_inject.c | 50 struct net *net = current->nsproxy->net_ns; in fault_inject_write()
|
D | nfsctl.c | 160 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()
|
D | export.c | 253 nfsd_file_cache_purge(current->nsproxy->net_ns); in expkey_flush()
|