/fs/nfs/ |
D | getroot.c | 67 struct dentry *nfs_get_root(struct super_block *sb, struct nfs_fh *mntfh, in nfs_get_root() argument 87 error = server->nfs_client->rpc_ops->getroot(server, mntfh, &fsinfo); in nfs_get_root() 94 inode = nfs_fhget(sb, mntfh, fsinfo.fattr, NULL); in nfs_get_root()
|
D | nfs4getroot.c | 13 int nfs4_get_rootfh(struct nfs_server *server, struct nfs_fh *mntfh, bool auth_probe) in nfs4_get_rootfh() argument 23 ret = nfs4_proc_get_rootfh(server, mntfh, &fsinfo, auth_probe); in nfs4_get_rootfh()
|
D | nfs4super.c | 277 mount_info.mntfh = nfs_alloc_fhandle(); in nfs4_remote_referral_mount() 278 if (mount_info.cloned == NULL || mount_info.mntfh == NULL) in nfs4_remote_referral_mount() 282 server = nfs4_create_referral_server(mount_info.cloned, mount_info.mntfh); in nfs4_remote_referral_mount() 290 nfs_free_fhandle(mount_info.mntfh); in nfs4_remote_referral_mount()
|
D | super.c | 1869 status = nfs_request_mount(args, mount_info->mntfh, authlist, in nfs_try_mount_request() 2043 struct nfs_fh *mntfh, in nfs23_validate_mount_data() argument 2078 mntfh->size = data->root.size; in nfs23_validate_mount_data() 2081 mntfh->size = NFS2_FHSIZE; in nfs23_validate_mount_data() 2086 memcpy(mntfh->data, data->root.data, mntfh->size); in nfs23_validate_mount_data() 2087 if (mntfh->size < sizeof(mntfh->data)) in nfs23_validate_mount_data() 2088 memset(mntfh->data + mntfh->size, 0, in nfs23_validate_mount_data() 2089 sizeof(mntfh->data) - mntfh->size); in nfs23_validate_mount_data() 2192 struct nfs_fh *mntfh, in nfs_validate_mount_data() argument 2196 return nfs23_validate_mount_data(options, args, mntfh, dev_name); in nfs_validate_mount_data() [all …]
|
D | nfs4client.c | 996 struct nfs_fh *mntfh, bool auth_probe) in nfs4_server_common_setup() argument 1028 error = nfs4_get_rootfh(server, mntfh, auth_probe); in nfs4_server_common_setup() 1035 nfs_display_fhandle(mntfh, "Pseudo-fs root FH"); in nfs4_server_common_setup() 1037 error = nfs_probe_fsinfo(server, mntfh, fattr); in nfs4_server_common_setup() 1134 error = nfs4_server_common_setup(server, mount_info->mntfh, auth_probe); in nfs4_create_server() 1149 struct nfs_fh *mntfh) in nfs4_create_referral_server() argument 1206 error = nfs4_server_common_setup(server, mntfh, auth_probe); in nfs4_create_referral_server()
|
D | client.c | 788 int nfs_probe_fsinfo(struct nfs_server *server, struct nfs_fh *mntfh, struct nfs_fattr *fattr) in nfs_probe_fsinfo() argument 795 error = clp->rpc_ops->set_capabilities(server, mntfh); in nfs_probe_fsinfo() 803 error = clp->rpc_ops->fsinfo(server, mntfh, &fsinfo); in nfs_probe_fsinfo() 816 if (clp->rpc_ops->pathconf(server, mntfh, &pathinfo) >= 0) in nfs_probe_fsinfo() 968 error = nfs_probe_fsinfo(server, mount_info->mntfh, fattr); in nfs_create_server() 982 error = nfs_mod->rpc_ops->getattr(server, mount_info->mntfh, in nfs_create_server()
|
D | internal.h | 145 struct nfs_fh *mntfh; member 447 extern int nfs4_get_rootfh(struct nfs_server *server, struct nfs_fh *mntfh, bool);
|
D | pnfs.h | 736 const struct nfs_fh *mntfh, in set_pnfs_layoutdriver() argument
|
D | pnfs.c | 160 set_pnfs_layoutdriver(struct nfs_server *server, const struct nfs_fh *mntfh, in set_pnfs_layoutdriver() argument 198 && ld_type->set_layoutdriver(server, mntfh)) { in set_pnfs_layoutdriver()
|
D | nfs4proc.c | 4043 static int nfs4_proc_get_root(struct nfs_server *server, struct nfs_fh *mntfh, in nfs4_proc_get_root() argument 4050 error = nfs4_server_capabilities(server, mntfh); in nfs4_proc_get_root() 4060 error = nfs4_proc_getattr(server, mntfh, fattr, label, NULL); in nfs4_proc_get_root()
|