Home
last modified time | relevance | path

Searched refs:wchar_to (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/fs/cifs/
Dcifs_unicode.c254 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()
[all …]
/linux-6.1.9/fs/ksmbd/
Dunicode.c217 wchar_t wchar_to; /* needed to quiet sparse */ in smb_strtoUTF16() local
241 charlen = codepage->char2uni(from, len, &wchar_to); in smb_strtoUTF16()
244 wchar_to = 0x003f; in smb_strtoUTF16()
247 put_unaligned_le16(wchar_to, &to[i]); in smb_strtoUTF16()