Searched refs:pplen (Results 1 – 2 of 2) sorted by relevance
64 size_t pplen; in cifs_build_devname() local89 pplen = prepath ? strlen(prepath) : 0; in cifs_build_devname()90 dev = kmalloc(2 + unclen + 1 + pplen + 1, GFP_KERNEL); in cifs_build_devname()106 if (pplen) { in cifs_build_devname()109 memcpy(pos, prepath, pplen); in cifs_build_devname()110 pos += pplen; in cifs_build_devname()
42 int pplen = ctx->prepath ? strlen(ctx->prepath) + 1 : 0; in cifs_build_path_to_root() local47 if (pplen == 0) { in cifs_build_path_to_root()57 full_path = kmalloc(dfsplen + pplen + 1, GFP_KERNEL); in cifs_build_path_to_root()64 memcpy(full_path + dfsplen + 1, ctx->prepath, pplen); in cifs_build_path_to_root()86 int pplen = 0; in __build_path_from_dentry_optional_prefix() local100 pplen = cifs_sb->prepath ? strlen(cifs_sb->prepath) + 1 : 0; in __build_path_from_dentry_optional_prefix()107 if (s < (char *)page + pplen + dfsplen) in __build_path_from_dentry_optional_prefix()109 if (pplen) { in __build_path_from_dentry_optional_prefix()111 s -= pplen; in __build_path_from_dentry_optional_prefix()112 memcpy(s + 1, cifs_sb->prepath, pplen - 1); in __build_path_from_dentry_optional_prefix()