Home
last modified time | relevance | path

Searched refs:bpos_cmp (Results 1 – 13 of 13) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Dbbpos.h11 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()
Dbkey_cmp.h103 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()
Dbtree_node_scan.c139 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()
Dbtree_gc.h65 bpos_cmp(l.pos, r.pos); in gc_pos_cmp()
Dbtree_journal_iter.h38 bpos_cmp(l_pos, r->k->k.p)); in __journal_key_cmp()
Dbtree_write_buffer.h42 return cmp_int(l->btree, r->btree) ?: bpos_cmp(l->k.k.p, r->k.k.p); in wb_key_cmp()
Ddisk_accounting.h103 return bpos_cmp(*l, *r); in accounting_pos_cmp()
Dbset.h288 return bpos_cmp(packed_to_bkey_c(l)->p, *r); in bkey_cmp_p_or_unp()
Dbkey.c1028 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()
Dbkey.h135 static __always_inline int bpos_cmp(struct bpos l, struct bpos r) in bpos_cmp() function
Dbtree_iter.c51 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()
Dbtree_update.c23 bpos_cmp(l->k->k.p, r->k->k.p); in btree_insert_entry_cmp()
Dmove.c857 bpos_cmp(b->key.k.p, end.pos)) > 0) in bch2_move_btree()