Searched refs:dfsplen (Results 1 – 1 of 1) sorted by relevance
53 int dfsplen; in cifs_build_path_to_root() local63 dfsplen = strnlen(tcon->treeName, MAX_TREE_SIZE + 1); in cifs_build_path_to_root()65 dfsplen = 0; in cifs_build_path_to_root()67 full_path = kmalloc(dfsplen + pplen + 1, GFP_KERNEL); in cifs_build_path_to_root()71 if (dfsplen) in cifs_build_path_to_root()72 strncpy(full_path, tcon->treeName, dfsplen); in cifs_build_path_to_root()73 full_path[dfsplen] = CIFS_DIR_SEP(cifs_sb); 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()86 int dfsplen; in build_path_from_dentry() local[all …]