Home
last modified time | relevance | path

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

/linux-6.12.1/fs/smb/client/
Ddir.c43 int dfsplen; in cifs_build_path_to_root() local
53 dfsplen = strnlen(tcon->tree_name, MAX_TREE_SIZE + 1); in cifs_build_path_to_root()
55 dfsplen = 0; in cifs_build_path_to_root()
57 full_path = kmalloc(dfsplen + pplen + 1, GFP_KERNEL); in cifs_build_path_to_root()
61 if (dfsplen) in cifs_build_path_to_root()
62 memcpy(full_path, tcon->tree_name, dfsplen); in cifs_build_path_to_root()
63 full_path[dfsplen] = CIFS_DIR_SEP(cifs_sb); in cifs_build_path_to_root()
64 memcpy(full_path + dfsplen + 1, ctx->prepath, pplen); in cifs_build_path_to_root()
85 int dfsplen; in __build_path_from_dentry_optional_prefix() local
95 dfsplen = strnlen(tree, tree_len + 1); in __build_path_from_dentry_optional_prefix()
[all …]