Home
last modified time | relevance | path

Searched refs:export_path (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/fs/nfs/
H A Dnfs4namespace.c160 __func__, path, ctx->nfs_server.export_path); in nfs4_validate_fspath()
292 char *export_path, *source, *p; in try_location() local
311 export_path = nfs4_pathname_string(&location->rootpath, in try_location()
313 if (IS_ERR(export_path)) in try_location()
314 return PTR_ERR(export_path); in try_location()
316 kfree(ctx->nfs_server.export_path); in try_location()
317 ctx->nfs_server.export_path = export_path; in try_location()
349 memcpy(p, ctx->nfs_server.export_path, ctx->nfs_server.export_path_len); in try_location()
H A Dnfs4super.c145 const char *export_path) in do_nfs4_mount()
174 /* We leave export_path unset as it's not used to find the root. */ in do_nfs4_mount()
206 dentry = mount_subtree(root_mnt, export_path); in do_nfs4_mount()
228 ctx->nfs_server.export_path); in nfs4_try_get_tree()
251 ctx->nfs_server.export_path); in nfs4_get_referral_tree()
142 do_nfs4_mount(struct nfs_server *server, struct fs_context *fc, const char *hostname, const char *export_path) do_nfs4_mount() argument
H A Dfs_context.c793 * Split fc->source into "hostname:export_path".
848 ctx->nfs_server.export_path = kmemdup_nul(end, len, GFP_KERNEL); in nfs_parse_source()
849 if (!ctx->nfs_server.export_path) in nfs_parse_source()
852 dfprintk(MOUNT, "NFS: MNTPATH: '%s'\n", ctx->nfs_server.export_path); in nfs_parse_source()
1171 ctx->nfs_server.export_path = c; in nfs4_parse_monolithic()
1388 ctx->nfs_server.export_path = NULL; in nfs_fs_context_dup()
1407 kfree(ctx->nfs_server.export_path); in nfs_fs_context_free()
H A Dinternal.h135 char *export_path; member
H A Dsuper.c810 .dirpath = ctx->nfs_server.export_path, in nfs_request_mount()
/kernel/linux/linux-6.6/fs/nfs/
H A Dnfs4namespace.c160 __func__, path, ctx->nfs_server.export_path); in nfs4_validate_fspath()
293 char *export_path, *source, *p; in try_location() local
312 export_path = nfs4_pathname_string(&location->rootpath, in try_location()
314 if (IS_ERR(export_path)) in try_location()
315 return PTR_ERR(export_path); in try_location()
317 kfree(ctx->nfs_server.export_path); in try_location()
318 ctx->nfs_server.export_path = export_path; in try_location()
350 memcpy(p, ctx->nfs_server.export_path, ctx->nfs_server.export_path_len); in try_location()
H A Dnfs4super.c145 const char *export_path) in do_nfs4_mount()
174 /* We leave export_path unset as it's not used to find the root. */ in do_nfs4_mount()
206 dentry = mount_subtree(root_mnt, export_path); in do_nfs4_mount()
228 ctx->nfs_server.export_path); in nfs4_try_get_tree()
251 ctx->nfs_server.export_path); in nfs4_get_referral_tree()
142 do_nfs4_mount(struct nfs_server *server, struct fs_context *fc, const char *hostname, const char *export_path) do_nfs4_mount() argument
H A Dfs_context.c943 * Split fc->source into "hostname:export_path".
996 ctx->nfs_server.export_path = kmemdup_nul(end, len, GFP_KERNEL); in nfs_parse_source()
997 if (!ctx->nfs_server.export_path) in nfs_parse_source()
1000 trace_nfs_mount_path(ctx->nfs_server.export_path); in nfs_parse_source()
1324 ctx->nfs_server.export_path = c; in nfs4_parse_monolithic()
1533 ctx->nfs_server.export_path = NULL; in nfs_fs_context_dup()
1552 kfree(ctx->nfs_server.export_path); in nfs_fs_context_free()
H A Dinternal.h135 char *export_path; member
H A Dsuper.c829 .dirpath = ctx->nfs_server.export_path, in nfs_request_mount()

Completed in 12 milliseconds