Lines Matching refs:pplen
52 int pplen = vol->prepath ? strlen(vol->prepath) + 1 : 0; in cifs_build_path_to_root() local
57 if (pplen == 0) { in cifs_build_path_to_root()
67 full_path = kmalloc(dfsplen + pplen + 1, GFP_KERNEL); in cifs_build_path_to_root()
74 strncpy(full_path + dfsplen + 1, vol->prepath, pplen); in cifs_build_path_to_root()
76 full_path[dfsplen + pplen] = 0; /* add trailing null */ in cifs_build_path_to_root()
98 int pplen = 0; in build_path_from_dentry_optional_prefix() local
112 pplen = cifs_sb->prepath ? strlen(cifs_sb->prepath) + 1 : 0; in build_path_from_dentry_optional_prefix()
115 namelen = dfsplen + pplen; in build_path_from_dentry_optional_prefix()
156 if (namelen != dfsplen + pplen || read_seqretry(&rename_lock, seq)) { in build_path_from_dentry_optional_prefix()
172 if (pplen) { 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()
178 for (i = 0; i < pplen-1; i++) in build_path_from_dentry_optional_prefix()