Searched refs:prepath (Results 1 – 10 of 10) sorted by relevance
| /linux/fs/smb/client/ |
| H A D | dfs.c | 27 const char *prepath = NULL; in dfs_parse_target_referral() local 37 prepath = full_path + ref->path_consumed; in dfs_parse_target_referral() 39 if (*prepath == '/' || *prepath == '\\') in dfs_parse_target_referral() 40 prepath++; in dfs_parse_target_referral() 43 path = cifs_build_devname(ref->node_name, prepath); in dfs_parse_target_referral()
|
| H A D | misc.c | 984 kfree(cifs_sb->prepath); in cifs_update_super_prepath() 985 cifs_sb->prepath = NULL; in cifs_update_super_prepath() 988 cifs_sb->prepath = cifs_sanitize_prepath(prefix, GFP_ATOMIC); in cifs_update_super_prepath() 989 if (IS_ERR(cifs_sb->prepath)) { in cifs_update_super_prepath() 990 rc = PTR_ERR(cifs_sb->prepath); in cifs_update_super_prepath() 991 cifs_sb->prepath = NULL; in cifs_update_super_prepath() 994 if (cifs_sb->prepath) in cifs_update_super_prepath() 995 convert_delimiter(cifs_sb->prepath, CIFS_DIR_SEP(cifs_sb)); in cifs_update_super_prepath()
|
| H 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() 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()
|
| H A D | cifs_fs_sb.h | 64 char *prepath; member
|
| H A D | fs_context.h | 319 char *prepath; member 385 char *cifs_sanitize_prepath(char *prepath, gfp_t gfp);
|
| H A D | connect.c | 2992 old->prepath; in match_prepath() 2994 new->prepath; in match_prepath() 3000 if (old_set && new_set && !strcmp(new->prepath, old->prepath)) in match_prepath() 3531 if (ctx->prepath) { in cifs_setup_cifs_sb() 3532 cifs_sb->prepath = kstrdup(ctx->prepath, GFP_KERNEL); in cifs_setup_cifs_sb() 3533 if (cifs_sb->prepath == NULL) in cifs_setup_cifs_sb() 3894 kfree(cifs_sb->prepath); in cifs_mount() 3895 cifs_sb->prepath = ctx->prepath; in cifs_mount() 3896 ctx->prepath = NULL; in cifs_mount() 4015 kfree(cifs_sb->prepath); in cifs_umount()
|
| H A D | cached_dir.c | 123 cifs_sb->prepath) { in path_no_prefix() 124 len = strlen(cifs_sb->prepath) + 1; in path_no_prefix()
|
| H A D | cifsproto.h | 83 char *cifs_build_devname(char *nodename, const char *prepath);
|
| H A D | sess.c | 565 ctx->prepath = ""; in cifs_ses_add_channel()
|
| H A D | inode.c | 1691 && cifs_sb->prepath) { in cifs_root_iget() 1692 len = strlen(cifs_sb->prepath); in cifs_root_iget() 1697 memcpy(path+1, cifs_sb->prepath, len); in cifs_root_iget()
|