Searched refs:prepath (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/fs/cifs/ |
D | cifs_dfs_ref.c | 64 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()
|
D | dir.c | 42 int pplen = ctx->prepath ? strlen(ctx->prepath) + 1 : 0; in cifs_build_path_to_root() 64 memcpy(full_path + dfsplen + 1, ctx->prepath, pplen); in cifs_build_path_to_root() 101 pplen = cifs_sb->prepath ? strlen(cifs_sb->prepath) + 1 : 0; in build_path_from_dentry_optional_prefix() 111 cifs_dbg(FYI, "using cifs_sb prepath <%s>\n", cifs_sb->prepath); in build_path_from_dentry_optional_prefix() 113 memcpy(s + 1, cifs_sb->prepath, pplen - 1); in build_path_from_dentry_optional_prefix()
|
D | cifs_fs_sb.h | 62 char *prepath; member
|
D | fs_context.c | 310 new_ctx->prepath = NULL; in smb3_fs_context_dup() 323 DUP_CTX_STR(prepath); in smb3_fs_context_dup() 527 kfree(ctx->prepath); in smb3_parse_devname() 528 ctx->prepath = NULL; in smb3_parse_devname() 534 ctx->prepath = sanitize_path(pos); in smb3_parse_devname() 535 if (!ctx->prepath) in smb3_parse_devname() 1597 kfree(ctx->prepath); in smb3_cleanup_fs_context_contents() 1598 ctx->prepath = NULL; in smb3_cleanup_fs_context_contents()
|
D | misc.c | 1303 kfree(cifs_sb->prepath); in cifs_update_super_prepath() 1306 cifs_sb->prepath = kstrdup(prefix, GFP_ATOMIC); in cifs_update_super_prepath() 1307 if (!cifs_sb->prepath) in cifs_update_super_prepath() 1310 convert_delimiter(cifs_sb->prepath, CIFS_DIR_SEP(cifs_sb)); in cifs_update_super_prepath() 1312 cifs_sb->prepath = NULL; in cifs_update_super_prepath()
|
D | connect.c | 2704 old->prepath; in match_prepath() 2706 new->prepath; in match_prepath() 2708 if (old_set && new_set && !strcmp(new->prepath, old->prepath)) in match_prepath() 3193 if (ctx->prepath) { in cifs_setup_cifs_sb() 3194 cifs_sb->prepath = kstrdup(ctx->prepath, GFP_KERNEL); in cifs_setup_cifs_sb() 3195 if (cifs_sb->prepath == NULL) in cifs_setup_cifs_sb() 3382 unsigned int pplen = useppath && ctx->prepath ? in build_unc_path_to_root() 3383 strlen(ctx->prepath) + 1 : 0; in build_unc_path_to_root() 3398 memcpy(pos + 1, ctx->prepath, pplen); in build_unc_path_to_root() 3433 kfree(ctx->prepath); in expand_dfs_referral() [all …]
|
D | fs_context.h | 255 char *prepath; member
|
D | inode.c | 1373 && cifs_sb->prepath) { 1374 len = strlen(cifs_sb->prepath); 1379 memcpy(path+1, cifs_sb->prepath, len);
|
D | cifsfs.c | 965 kfree(cifs_sb->prepath); in cifs_smb3_do_mount()
|
D | sess.c | 410 ctx.prepath = ""; in cifs_ses_add_channel()
|