Searched refs:bpos_cmp (Results 1 – 13 of 13) sorted by relevance
/linux-6.12.1/fs/bcachefs/ |
D | bbpos.h | 11 return cmp_int(l.btree, r.btree) ?: bpos_cmp(l.pos, r.pos); in bbpos_cmp() 16 if (bpos_cmp(pos.pos, SPOS_MAX)) { in bbpos_successor()
|
D | bkey_cmp.h | 103 EBUG_ON(ret != bpos_cmp(bkey_unpack_pos(b, l), in __bch2_bkey_cmp_packed_format_checked_inlined() 126 return bpos_cmp(((struct bkey *) l)->p, ((struct bkey *) r)->p); in bch2_bkey_cmp_packed_inlined()
|
D | btree_node_scan.c | 139 bpos_cmp(l->min_key, r->min_key) ?: in found_btree_node_cmp_pos() 319 if (bpos_cmp(start->max_key, n->max_key) >= 0) in handle_overwrites() 329 BUG_ON(bpos_cmp(n->min_key, start->min_key) <= 0); in handle_overwrites() 336 if (bpos_cmp(start->max_key, n->max_key) >= 0) in handle_overwrites() 443 bpos_cmp(l->max_key, r->min_key); in found_btree_node_range_start_cmp()
|
D | btree_gc.h | 65 bpos_cmp(l.pos, r.pos); in gc_pos_cmp()
|
D | btree_journal_iter.h | 38 bpos_cmp(l_pos, r->k->k.p)); in __journal_key_cmp()
|
D | btree_write_buffer.h | 42 return cmp_int(l->btree, r->btree) ?: bpos_cmp(l->k.k.p, r->k.k.p); in wb_key_cmp()
|
D | disk_accounting.h | 103 return bpos_cmp(*l, *r); in accounting_pos_cmp()
|
D | bset.h | 288 return bpos_cmp(packed_to_bkey_c(l)->p, *r); in bkey_cmp_p_or_unp()
|
D | bkey.c | 1028 return bpos_cmp(bkey_unpack_pos_format_checked(b, l), *r); in __bch2_bkey_cmp_left_packed_format_checked() 1047 ? bpos_cmp(l_unpacked->p, *r) in __bch2_bkey_cmp_left_packed()
|
D | bkey.h | 135 static __always_inline int bpos_cmp(struct bpos l, struct bpos r) in bpos_cmp() function
|
D | btree_iter.c | 51 bpos_cmp(l->pos, r_pos) ?: in __btree_path_cmp() 648 bpos_cmp(i->k->k.p, b->data->min_key) >= 0 && in bch2_trans_revalidate_updates_in_node() 649 bpos_cmp(i->k->k.p, b->data->max_key) <= 0) { in bch2_trans_revalidate_updates_in_node() 1268 int cmp = bpos_cmp(new_pos, trans->paths[path_idx].pos); in __bch2_btree_path_set_pos()
|
D | btree_update.c | 23 bpos_cmp(l->k->k.p, r->k->k.p); in btree_insert_entry_cmp()
|
D | move.c | 857 bpos_cmp(b->key.k.p, end.pos)) > 0) in bch2_move_btree()
|