Lines Matching defs:ref1
222 * A -1 return indicates ref1 is a 'lower' block than ref2, while 1
225 static int prelim_ref_compare(struct prelim_ref *ref1,
228 if (ref1->level < ref2->level)
230 if (ref1->level > ref2->level)
232 if (ref1->root_id < ref2->root_id)
234 if (ref1->root_id > ref2->root_id)
236 if (ref1->key_for_search.type < ref2->key_for_search.type)
238 if (ref1->key_for_search.type > ref2->key_for_search.type)
240 if (ref1->key_for_search.objectid < ref2->key_for_search.objectid)
242 if (ref1->key_for_search.objectid > ref2->key_for_search.objectid)
244 if (ref1->key_for_search.offset < ref2->key_for_search.offset)
246 if (ref1->key_for_search.offset > ref2->key_for_search.offset)
248 if (ref1->parent < ref2->parent)
250 if (ref1->parent > ref2->parent)