Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/nfs/
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()
Dfs_context.c893 struct nfs_fh *mntfh = ctx->mntfh; in nfs23_parse_monolithic() local
927 mntfh->size = data->root.size; in nfs23_parse_monolithic()
930 mntfh->size = NFS2_FHSIZE; in nfs23_parse_monolithic()
935 memcpy(mntfh->data, data->root.data, mntfh->size); in nfs23_parse_monolithic()
936 if (mntfh->size < sizeof(mntfh->data)) in nfs23_parse_monolithic()
937 memset(mntfh->data + mntfh->size, 0, in nfs23_parse_monolithic()
938 sizeof(mntfh->data) - mntfh->size); in nfs23_parse_monolithic()
1378 ctx->mntfh = nfs_alloc_fhandle(); in nfs_fs_context_dup()
1379 if (!ctx->mntfh) { in nfs_fs_context_dup()
1383 nfs_copy_fh(ctx->mntfh, src->mntfh); in nfs_fs_context_dup()
[all …]
Dgetroot.c90 error = server->nfs_client->rpc_ops->getroot(server, ctx->mntfh, &fsinfo); in nfs_get_root()
97 inode = nfs_fhget(s, ctx->mntfh, fsinfo.fattr, NULL); in nfs_get_root()
Dnfs4client.c1028 struct nfs_fh *mntfh, bool auth_probe) in nfs4_server_common_setup() argument
1062 error = nfs4_get_rootfh(server, mntfh, auth_probe); in nfs4_server_common_setup()
1069 nfs_display_fhandle(mntfh, "Pseudo-fs root FH"); in nfs4_server_common_setup()
1071 error = nfs_probe_fsinfo(server, mntfh, fattr); in nfs4_server_common_setup()
1167 error = nfs4_server_common_setup(server, ctx->mntfh, auth_probe); in nfs4_create_server()
1242 error = nfs4_server_common_setup(server, ctx->mntfh, auth_probe); in nfs4_create_referral_server()
Dnamespace.c269 ctx->mntfh, in nfs_do_submount()
308 ctx->mntfh, ctx->clone_data.fattr, in nfs_submount()
Dclient.c821 int nfs_probe_fsinfo(struct nfs_server *server, struct nfs_fh *mntfh, struct nfs_fattr *fattr) in nfs_probe_fsinfo() argument
828 error = clp->rpc_ops->set_capabilities(server, mntfh); in nfs_probe_fsinfo()
836 error = clp->rpc_ops->fsinfo(server, mntfh, &fsinfo); in nfs_probe_fsinfo()
849 if (clp->rpc_ops->pathconf(server, mntfh, &pathinfo) >= 0) in nfs_probe_fsinfo()
1001 error = nfs_probe_fsinfo(server, ctx->mntfh, fattr); in nfs_create_server()
1015 error = ctx->nfs_mod->rpc_ops->getattr(server, ctx->mntfh, in nfs_create_server()
Dinternal.h132 struct nfs_fh *mntfh; member
461 extern int nfs4_get_rootfh(struct nfs_server *server, struct nfs_fh *mntfh, bool);
Dnfs4namespace.c450 client = nfs4_proc_lookup_mountpoint(dir, dentry, ctx->mntfh, in nfs4_submount()
Dpnfs.h793 const struct nfs_fh *mntfh, in set_pnfs_layoutdriver() argument
Dsuper.c872 status = nfs_request_mount(fc, ctx->mntfh, authlist, &authlist_len); in nfs_try_mount_request()
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.c4071 static int nfs4_proc_get_root(struct nfs_server *server, struct nfs_fh *mntfh, in nfs4_proc_get_root() argument
4078 error = nfs4_server_capabilities(server, mntfh); in nfs4_proc_get_root()
4084 error = nfs4_proc_getattr(server, mntfh, fattr, label, NULL); in nfs4_proc_get_root()