Home
last modified time | relevance | path

Searched refs:pplen (Results 1 – 3 of 3) sorted by relevance

/linux-6.3-rc2/fs/cifs/
A Dcifs_dfs_ref.c65 size_t pplen; in cifs_build_devname() local
90 pplen = prepath ? strlen(prepath) : 0; in cifs_build_devname()
91 dev = kmalloc(2 + unclen + 1 + pplen + 1, GFP_KERNEL); in cifs_build_devname()
107 if (pplen) { in cifs_build_devname()
110 memcpy(pos, prepath, pplen); in cifs_build_devname()
111 pos += pplen; in cifs_build_devname()
A Ddir.c42 int pplen = ctx->prepath ? strlen(ctx->prepath) + 1 : 0; in cifs_build_path_to_root() local
47 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() local
100 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()
A Ddfs.c65 unsigned int pplen = useppath && ctx->prepath ? strlen(ctx->prepath) + 1 : 0; in build_unc_path_to_root() local
71 full_path = kmalloc(unc_len + pplen + 1, GFP_KERNEL); in build_unc_path_to_root()
78 if (pplen) { in build_unc_path_to_root()
80 memcpy(pos + 1, ctx->prepath, pplen); in build_unc_path_to_root()
81 pos += pplen; in build_unc_path_to_root()

Completed in 6 milliseconds