Searched refs:cache_cp (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/fs/cifs/ |
D | dfs_cache.c | 69 static struct nls_table *cache_cp; variable 197 if (unlikely(strcmp(cp->charset, cache_cp->charset))) { in dfs_cache_canonical_path() 204 npath = cifs_strndup_from_utf16(tmp, plen, true, cache_cp); in dfs_cache_canonical_path() 416 cache_cp = load_nls("utf8"); in dfs_cache_init() 417 if (!cache_cp) in dfs_cache_init() 418 cache_cp = load_nls_default(); in dfs_cache_init() 436 clen = cache_cp->char2uni(&s[i], size - i, &c); in cache_entry_hash() 631 l1 = cache_cp->char2uni(&s1[i], len1 - i, &c1); in dfs_path_equal() 632 l2 = cache_cp->char2uni(&s2[i], len2 - i, &c2); in dfs_path_equal() 722 unload_nls(cache_cp); in dfs_cache_destroy() [all …]
|