Home
last modified time | relevance | path

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

/Linux-v4.19/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()
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()
Dsuper.c1814 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
2018 mntfh->size = data->root.size; in nfs23_validate_mount_data()
2021 mntfh->size = NFS2_FHSIZE; in nfs23_validate_mount_data()
2026 memcpy(mntfh->data, data->root.data, mntfh->size); in nfs23_validate_mount_data()
2027 if (mntfh->size < sizeof(mntfh->data)) in nfs23_validate_mount_data()
2028 memset(mntfh->data + mntfh->size, 0, in nfs23_validate_mount_data()
2029 sizeof(mntfh->data) - mntfh->size); in nfs23_validate_mount_data()
2136 struct nfs_fh *mntfh, in nfs_validate_mount_data() argument
2140 return nfs23_validate_mount_data(options, args, mntfh, dev_name); in nfs_validate_mount_data()
[all …]
Dnfs4client.c977 struct nfs_fh *mntfh, bool auth_probe) in nfs4_server_common_setup() argument
1009 error = nfs4_get_rootfh(server, mntfh, auth_probe); in nfs4_server_common_setup()
1016 nfs_display_fhandle(mntfh, "Pseudo-fs root FH"); in nfs4_server_common_setup()
1020 error = nfs_probe_fsinfo(server, mntfh, fattr); in nfs4_server_common_setup()
1112 error = nfs4_server_common_setup(server, mount_info->mntfh, auth_probe); in nfs4_create_server()
1127 struct nfs_fh *mntfh) in nfs4_create_referral_server() argument
1180 error = nfs4_server_common_setup(server, mntfh, auth_probe); in nfs4_create_referral_server()
Dclient.c782 int nfs_probe_fsinfo(struct nfs_server *server, struct nfs_fh *mntfh, struct nfs_fattr *fattr) in nfs_probe_fsinfo() argument
789 error = clp->rpc_ops->set_capabilities(server, mntfh); in nfs_probe_fsinfo()
797 error = clp->rpc_ops->fsinfo(server, mntfh, &fsinfo); in nfs_probe_fsinfo()
810 if (clp->rpc_ops->pathconf(server, mntfh, &pathinfo) >= 0) in nfs_probe_fsinfo()
959 error = nfs_probe_fsinfo(server, mount_info->mntfh, fattr); in nfs_create_server()
973 error = nfs_mod->rpc_ops->getattr(server, mount_info->mntfh, 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.h715 const struct nfs_fh *mntfh, in set_pnfs_layoutdriver() argument
Dpnfs.c149 set_pnfs_layoutdriver(struct nfs_server *server, const struct nfs_fh *mntfh, in set_pnfs_layoutdriver() argument
187 && ld_type->set_layoutdriver(server, mntfh)) { in set_pnfs_layoutdriver()
Dnfs4proc.c3805 static int nfs4_proc_get_root(struct nfs_server *server, struct nfs_fh *mntfh, in nfs4_proc_get_root() argument
3812 error = nfs4_server_capabilities(server, mntfh); in nfs4_proc_get_root()
3822 error = nfs4_proc_getattr(server, mntfh, fattr, label, NULL); in nfs4_proc_get_root()