Home
last modified time | relevance | path

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

/fs/cifs/
Dcifs_dfs_ref.c65 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()
Ddir.c52 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()
101 pplen = cifs_sb->prepath ? strlen(cifs_sb->prepath) + 1 : 0; in build_path_from_dentry()
164 cifs_dbg(FYI, "using cifs_sb prepath <%s>\n", cifs_sb->prepath); in build_path_from_dentry()
165 memcpy(full_path+dfsplen+1, cifs_sb->prepath, pplen-1); in build_path_from_dentry()
Dcifs_fs_sb.h74 char *prepath; member
Dconnect.c1183 vol->prepath = kstrdup(pos, GFP_KERNEL); in cifs_parse_devname()
1184 if (!vol->prepath) in cifs_parse_devname()
2852 if (old_set && new_set && !strcmp(new->prepath, old->prepath)) in match_prepath()
3399 if (pvolume_info->prepath) { in cifs_setup_cifs_sb()
3400 cifs_sb->prepath = kstrdup(pvolume_info->prepath, GFP_KERNEL); in cifs_setup_cifs_sb()
3401 if (cifs_sb->prepath == NULL) in cifs_setup_cifs_sb()
3416 kfree(volume_info->prepath); in cleanup_volume_info_contents()
3439 unsigned int pplen = vol->prepath ? strlen(vol->prepath) + 1 : 0; in build_unc_path_to_root()
3451 strncpy(pos + 1, vol->prepath, pplen); in build_unc_path_to_root()
4035 kfree(cifs_sb->prepath); in cifs_umount()
Dinode.c1042 && cifs_sb->prepath) {
1043 len = strlen(cifs_sb->prepath);
1048 memcpy(path+1, cifs_sb->prepath, len);
Dcifsglob.h526 char *prepath; member
Dcifsfs.c754 kfree(cifs_sb->prepath); in cifs_do_mount()