Home
last modified time | relevance | path

Searched refs:journal_res (Results 1 – 10 of 10) sorted by relevance

/linux/fs/bcachefs/
H A Djournal.h194 journal_res_entry(struct journal *j, struct journal_res *res) in journal_res_entry()
224 bch2_journal_add_entry(struct journal *j, struct journal_res *res, in bch2_journal_add_entry()
297 struct journal_res *res) in bch2_journal_res_put()
314 int bch2_journal_res_get_slowpath(struct journal *, struct journal_res *,
327 struct journal_res *res, in journal_res_get_fast()
370 static inline int bch2_journal_res_get(struct journal *j, struct journal_res *res, in bch2_journal_res_get()
H A Dbtree_trans_commit.c350 return bch2_journal_res_get(&trans->c->journal, &trans->journal_res, in bch2_trans_journal_res_get()
361 bch2_journal_add_entry(j, &trans->journal_res, in journal_transaction_name()
671 i->k->k.bversion.lo = trans->journal_res.seq; in bch2_trans_commit_write_locked()
760 entry = bch2_journal_add_entry(j, &trans->journal_res, in bch2_trans_commit_write_locked()
768 entry = bch2_journal_add_entry(j, &trans->journal_res, in bch2_trans_commit_write_locked()
775 memcpy_u64s_small(journal_res_entry(&c->journal, &trans->journal_res), in bch2_trans_commit_write_locked()
779 trans->journal_res.offset += trans->journal_entries_u64s; in bch2_trans_commit_write_locked()
780 trans->journal_res.u64s -= trans->journal_entries_u64s; in bch2_trans_commit_write_locked()
783 *trans->journal_seq = trans->journal_res.seq; in bch2_trans_commit_write_locked()
790 bch2_btree_insert_key_leaf(trans, path, i->k, trans->journal_res.seq); in bch2_trans_commit_write_locked()
[all …]
H A Ddisk_accounting.h222 static inline struct bversion journal_pos_to_bversion(struct journal_res *res, unsigned offset) in journal_pos_to_bversion()
236 a->k.bversion = journal_pos_to_bversion(&trans->journal_res, in bch2_accounting_trans_commit_hook()
H A Djournal_types.h83 struct journal_res { struct
H A Dbtree_key_cache.c432 trans->journal_res.seq = ck->journal.seq; in btree_key_cache_flush_pos()
585 ck->seq = trans->journal_res.seq; in bch2_btree_insert_key_cached()
587 bch2_journal_pin_add(&c->journal, trans->journal_res.seq, in bch2_btree_insert_key_cached()
H A Dbtree_types.h538 struct journal_res journal_res; member
H A Djournal.c517 static int __journal_res_get(struct journal *j, struct journal_res *res, in __journal_res_get()
636 int bch2_journal_res_get_slowpath(struct journal *j, struct journal_res *res, in bch2_journal_res_get_slowpath()
753 struct journal_res res = { 0 }; in bch2_journal_flush_seq_async()
887 struct journal_res res = {}; in __bch2_journal_meta()
H A Dinode.c730 BUG_ON(!trans->journal_res.seq); in bch2_trigger_inode()
731 bkey_s_to_inode_v3(new).v->bi_journal_seq = cpu_to_le64(trans->journal_res.seq); in bch2_trigger_inode()
H A Dalloc_background.c934 u64 transaction_seq = trans->journal_res.seq; in bch2_trigger_alloc()
H A Dbtree_iter.c1481 trans->nr_updates, trans->fn, trans->journal_res.seq); in bch2_trans_updates_to_text()