Lines Matching refs:bkey_cmp
37 bkey_cmp(k, b->ops->is_extents ? in bch_dump_bset()
76 if (p && bkey_cmp(&START_KEY(p), &START_KEY(k)) > 0) in __bch_check_keys()
83 if (p && bkey_cmp(p, &START_KEY(k)) > 0) in __bch_check_keys()
90 if (p && !bkey_cmp(p, k)) in __bch_check_keys()
97 if (p && bkey_cmp(p, &b->key) > 0) in __bch_check_keys()
116 bkey_cmp(k, iter->b->ops->is_extents ? in bch_btree_iter_next_check()
201 if (bkey_cmp(where, &START_KEY(k)) <= 0) in __bch_cut_front()
204 if (bkey_cmp(where, k) < 0) in __bch_cut_front()
221 if (bkey_cmp(where, k) >= 0) in __bch_cut_back()
226 if (bkey_cmp(where, &START_KEY(k)) > 0) in __bch_cut_back()
851 bkey_cmp(l, &START_KEY(r))) in bch_bkey_try_merge()
906 bkey_cmp(k, b->ops->is_extents ? &START_KEY(m) : m) > 0) { in bch_btree_insert_key()
947 if (bkey_cmp(table_to_bkey(t, m), search) > 0) in bset_search_write_set()
981 if (bkey_cmp(tree_to_bkey(t, j), search) > 0) in bset_search_tree()
1046 if (unlikely(bkey_cmp(search, &t->end) >= 0)) in __bch_bset_search()
1049 if (unlikely(bkey_cmp(search, t->data->start) < 0)) in __bch_bset_search()
1063 bkey_cmp(tree_to_prev_bkey(t, in __bch_bset_search()
1068 bkey_cmp(i.r, search) <= 0); in __bch_bset_search()
1072 bkey_cmp(i.l, search) <= 0) in __bch_bset_search()
1086 return bkey_cmp(l.k, r.k) > 0; in btree_iter_cmp()