Lines Matching refs:wchar_to
254 wchar_t wchar_to; /* needed to quiet sparse */ in cifs_strtoUTF16() local
278 charlen = codepage->char2uni(from, len, &wchar_to); in cifs_strtoUTF16()
283 wchar_to = 0x003f; in cifs_strtoUTF16()
286 put_unaligned_le16(wchar_to, &to[i]); in cifs_strtoUTF16()
462 wchar_t *wchar_to; /* UTF-16 */ in cifsConvertToUTF16() local
469 wchar_to = kzalloc(6, GFP_KERNEL); in cifsConvertToUTF16()
516 if (strcmp(cp->charset, "utf8") || !wchar_to) in cifsConvertToUTF16()
526 wchar_to, 6); in cifsConvertToUTF16()
531 dst_char = cpu_to_le16(*wchar_to); in cifsConvertToUTF16()
540 dst_char = cpu_to_le16(*(wchar_to + 1)); in cifsConvertToUTF16()
546 dst_char = cpu_to_le16(*(wchar_to + 1)); in cifsConvertToUTF16()
549 dst_char = cpu_to_le16(*(wchar_to + 2)); in cifsConvertToUTF16()
571 kfree(wchar_to); in cifsConvertToUTF16()
592 wchar_t wchar_to; in cifs_local_to_utf16_bytes() local
595 charlen = codepage->char2uni(from, len, &wchar_to); in cifs_local_to_utf16_bytes()