Searched refs:prepath (Results 1 – 12 of 12) sorted by relevance
/linux-6.3-rc2/fs/cifs/ |
A D | cifs_dfs_ref.c | 63 cifs_build_devname(char *nodename, const char *prepath) in cifs_build_devname() argument 90 pplen = prepath ? strlen(prepath) : 0; in cifs_build_devname() 110 memcpy(pos, prepath, pplen); in cifs_build_devname() 181 tmp.UNC = tmp.prepath = NULL; in cifs_dfs_do_automount()
|
A D | dfs.c | 26 const char *prepath = NULL; in dfs_parse_target_referral() local 36 prepath = full_path + ref->path_consumed; in dfs_parse_target_referral() 38 if (*prepath == '/' || *prepath == '\\') in dfs_parse_target_referral() 39 prepath++; in dfs_parse_target_referral() 42 path = cifs_build_devname(ref->node_name, prepath); in dfs_parse_target_referral() 65 unsigned int pplen = useppath && ctx->prepath ? strlen(ctx->prepath) + 1 : 0; in build_unc_path_to_root() 80 memcpy(pos + 1, ctx->prepath, pplen); in build_unc_path_to_root()
|
A 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() 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 D | cifs_fs_sb.h | 62 char *prepath; member
|
A 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() 1595 kfree(ctx->prepath); in smb3_cleanup_fs_context_contents() 1596 ctx->prepath = NULL; in smb3_cleanup_fs_context_contents()
|
A D | misc.c | 1188 kfree(cifs_sb->prepath); in cifs_update_super_prepath() 1191 cifs_sb->prepath = kstrdup(prefix, GFP_ATOMIC); in cifs_update_super_prepath() 1192 if (!cifs_sb->prepath) in cifs_update_super_prepath() 1195 convert_delimiter(cifs_sb->prepath, CIFS_DIR_SEP(cifs_sb)); in cifs_update_super_prepath() 1197 cifs_sb->prepath = NULL; in cifs_update_super_prepath()
|
A D | connect.c | 2652 old->prepath; in match_prepath() 2654 new->prepath; in match_prepath() 2656 if (old_set && new_set && !strcmp(new->prepath, old->prepath)) in match_prepath() 3121 if (ctx->prepath) { in cifs_setup_cifs_sb() 3122 cifs_sb->prepath = kstrdup(ctx->prepath, GFP_KERNEL); in cifs_setup_cifs_sb() 3123 if (cifs_sb->prepath == NULL) in cifs_setup_cifs_sb() 3427 kfree(cifs_sb->prepath); in cifs_mount() 3428 cifs_sb->prepath = ctx->prepath; in cifs_mount() 3429 ctx->prepath = NULL; in cifs_mount() 3639 kfree(cifs_sb->prepath); in cifs_umount()
|
A D | fs_context.h | 255 char *prepath; member
|
A D | cifsproto.h | 81 char *cifs_build_devname(char *nodename, const char *prepath);
|
A D | inode.c | 1379 && cifs_sb->prepath) { 1380 len = strlen(cifs_sb->prepath); 1385 memcpy(path+1, cifs_sb->prepath, len);
|
A D | cifsfs.c | 960 kfree(cifs_sb->prepath); in cifs_smb3_do_mount()
|
A D | sess.c | 410 ctx.prepath = ""; in cifs_ses_add_channel()
|
Completed in 40 milliseconds