Lines Matching full:s2
42 * @s1: name to compare to @s2
44 * @s2: name to compare to @s1
45 * @s2_len: length in Unicode characters of @s2
50 * Compare the names @s1 and @s2 and return 'true' (1) if the names are
55 const ntfschar *s2, size_t s2_len, const IGNORE_CASE_BOOL ic, 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()
124 * @s2: second string
127 * Compare the first @n characters of the Unicode strings @s1 and @s2,
133 * to be less than, to match, or be greater than @s2.
135 int ntfs_ucsncmp(const ntfschar *s1, const ntfschar *s2, size_t n) in ntfs_ucsncmp() argument
142 c2 = le16_to_cpu(s2[i]); in ntfs_ucsncmp()
156 * @s2: second string
161 * Compare the first @n characters of the Unicode strings @s1 and @s2,
169 * to be less than, to match, or be greater than @s2.
171 int ntfs_ucsncasecmp(const ntfschar *s1, const ntfschar *s2, size_t n, in ntfs_ucsncasecmp() argument
180 if ((c2 = le16_to_cpu(s2[i])) < upcase_size) in ntfs_ucsncasecmp()