Lines Matching refs:codepage
107 const struct nls_table *codepage) in smb_utf16_bytes() argument
126 charlen = cifs_mapchar(tmp, ftmp, codepage, 0); in smb_utf16_bytes()
161 const struct nls_table *codepage, bool mapchar) in smb_from_utf16() argument
165 int nullsize = nls_nullsize(codepage); in smb_from_utf16()
194 charlen = cifs_mapchar(tmp, ftmp, codepage, mapchar); in smb_from_utf16()
200 charlen = cifs_mapchar(&to[outlen], ftmp, codepage, mapchar); in smb_from_utf16()
234 const struct nls_table *codepage) in smb_strtoUTF16() argument
241 if (!strcmp(codepage->charset, "utf8")) { in smb_strtoUTF16()
262 charlen = codepage->char2uni(from, len, &wchar_to); in smb_strtoUTF16()
292 const struct nls_table *codepage) in smb_strndup_from_utf16() argument
298 len = smb_utf16_bytes((__le16 *)src, maxlen, codepage); in smb_strndup_from_utf16()
299 len += nls_nullsize(codepage); in smb_strndup_from_utf16()
303 ret = smb_from_utf16(dst, (__le16 *)src, len, maxlen, codepage, in smb_strndup_from_utf16()