Searched refs:cache_cp (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/fs/smb/client/ |
D | dfs_cache.c | 57 static struct nls_table *cache_cp; variable 85 if (unlikely(strcmp(cp->charset, cache_cp->charset))) { in dfs_cache_canonical_path() 92 npath = cifs_strndup_from_utf16(tmp, plen, true, cache_cp); in dfs_cache_canonical_path() 308 cache_cp = load_nls("utf8"); in dfs_cache_init() 309 if (!cache_cp) in dfs_cache_init() 310 cache_cp = load_nls_default(); in dfs_cache_init() 328 clen = cache_cp->char2uni(&s[i], size - i, &c); in cache_entry_hash() 517 l1 = cache_cp->char2uni(&s1[i], len1 - i, &c1); in dfs_path_equal() 518 l2 = cache_cp->char2uni(&s2[i], len2 - i, &c2); in dfs_path_equal() 609 unload_nls(cache_cp); in dfs_cache_destroy() [all …]
|