Home
last modified time | relevance | path

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

/Linux-v5.4/fs/cifs/
Dcifs_dfs_ref.c63 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()
143 const char *prepath = NULL; in cifs_compose_mount_options() local
154 prepath = fullpath + ref->path_consumed; in cifs_compose_mount_options()
156 if (*prepath == '/' || *prepath == '\\') in cifs_compose_mount_options()
157 prepath++; in cifs_compose_mount_options()
160 name = cifs_build_devname(ref->node_name, prepath); in cifs_compose_mount_options()
Ddir.c52 int pplen = vol->prepath ? strlen(vol->prepath) + 1 : 0; in cifs_build_path_to_root()
74 memcpy(full_path + dfsplen + 1, vol->prepath, pplen); in cifs_build_path_to_root()
111 pplen = cifs_sb->prepath ? strlen(cifs_sb->prepath) + 1 : 0; in build_path_from_dentry_optional_prefix()
174 cifs_dbg(FYI, "using cifs_sb prepath <%s>\n", cifs_sb->prepath); in build_path_from_dentry_optional_prefix()
175 memcpy(full_path+dfsplen+1, cifs_sb->prepath, pplen-1); in build_path_from_dentry_optional_prefix()
Dcifs_fs_sb.h81 char *prepath; member
Ddfs_cache.c1116 if (vol->prepath) { in dup_vol()
1117 cifs_dbg(FYI, "%s: vol->prepath: %s\n", __func__, vol->prepath); in dup_vol()
1118 new->prepath = kstrndup(vol->prepath, strlen(vol->prepath), in dup_vol()
1120 if (!new->prepath) in dup_vol()
Dconnect.c1590 vol->prepath = kstrdup(pos, GFP_KERNEL); in cifs_parse_devname()
1591 if (!vol->prepath) in cifs_parse_devname()
3625 if (old_set && new_set && !strcmp(new->prepath, old->prepath)) in match_prepath()
4154 if (pvolume_info->prepath) { in cifs_setup_cifs_sb()
4155 cifs_sb->prepath = kstrdup(pvolume_info->prepath, GFP_KERNEL); in cifs_setup_cifs_sb()
4156 if (cifs_sb->prepath == NULL) in cifs_setup_cifs_sb()
4171 kfree(volume_info->prepath); in cifs_cleanup_volume_info_contents()
4330 unsigned int pplen = useppath && vol->prepath ? in build_unc_path_to_root()
4331 strlen(vol->prepath) + 1 : 0; in build_unc_path_to_root()
4346 memcpy(pos + 1, vol->prepath, pplen); in build_unc_path_to_root()
[all …]
Dinode.c1077 && cifs_sb->prepath) {
1078 len = strlen(cifs_sb->prepath);
1083 memcpy(path+1, cifs_sb->prepath, len);
Dcifsglob.h602 char *prepath; member
Dcifsfs.c856 kfree(cifs_sb->prepath); in cifs_smb3_do_mount()