Searched refs:wchar_to (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/fs/smb/client/ |
D | cifs_unicode.c | 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() [all …]
|
/linux-6.6.21/fs/smb/server/ |
D | unicode.c | 238 wchar_t wchar_to; /* needed to quiet sparse */ in smb_strtoUTF16() local 262 charlen = codepage->char2uni(from, len, &wchar_to); in smb_strtoUTF16() 265 wchar_to = 0x003f; in smb_strtoUTF16() 268 put_unaligned_le16(wchar_to, &to[i]); in smb_strtoUTF16() 349 wchar_t wchar_to[6]; /* UTF-16 */ in smbConvertToUTF16() local 408 wchar_to, 6); in smbConvertToUTF16() 413 dst_char = cpu_to_le16(*wchar_to); in smbConvertToUTF16() 424 dst_char = cpu_to_le16(*(wchar_to + 1)); in smbConvertToUTF16() 430 dst_char = cpu_to_le16(*(wchar_to + 1)); in smbConvertToUTF16() 433 dst_char = cpu_to_le16(*(wchar_to + 2)); in smbConvertToUTF16()
|