Lines Matching refs:wchar_to
253 wchar_t wchar_to; /* needed to quiet sparse */ in cifs_strtoUTF16() local
277 charlen = codepage->char2uni(from, len, &wchar_to); in cifs_strtoUTF16()
282 wchar_to = 0x003f; in cifs_strtoUTF16()
285 put_unaligned_le16(wchar_to, &to[i]); in cifs_strtoUTF16()
461 wchar_t *wchar_to; /* UTF-16 */ in cifsConvertToUTF16() local
468 wchar_to = kzalloc(6, GFP_KERNEL); in cifsConvertToUTF16()
526 if (strcmp(cp->charset, "utf8") || !wchar_to) in cifsConvertToUTF16()
536 wchar_to, 6); in cifsConvertToUTF16()
541 dst_char = cpu_to_le16(*wchar_to); in cifsConvertToUTF16()
550 dst_char = cpu_to_le16(*(wchar_to + 1)); in cifsConvertToUTF16()
556 dst_char = cpu_to_le16(*(wchar_to + 1)); in cifsConvertToUTF16()
559 dst_char = cpu_to_le16(*(wchar_to + 2)); in cifsConvertToUTF16()
581 kfree(wchar_to); in cifsConvertToUTF16()
602 wchar_t wchar_to; in cifs_local_to_utf16_bytes() local
605 charlen = codepage->char2uni(from, len, &wchar_to); in cifs_local_to_utf16_bytes()