int ntfs_ucsncasecmp (const ntfschar * s1, const ntfschar * s2, size_t n, const ntfschar * upcase, const u32 upcase_size);
Compare the first n characters of the Unicode strings s1 and s2, ignoring case. The strings in little endian format and appropriate le16_to_cpu conversion is performed on non-little endian machines.
Each character is uppercased using the upcase table before the comparison.
The function returns an integer less than, equal to, or greater than zero if s1 (or the first n Unicode characters thereof) is found, respectively, to be less than, to match, or be greater than s2.