/linux-4.1.27/fs/nfs/ |
D | getroot.c | 71 struct dentry *nfs_get_root(struct super_block *sb, struct nfs_fh *mntfh, in nfs_get_root() argument 91 error = server->nfs_client->rpc_ops->getroot(server, mntfh, &fsinfo); in nfs_get_root() 98 inode = nfs_fhget(sb, mntfh, fsinfo.fattr, NULL); in nfs_get_root()
|
D | nfs4getroot.c | 12 int nfs4_get_rootfh(struct nfs_server *server, struct nfs_fh *mntfh, bool auth_probe) in nfs4_get_rootfh() argument 24 ret = nfs4_proc_get_rootfh(server, mntfh, &fsinfo, auth_probe); in nfs4_get_rootfh()
|
D | nfs4super.c | 276 mount_info.mntfh = nfs_alloc_fhandle(); in nfs4_remote_referral_mount() 277 if (mount_info.cloned == NULL || mount_info.mntfh == NULL) in nfs4_remote_referral_mount() 281 server = nfs4_create_referral_server(mount_info.cloned, mount_info.mntfh); in nfs4_remote_referral_mount() 289 nfs_free_fhandle(mount_info.mntfh); in nfs4_remote_referral_mount()
|
D | super.c | 1782 status = nfs_request_mount(args, mount_info->mntfh, authlist, in nfs_try_mount_request() 1951 struct nfs_fh *mntfh, in nfs23_validate_mount_data() argument 1983 mntfh->size = data->root.size; in nfs23_validate_mount_data() 1986 mntfh->size = NFS2_FHSIZE; in nfs23_validate_mount_data() 1991 memcpy(mntfh->data, data->root.data, mntfh->size); in nfs23_validate_mount_data() 1992 if (mntfh->size < sizeof(mntfh->data)) in nfs23_validate_mount_data() 1993 memset(mntfh->data + mntfh->size, 0, in nfs23_validate_mount_data() 1994 sizeof(mntfh->data) - mntfh->size); in nfs23_validate_mount_data() 2101 struct nfs_fh *mntfh, in nfs_validate_mount_data() argument 2105 return nfs23_validate_mount_data(options, args, mntfh, dev_name); in nfs_validate_mount_data() [all …]
|
D | nfs4client.c | 910 struct nfs_fh *mntfh, bool auth_probe) in nfs4_server_common_setup() argument 942 error = nfs4_get_rootfh(server, mntfh, auth_probe); in nfs4_server_common_setup() 949 nfs_display_fhandle(mntfh, "Pseudo-fs root FH"); in nfs4_server_common_setup() 953 error = nfs_probe_fsinfo(server, mntfh, fattr); in nfs4_server_common_setup() 1056 error = nfs4_server_common_setup(server, mount_info->mntfh, auth_probe); in nfs4_create_server() 1073 struct nfs_fh *mntfh) in nfs4_create_referral_server() argument 1112 error = nfs4_server_common_setup(server, mntfh, auth_probe); in nfs4_create_referral_server()
|
D | client.c | 828 struct nfs_fh *mntfh, in nfs_server_set_fsinfo() argument 884 int nfs_probe_fsinfo(struct nfs_server *server, struct nfs_fh *mntfh, struct nfs_fattr *fattr) in nfs_probe_fsinfo() argument 893 error = clp->rpc_ops->set_capabilities(server, mntfh); in nfs_probe_fsinfo() 900 error = clp->rpc_ops->fsinfo(server, mntfh, &fsinfo); in nfs_probe_fsinfo() 904 nfs_server_set_fsinfo(server, mntfh, &fsinfo); in nfs_probe_fsinfo() 913 if (clp->rpc_ops->pathconf(server, mntfh, &pathinfo) >= 0) in nfs_probe_fsinfo() 1074 error = nfs_probe_fsinfo(server, mount_info->mntfh, fattr); in nfs_create_server() 1088 error = nfs_mod->rpc_ops->getattr(server, mount_info->mntfh, fattr, NULL); in nfs_create_server()
|
D | internal.h | 140 struct nfs_fh *mntfh; member 414 extern int nfs4_get_rootfh(struct nfs_server *server, struct nfs_fh *mntfh, bool);
|
D | pnfs.h | 614 const struct nfs_fh *mntfh, u32 id) in set_pnfs_layoutdriver() argument
|
D | pnfs.c | 109 set_pnfs_layoutdriver(struct nfs_server *server, const struct nfs_fh *mntfh, in set_pnfs_layoutdriver() argument 134 && ld_type->set_layoutdriver(server, mntfh)) { in set_pnfs_layoutdriver()
|
D | nfs4proc.c | 3126 static int nfs4_proc_get_root(struct nfs_server *server, struct nfs_fh *mntfh, in nfs4_proc_get_root() argument 3133 error = nfs4_server_capabilities(server, mntfh); in nfs4_proc_get_root() 3143 error = nfs4_proc_getattr(server, mntfh, fattr, label); in nfs4_proc_get_root()
|