Lines Matching defs:cache_cp
57 static struct nls_table *cache_cp;
85 if (unlikely(strcmp(cp->charset, cache_cp->charset))) {
92 npath = cifs_strndup_from_utf16(tmp, plen, true, cache_cp);
307 cache_cp = load_nls("utf8");
308 if (!cache_cp)
309 cache_cp = load_nls_default();
327 clen = cache_cp->char2uni(&s[i], size - i, &c);
509 /* Check if two DFS paths are equal. @s1 and @s2 are expected to be in @cache_cp's charset */
519 l1 = cache_cp->char2uni(&s1[i], len1 - i, &c1);
520 l2 = cache_cp->char2uni(&s2[i], len2 - i, &c2);
611 unload_nls(cache_cp);
657 if (unlikely(!cache_cp))
661 rc = ses->server->ops->get_dfs_refer(xid, ses, path, refs, numrefs, cache_cp,