Home
last modified time | relevance | path

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

/Linux-v5.4/fs/nfs/
Dgetroot.c67 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()
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.c277 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()
Dsuper.c1834 status = nfs_request_mount(args, mount_info->mntfh, authlist, in nfs_try_mount_request()
2008 struct nfs_fh *mntfh, in nfs23_validate_mount_data() argument
2043 mntfh->size = data->root.size; in nfs23_validate_mount_data()
2046 mntfh->size = NFS2_FHSIZE; in nfs23_validate_mount_data()
2051 memcpy(mntfh->data, data->root.data, mntfh->size); in nfs23_validate_mount_data()
2052 if (mntfh->size < sizeof(mntfh->data)) in nfs23_validate_mount_data()
2053 memset(mntfh->data + mntfh->size, 0, in nfs23_validate_mount_data()
2054 sizeof(mntfh->data) - mntfh->size); in nfs23_validate_mount_data()
2157 struct nfs_fh *mntfh, in nfs_validate_mount_data() argument
2161 return nfs23_validate_mount_data(options, args, mntfh, dev_name); in nfs_validate_mount_data()
[all …]
Dnfs4client.c994 struct nfs_fh *mntfh, bool auth_probe) in nfs4_server_common_setup() argument
1026 error = nfs4_get_rootfh(server, mntfh, auth_probe); in nfs4_server_common_setup()
1033 nfs_display_fhandle(mntfh, "Pseudo-fs root FH"); in nfs4_server_common_setup()
1035 error = nfs_probe_fsinfo(server, mntfh, fattr); in nfs4_server_common_setup()
1132 error = nfs4_server_common_setup(server, mount_info->mntfh, auth_probe); in nfs4_create_server()
1147 struct nfs_fh *mntfh) in nfs4_create_referral_server() argument
1204 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()
967 error = nfs_probe_fsinfo(server, mount_info->mntfh, fattr); in nfs_create_server()
981 error = nfs_mod->rpc_ops->getattr(server, mount_info->mntfh, in nfs_create_server()
Dinternal.h145 struct nfs_fh *mntfh; member
445 extern int nfs4_get_rootfh(struct nfs_server *server, struct nfs_fh *mntfh, bool);
Dpnfs.h731 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.c3958 static int nfs4_proc_get_root(struct nfs_server *server, struct nfs_fh *mntfh, in nfs4_proc_get_root() argument
3965 error = nfs4_server_capabilities(server, mntfh); in nfs4_proc_get_root()
3975 error = nfs4_proc_getattr(server, mntfh, fattr, label, NULL); in nfs4_proc_get_root()