Lines Matching refs:codepage
193 const struct nls_table *codepage, int map_type) in cifs_from_utf16() argument
197 int nullsize = nls_nullsize(codepage); in cifs_from_utf16()
228 charlen = cifs_mapchar(tmp, ftmp, codepage, map_type); in cifs_from_utf16()
234 charlen = cifs_mapchar(&to[outlen], ftmp, codepage, map_type); in cifs_from_utf16()
264 const struct nls_table *codepage) in cifs_strtoUTF16() argument
271 if (!strcmp(codepage->charset, "utf8")) { in cifs_strtoUTF16()
292 charlen = codepage->char2uni(from, len, &wchar_to); in cifs_strtoUTF16()
320 const struct nls_table *codepage) in cifs_utf16_bytes() argument
341 charlen = cifs_mapchar(tmp, ftmp, codepage, NO_MAP_UNI_RSVD); in cifs_utf16_bytes()
362 const bool is_unicode, const struct nls_table *codepage) in cifs_strndup_from_utf16() argument
368 len = cifs_utf16_bytes((__le16 *) src, maxlen, codepage); in cifs_strndup_from_utf16()
369 len += nls_nullsize(codepage); in cifs_strndup_from_utf16()
373 cifs_from_utf16(dst, (__le16 *) src, len, maxlen, codepage, in cifs_strndup_from_utf16()
601 const struct nls_table *codepage) in cifs_local_to_utf16_bytes() argument
608 charlen = codepage->char2uni(from, len, &wchar_to); in cifs_local_to_utf16_bytes()