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()
515 if (strcmp(cp->charset, "utf8") || !wchar_to) in cifsConvertToUTF16()
525 wchar_to, 6); in cifsConvertToUTF16()
530 dst_char = cpu_to_le16(*wchar_to); in cifsConvertToUTF16()
539 dst_char = cpu_to_le16(*(wchar_to + 1)); in cifsConvertToUTF16()
545 dst_char = cpu_to_le16(*(wchar_to + 1)); in cifsConvertToUTF16()
548 dst_char = cpu_to_le16(*(wchar_to + 2)); in cifsConvertToUTF16()
570 kfree(wchar_to); in cifsConvertToUTF16()
591 wchar_t wchar_to; in cifs_local_to_utf16_bytes() local
594 charlen = codepage->char2uni(from, len, &wchar_to); in cifs_local_to_utf16_bytes()