Searched refs:bversion (Results 1 – 21 of 21) sorted by relevance
/linux-6.12.1/fs/bcachefs/ |
D | disk_accounting_types.h | 9 struct bversion bversion; member
|
D | disk_accounting.h | 39 if (bversion_cmp(dst->k.bversion, src.k->bversion) < 0) in bch2_accounting_accumulate() 40 dst->k.bversion = src.k->bversion; in bch2_accounting_accumulate()
|
D | bkey.h | 208 static __always_inline int bversion_cmp(struct bversion l, struct bversion r) in bversion_cmp() 214 #define ZERO_VERSION ((struct bversion) { .hi = 0, .lo = 0 }) 215 #define MAX_VERSION ((struct bversion) { .hi = ~0, .lo = ~0ULL }) 217 static __always_inline bool bversion_zero(struct bversion v) in bversion_zero() 557 x(BKEY_FIELD_VERSION_HI, bversion.hi) \ 558 x(BKEY_FIELD_VERSION_LO, bversion.lo)
|
D | bkey_methods.h | 73 !bversion_cmp(l->bversion, r->bversion) && in bch2_bkey_maybe_mergable()
|
D | checksum.h | 84 int bch2_rechecksum_bio(struct bch_fs *, struct bio *, struct bversion, 190 static inline struct nonce extent_nonce(struct bversion version, in extent_nonce()
|
D | bcachefs_format.h | 185 struct bversion { struct 220 struct bversion bversion; member 226 struct bversion bversion; member 331 bkey_format_field(VERSION_HI, bversion.hi), \ 332 bkey_format_field(VERSION_LO, bversion.lo), \
|
D | disk_accounting.c | 137 bkey_fsck_err_on(bversion_zero(k.k->bversion), in bch2_accounting_validate() 304 .bversion = a.k->bversion, in __bch2_accounting_mem_insert() 724 bversion_cmp(acc->k.data[idx].bversion, k.k->bversion) >= 0; in bch2_accounting_read() 732 WARN_ON(bversion_cmp(i[0].k->k.bversion, i[1].k->k.bversion) >= 0); in bch2_accounting_read()
|
D | io_write_types.h | 65 struct bversion version;
|
D | btree_trans_commit.c | 612 static struct bversion journal_pos_to_bversion(struct journal_res *res, unsigned offset) in journal_pos_to_bversion() 614 return (struct bversion) { in journal_pos_to_bversion() 687 i->k->k.bversion.lo = trans->journal_res.seq; in bch2_trans_commit_write_locked() 690 i->k->k.bversion = MAX_VERSION; in bch2_trans_commit_write_locked() 714 a->k.bversion = journal_pos_to_bversion(&trans->journal_res, in bch2_trans_commit_write_locked() 716 BUG_ON(bversion_zero(a->k.bversion)); in bch2_trans_commit_write_locked()
|
D | io_read.h | 65 struct bversion version;
|
D | reflink.c | 370 r_v->k.bversion = orig->k.bversion; in bch2_make_extent_indirect()
|
D | io_write.c | 690 struct bversion version, in init_append_extent() 700 e->k.bversion = version; in init_append_extent() 946 struct bversion version = op->version; in bch2_write_extent() 1544 id->k.bversion = op->version; in bch2_write_data_inline()
|
D | btree_gc.c | 604 k.k->bversion.lo > atomic64_read(&c->journal.seq)); in bch2_gc_mark_key() 607 k.k->bversion.lo > atomic64_read(&c->key_version), in bch2_gc_mark_key() 612 atomic64_set(&c->key_version, k.k->bversion.lo); in bch2_gc_mark_key()
|
D | bkey_methods.c | 292 prt_printf(out, " len %u ver %llu", k->size, k->bversion.lo); in bch2_bkey_to_text()
|
D | recovery.c | 153 if (bversion_cmp(old.k->bversion, k->k->k.bversion) >= 0) { in bch2_journal_replay_accounting_key()
|
D | io_read.c | 521 if (bversion_cmp(k.k->bversion, rbio->version) || in __bch2_rbio_narrow_crcs() 1034 rbio->version = k.k->bversion; in __bch2_read_extent()
|
D | checksum.c | 400 struct bversion version, in bch2_rechecksum_bio()
|
D | data_update.c | 646 m->op.version = k.k->bversion; in bch2_data_update_init()
|
D | tests.c | 397 k.k_i.k.bversion.lo = test_version++; in insert_test_extent()
|
D | backpointers.c | 509 struct nonce nonce = extent_nonce(extent.k->bversion, p.crc); in check_extent_checksum()
|
D | btree_io.c | 1222 !bversion_cmp(u.k->bversion, MAX_VERSION))) { in bch2_btree_node_read_done()
|