Searched refs:prepath (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.4/fs/cifs/ |
| 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() 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()
|
| D | dir.c | 52 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()
|
| D | cifs_fs_sb.h | 81 char *prepath; member
|
| D | dfs_cache.c | 1116 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()
|
| D | connect.c | 1590 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 …]
|
| D | inode.c | 1077 && cifs_sb->prepath) { 1078 len = strlen(cifs_sb->prepath); 1083 memcpy(path+1, cifs_sb->prepath, len);
|
| D | cifsglob.h | 602 char *prepath; member
|
| D | cifsfs.c | 856 kfree(cifs_sb->prepath); in cifs_smb3_do_mount()
|