/linux-6.12.1/fs/nfs/ |
D | fs_context.c | 1052 struct nfs_fh *mntfh = ctx->mntfh; in nfs23_parse_monolithic() local 1087 mntfh->size = data->root.size; in nfs23_parse_monolithic() 1090 mntfh->size = NFS2_FHSIZE; in nfs23_parse_monolithic() 1095 memcpy(mntfh->data, data->root.data, mntfh->size); in nfs23_parse_monolithic() 1096 if (mntfh->size < sizeof(mntfh->data)) in nfs23_parse_monolithic() 1097 memset(mntfh->data + mntfh->size, 0, in nfs23_parse_monolithic() 1098 sizeof(mntfh->data) - mntfh->size); in nfs23_parse_monolithic() 1537 ctx->mntfh = nfs_alloc_fhandle(); in nfs_fs_context_dup() 1538 if (!ctx->mntfh) { in nfs_fs_context_dup() 1542 nfs_copy_fh(ctx->mntfh, src->mntfh); in nfs_fs_context_dup() [all …]
|
D | nfs4getroot.c | 13 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()
|
D | getroot.c | 87 error = server->nfs_client->rpc_ops->getroot(server, ctx->mntfh, &fsinfo); in nfs_get_root() 94 inode = nfs_fhget(s, ctx->mntfh, fsinfo.fattr); in nfs_get_root()
|
D | client.c | 851 static int nfs_probe_fsinfo(struct nfs_server *server, struct nfs_fh *mntfh, struct nfs_fattr *fatt… in nfs_probe_fsinfo() argument 858 error = clp->rpc_ops->set_capabilities(server, mntfh); in nfs_probe_fsinfo() 866 error = clp->rpc_ops->fsinfo(server, mntfh, &fsinfo); in nfs_probe_fsinfo() 879 if (clp->rpc_ops->pathconf(server, mntfh, &pathinfo) >= 0) in nfs_probe_fsinfo() 886 error = clp->rpc_ops->discover_trunking(server, mntfh); in nfs_probe_fsinfo() 900 int nfs_probe_server(struct nfs_server *server, struct nfs_fh *mntfh) in nfs_probe_server() argument 911 error = nfs_probe_fsinfo(server, mntfh, fattr); in nfs_probe_server() 1087 error = nfs_probe_fsinfo(server, ctx->mntfh, fattr); in nfs_create_server() 1101 error = ctx->nfs_mod->rpc_ops->getattr(server, ctx->mntfh, in nfs_create_server()
|
D | nfs4client.c | 1103 struct nfs_fh *mntfh, bool auth_probe) in nfs4_server_common_setup() argument 1119 error = nfs4_get_rootfh(server, mntfh, auth_probe); in nfs4_server_common_setup() 1126 nfs_display_fhandle(mntfh, "Pseudo-fs root FH"); in nfs4_server_common_setup() 1128 error = nfs_probe_server(server, mntfh); in nfs4_server_common_setup() 1225 error = nfs4_server_common_setup(server, ctx->mntfh, auth_probe); in nfs4_create_server() 1307 error = nfs4_server_common_setup(server, ctx->mntfh, auth_probe); in nfs4_create_referral_server()
|
D | namespace.c | 273 ctx->mntfh, in nfs_do_submount() 312 ctx->mntfh, ctx->clone_data.fattr); in nfs_submount()
|
D | internal.h | 145 struct nfs_fh *mntfh; member 542 extern int nfs4_get_rootfh(struct nfs_server *server, struct nfs_fh *mntfh, bool);
|
D | nfs4namespace.c | 461 client = nfs4_proc_lookup_mountpoint(dir, dentry, ctx->mntfh, in nfs4_submount()
|
D | pnfs.h | 807 const struct nfs_fh *mntfh, in set_pnfs_layoutdriver() argument
|
D | super.c | 927 status = nfs_request_mount(fc, ctx->mntfh, authlist, &authlist_len); in nfs_try_mount_request()
|
D | pnfs.c | 161 set_pnfs_layoutdriver(struct nfs_server *server, const struct nfs_fh *mntfh, in set_pnfs_layoutdriver() argument 199 && ld_type->set_layoutdriver(server, mntfh)) { in set_pnfs_layoutdriver()
|
D | nfs4proc.c | 4353 static int nfs4_proc_get_root(struct nfs_server *server, struct nfs_fh *mntfh, in nfs4_proc_get_root() argument 4359 error = nfs4_server_capabilities(server, mntfh); in nfs4_proc_get_root() 4365 error = nfs4_proc_getattr(server, mntfh, fattr, NULL); in nfs4_proc_get_root()
|