Lines Matching full:key1
472 * @key1: the first key to compare
475 * This function compares 2 keys and returns %-1 if @key1 is less than
476 * @key2, %0 if the keys are equivalent and %1 if @key1 is greater than @key2.
479 const union ubifs_key *key1, in keys_cmp() argument
482 if (key1->u32[0] < key2->u32[0]) in keys_cmp()
484 if (key1->u32[0] > key2->u32[0]) in keys_cmp()
486 if (key1->u32[1] < key2->u32[1]) in keys_cmp()
488 if (key1->u32[1] > key2->u32[1]) in keys_cmp()
497 * @key1: the first key to compare
500 * This function compares 2 keys and returns %1 if @key1 is equal to @key2 and
504 const union ubifs_key *key1, in keys_eq() argument
507 if (key1->u32[0] != key2->u32[0]) in keys_eq()
509 if (key1->u32[1] != key2->u32[1]) in keys_eq()