Lines Matching refs:START_KEY
264 int64_t c = bkey_cmp(&START_KEY(_l->k), &START_KEY(_r->k)); in new_bch_extent_sort_cmp()
291 if (bkey_cmp(top->k, &START_KEY(i->k)) <= 0) in bch_extent_sort_fixup()
309 BUG_ON(!bkey_cmp(&START_KEY(top->k), &START_KEY(i->k))); in bch_extent_sort_fixup()
314 bch_cut_back(&START_KEY(i->k), tmp); in bch_extent_sort_fixup()
320 bch_cut_back(&START_KEY(i->k), top->k); in bch_extent_sort_fixup()
357 if (bkey_cmp(&START_KEY(k), insert) >= 0) { in bch_extent_insert_fixup()
364 if (bkey_cmp(k, &START_KEY(insert)) <= 0) in bch_extent_insert_fixup()
412 bkey_cmp(&START_KEY(insert), &START_KEY(k)) > 0) { in bch_extent_insert_fixup()
449 bch_cut_back(&START_KEY(insert), k); in bch_extent_insert_fixup()
457 if (bkey_cmp(&START_KEY(insert), &START_KEY(k)) > 0) in bch_extent_insert_fixup()
461 bkey_cmp(&START_KEY(insert), &START_KEY(k)) <= 0) { in bch_extent_insert_fixup()
468 __bch_cut_back(&START_KEY(insert), k); in bch_extent_insert_fixup()