Home
last modified time | relevance | path

Searched refs:mntfh (Results 1 – 10 of 10) sorted by relevance

/fs/nfs/
Dgetroot.c71 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()
Dnfs4getroot.c13 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()
Dsuper.c1809 status = nfs_request_mount(args, mount_info->mntfh, authlist, in nfs_try_mount_request()
1983 struct nfs_fh *mntfh, in nfs23_validate_mount_data() argument
2015 mntfh->size = data->root.size; in nfs23_validate_mount_data()
2018 mntfh->size = NFS2_FHSIZE; in nfs23_validate_mount_data()
2023 memcpy(mntfh->data, data->root.data, mntfh->size); in nfs23_validate_mount_data()
2024 if (mntfh->size < sizeof(mntfh->data)) in nfs23_validate_mount_data()
2025 memset(mntfh->data + mntfh->size, 0, in nfs23_validate_mount_data()
2026 sizeof(mntfh->data) - mntfh->size); in nfs23_validate_mount_data()
2134 struct nfs_fh *mntfh, in nfs_validate_mount_data() argument
2138 return nfs23_validate_mount_data(options, args, mntfh, dev_name); in nfs_validate_mount_data()
[all …]
Dnfs4super.c276 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()
Dnfs4client.c966 struct nfs_fh *mntfh, bool auth_probe) in nfs4_server_common_setup() argument
998 error = nfs4_get_rootfh(server, mntfh, auth_probe); in nfs4_server_common_setup()
1005 nfs_display_fhandle(mntfh, "Pseudo-fs root FH"); in nfs4_server_common_setup()
1007 error = nfs_probe_fsinfo(server, mntfh, fattr); in nfs4_server_common_setup()
1101 error = nfs4_server_common_setup(server, mount_info->mntfh, auth_probe); in nfs4_create_server()
1116 struct nfs_fh *mntfh) in nfs4_create_referral_server() argument
1152 error = nfs4_server_common_setup(server, mntfh, auth_probe); in nfs4_create_referral_server()
Dclient.c787 int nfs_probe_fsinfo(struct nfs_server *server, struct nfs_fh *mntfh, struct nfs_fattr *fattr) in nfs_probe_fsinfo() argument
794 error = clp->rpc_ops->set_capabilities(server, mntfh); in nfs_probe_fsinfo()
802 error = clp->rpc_ops->fsinfo(server, mntfh, &fsinfo); in nfs_probe_fsinfo()
815 if (clp->rpc_ops->pathconf(server, mntfh, &pathinfo) >= 0) in nfs_probe_fsinfo()
963 error = nfs_probe_fsinfo(server, mount_info->mntfh, fattr); in nfs_create_server()
977 error = nfs_mod->rpc_ops->getattr(server, mount_info->mntfh, fattr, NULL); in nfs_create_server()
Dinternal.h150 struct nfs_fh *mntfh; member
451 extern int nfs4_get_rootfh(struct nfs_server *server, struct nfs_fh *mntfh, bool);
Dpnfs.h698 const struct nfs_fh *mntfh, in set_pnfs_layoutdriver() argument
Dpnfs.c148 set_pnfs_layoutdriver(struct nfs_server *server, const struct nfs_fh *mntfh, in set_pnfs_layoutdriver() argument
186 && ld_type->set_layoutdriver(server, mntfh)) { in set_pnfs_layoutdriver()
Dnfs4proc.c3633 static int nfs4_proc_get_root(struct nfs_server *server, struct nfs_fh *mntfh, in nfs4_proc_get_root() argument
3640 error = nfs4_server_capabilities(server, mntfh); in nfs4_proc_get_root()
3650 error = nfs4_proc_getattr(server, mntfh, fattr, label); in nfs4_proc_get_root()