Searched refs:prepath (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/fs/cifs/ |
D | cifs_dfs_ref.c | 65 cifs_build_devname(char *nodename, const char *prepath) in cifs_build_devname() argument 92 pplen = prepath ? strlen(prepath) : 0; in cifs_build_devname() 112 memcpy(pos, prepath, pplen); in cifs_build_devname() 144 const char *prepath = NULL; in cifs_compose_mount_options() local 155 prepath = fullpath + ref->path_consumed; in cifs_compose_mount_options() 157 if (*prepath == '/' || *prepath == '\\') in cifs_compose_mount_options() 158 prepath++; in cifs_compose_mount_options() 161 *devname = 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 strncpy(full_path + dfsplen + 1, vol->prepath, pplen); in cifs_build_path_to_root() 112 pplen = cifs_sb->prepath ? strlen(cifs_sb->prepath) + 1 : 0; in build_path_from_dentry_optional_prefix() 175 cifs_dbg(FYI, "using cifs_sb prepath <%s>\n", cifs_sb->prepath); in build_path_from_dentry_optional_prefix() 176 memcpy(full_path+dfsplen+1, cifs_sb->prepath, pplen-1); in build_path_from_dentry_optional_prefix()
|
D | cifs_fs_sb.h | 74 char *prepath; member
|
D | connect.c | 1308 vol->prepath = kstrdup(pos, GFP_KERNEL); in cifs_parse_devname() 1309 if (!vol->prepath) in cifs_parse_devname() 3213 if (old_set && new_set && !strcmp(new->prepath, old->prepath)) in match_prepath() 3740 if (pvolume_info->prepath) { in cifs_setup_cifs_sb() 3741 cifs_sb->prepath = kstrdup(pvolume_info->prepath, GFP_KERNEL); in cifs_setup_cifs_sb() 3742 if (cifs_sb->prepath == NULL) in cifs_setup_cifs_sb() 3757 kfree(volume_info->prepath); in cleanup_volume_info_contents() 3780 unsigned int pplen = vol->prepath ? strlen(vol->prepath) + 1 : 0; in build_unc_path_to_root() 3792 strncpy(pos + 1, vol->prepath, pplen); in build_unc_path_to_root() 4369 kfree(cifs_sb->prepath); in cifs_umount()
|
D | inode.c | 1051 && cifs_sb->prepath) { 1052 len = strlen(cifs_sb->prepath); 1057 memcpy(path+1, cifs_sb->prepath, len);
|
D | cifsglob.h | 560 char *prepath; member
|
D | cifsfs.c | 784 kfree(cifs_sb->prepath); in cifs_smb3_do_mount()
|