Home
last modified time | relevance | path

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

/linux/fs/cifs/
A Dcifs_dfs_ref.c64 cifs_build_devname(char *nodename, const char *prepath) in cifs_build_devname() argument
91 pplen = prepath ? strlen(prepath) : 0; in cifs_build_devname()
111 memcpy(pos, prepath, pplen); in cifs_build_devname()
143 const char *prepath = NULL; in cifs_compose_mount_options() local
158 prepath = fullpath + ref->path_consumed; in cifs_compose_mount_options()
160 if (*prepath == '/' || *prepath == '\\') in cifs_compose_mount_options()
161 prepath++; in cifs_compose_mount_options()
164 name = cifs_build_devname(ref->node_name, prepath); in cifs_compose_mount_options()
A Ddir.c41 int pplen = ctx->prepath ? strlen(ctx->prepath) + 1 : 0; in cifs_build_path_to_root()
63 memcpy(full_path + dfsplen + 1, ctx->prepath, pplen); in cifs_build_path_to_root()
100 pplen = cifs_sb->prepath ? strlen(cifs_sb->prepath) + 1 : 0; in build_path_from_dentry_optional_prefix()
110 cifs_dbg(FYI, "using cifs_sb prepath <%s>\n", cifs_sb->prepath); in build_path_from_dentry_optional_prefix()
112 memcpy(s + 1, cifs_sb->prepath, pplen - 1); in build_path_from_dentry_optional_prefix()
A Dfs_context.c306 new_ctx->prepath = NULL; in smb3_fs_context_dup()
320 DUP_CTX_STR(prepath); in smb3_fs_context_dup()
525 kfree(ctx->prepath); in smb3_parse_devname()
526 ctx->prepath = NULL; in smb3_parse_devname()
532 ctx->prepath = sanitize_path(pos); in smb3_parse_devname()
533 if (!ctx->prepath) in smb3_parse_devname()
1591 kfree(ctx->prepath); in smb3_cleanup_fs_context_contents()
1592 ctx->prepath = NULL; in smb3_cleanup_fs_context_contents()
A Dcifs_fs_sb.h62 char *prepath; member
A Dconnect.c2479 old->prepath; in match_prepath()
2481 new->prepath; in match_prepath()
2483 if (old_set && new_set && !strcmp(new->prepath, old->prepath)) in match_prepath()
2952 if (ctx->prepath) { in cifs_setup_cifs_sb()
2953 cifs_sb->prepath = kstrdup(ctx->prepath, GFP_KERNEL); in cifs_setup_cifs_sb()
3186 kfree(ctx->prepath); in expand_dfs_referral()
3187 ctx->prepath = NULL; in expand_dfs_referral()
3589 kfree(cifs_sb->prepath); in cifs_mount()
3590 cifs_sb->prepath = ctx->prepath; in cifs_mount()
3591 ctx->prepath = NULL; in cifs_mount()
[all …]
A Dmisc.c1291 kfree(cifs_sb->prepath); in cifs_update_super_prepath()
1294 cifs_sb->prepath = kstrdup(prefix, GFP_ATOMIC); in cifs_update_super_prepath()
1295 if (!cifs_sb->prepath) in cifs_update_super_prepath()
1298 convert_delimiter(cifs_sb->prepath, CIFS_DIR_SEP(cifs_sb)); in cifs_update_super_prepath()
1300 cifs_sb->prepath = NULL; in cifs_update_super_prepath()
A Dfs_context.h250 char *prepath; member
A Dinode.c1324 && cifs_sb->prepath) {
1325 len = strlen(cifs_sb->prepath);
1330 memcpy(path+1, cifs_sb->prepath, len);
A Dcifsfs.c913 kfree(cifs_sb->prepath); in cifs_smb3_do_mount()
A Dsess.c235 ctx.prepath = ""; in cifs_ses_add_channel()

Completed in 33 milliseconds