Lines Matching full:s1
42 * @s1: name to compare to @s2
43 * @s1_len: length in Unicode characters of @s1
44 * @s2: name to compare to @s1
50 * Compare the names @s1 and @s2 and return 'true' (1) if the names are
54 bool ntfs_are_names_equal(const ntfschar *s1, size_t s1_len, in ntfs_are_names_equal() argument
61 return !ntfs_ucsncmp(s1, s2, s1_len); in ntfs_are_names_equal()
62 return !ntfs_ucsncasecmp(s1, s2, s1_len, upcase, upcase_size); in ntfs_are_names_equal()
123 * @s1: first string
127 * Compare the first @n characters of the Unicode strings @s1 and @s2,
132 * if @s1 (or the first @n Unicode characters thereof) is found, respectively,
135 int ntfs_ucsncmp(const ntfschar *s1, const ntfschar *s2, size_t n) in ntfs_ucsncmp() argument
141 c1 = le16_to_cpu(s1[i]); in ntfs_ucsncmp()
155 * @s1: first string
161 * Compare the first @n characters of the Unicode strings @s1 and @s2,
168 * if @s1 (or the first @n Unicode characters thereof) is found, respectively,
171 int ntfs_ucsncasecmp(const ntfschar *s1, const ntfschar *s2, size_t n, in ntfs_ucsncasecmp() argument
178 if ((c1 = le16_to_cpu(s1[i])) < upcase_size) in ntfs_ucsncasecmp()