Home
last modified time | relevance | path

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

/linux/fs/smb/client/
H A Ddfs.c26 const char *prepath = NULL; in dfs_parse_target_referral()
38 prepath = full_path + ref->path_consumed; in dfs_parse_target_referral()
40 if (*prepath == '/' || *prepath == '\\') in dfs_parse_target_referral()
41 prepath++; in dfs_parse_target_referral()
48 path = cifs_build_devname(node_name, prepath); in dfs_parse_target_referral()
27 const char *prepath = NULL; dfs_parse_target_referral() local
H A Dmisc.c986 kfree(cifs_sb->prepath); in cifs_update_super_prepath()
987 cifs_sb->prepath = NULL; in cifs_update_super_prepath()
990 cifs_sb->prepath = cifs_sanitize_prepath(prefix, GFP_ATOMIC); in cifs_update_super_prepath()
991 if (IS_ERR(cifs_sb->prepath)) { in cifs_update_super_prepath()
992 rc = PTR_ERR(cifs_sb->prepath); in cifs_update_super_prepath()
993 cifs_sb->prepath = NULL; in cifs_update_super_prepath()
996 if (cifs_sb->prepath) in cifs_update_super_prepath()
997 convert_delimiter(cifs_sb->prepath, CIFS_DIR_SEP(cifs_sb)); in cifs_update_super_prepath()
H A Ddir.c42 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()
117 /* BB test paths to Windows with '/' in the midst of prepath */ in __build_path_from_dentry_optional_prefix()
H A Dcifs_fs_sb.h65 char *prepath;
64 char *prepath; global() member
H A Dfs_context.h319 char *prepath; member
385 char *cifs_sanitize_prepath(char *prepath, gfp_t gfp);
H A Dconnect.c3065 old->prepath;
3067 new->prepath;
3073 if (old_set && new_set && !strcmp(new->prepath, old->prepath)) in cifs_reclassify_socket4()
3604 if (ctx->prepath) { in cifs_mount_get_session()
3605 cifs_sb->prepath = kstrdup(ctx->prepath, GFP_KERNEL); in cifs_mount_get_session()
3606 if (cifs_sb->prepath == NULL) in cifs_mount_get_session()
3967 kfree(cifs_sb->prepath); in cifs_mount()
3968 cifs_sb->prepath in cifs_mount()
[all...]
H A Dcached_dir.c123 cifs_sb->prepath) { in path_no_prefix()
124 len = strlen(cifs_sb->prepath) + 1; in path_no_prefix()
H A Dcifsproto.h83 char *cifs_build_devname(char *nodename, const char *prepath);
H A Dsess.c565 ctx->prepath = ""; in cifs_ses_add_channel()
H A Dinode.c1695 && cifs_sb->prepath) { in cifs_root_iget()
1696 len = strlen(cifs_sb->prepath); in cifs_root_iget()
1701 memcpy(path+1, cifs_sb->prepath, len); in cifs_root_iget()
H A Dcifsfs.c1197 kfree(cifs_sb->prepath); in cifs_fileattr_get()