27 const void *
data1,
const int data1_len,
28 const void *
data2,
const int data2_len)
33 rc =
memcmp(data1, data2,
min(data1_len, data2_len));
34 if (!rc && (data1_len != data2_len)) {
35 if (data1_len < data2_len)
44 static int ntfs_collate_ntofs_ulong(
ntfs_volume *vol,
45 const void *data1,
const int data1_len,
46 const void *data2,
const int data2_len)
53 BUG_ON(data1_len != data2_len);
70 const void *,
const int);
79 ntfs_collate_ntofs_ulong,
102 const void *data1,
const int data1_len,
103 const void *data2,
const int data2_len) {
115 return ntfs_do_collate0x0[
i](
vol,
data1, data1_len,
120 return ntfs_do_collate0x1[
i](
vol,
data1, data1_len,