Lines Matching full:ref2
219 * A -1 return indicates ref1 is a 'lower' block than ref2, while 1
223 const struct prelim_ref *ref2) in prelim_ref_compare() argument
225 if (ref1->level < ref2->level) in prelim_ref_compare()
227 if (ref1->level > ref2->level) in prelim_ref_compare()
229 if (ref1->root_id < ref2->root_id) in prelim_ref_compare()
231 if (ref1->root_id > ref2->root_id) in prelim_ref_compare()
233 if (ref1->key_for_search.type < ref2->key_for_search.type) in prelim_ref_compare()
235 if (ref1->key_for_search.type > ref2->key_for_search.type) in prelim_ref_compare()
237 if (ref1->key_for_search.objectid < ref2->key_for_search.objectid) in prelim_ref_compare()
239 if (ref1->key_for_search.objectid > ref2->key_for_search.objectid) in prelim_ref_compare()
241 if (ref1->key_for_search.offset < ref2->key_for_search.offset) in prelim_ref_compare()
243 if (ref1->key_for_search.offset > ref2->key_for_search.offset) in prelim_ref_compare()
245 if (ref1->parent < ref2->parent) in prelim_ref_compare()
247 if (ref1->parent > ref2->parent) in prelim_ref_compare()