Home
last modified time | relevance | path

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

/linux-6.15/fs/bcachefs/
H A Djournal.h207 journal_res_entry(struct journal *j, struct journal_res *res) in journal_res_entry()
237 bch2_journal_add_entry(struct journal *j, struct journal_res *res, in bch2_journal_add_entry()
312 struct journal_res *res) in bch2_journal_res_put()
329 int bch2_journal_res_get_slowpath(struct journal *, struct journal_res *,
342 struct journal_res *res, in journal_res_get_fast()
387 static inline int bch2_journal_res_get(struct journal *j, struct journal_res *res, in bch2_journal_res_get()
H A Dbtree_trans_commit.c352 return bch2_journal_res_get(&trans->c->journal, &trans->journal_res, in bch2_trans_journal_res_get()
363 bch2_journal_add_entry(j, &trans->journal_res, in journal_transaction_name()
649 i->k->k.bversion.lo = trans->journal_res.seq; in bch2_trans_commit_write_locked()
738 entry = bch2_journal_add_entry(j, &trans->journal_res, in bch2_trans_commit_write_locked()
746 entry = bch2_journal_add_entry(j, &trans->journal_res, in bch2_trans_commit_write_locked()
757 trans->journal_res.offset += trans->journal_entries_u64s; in bch2_trans_commit_write_locked()
758 trans->journal_res.u64s -= trans->journal_entries_u64s; in bch2_trans_commit_write_locked()
761 *trans->journal_seq = trans->journal_res.seq; in bch2_trans_commit_write_locked()
852 bch2_journal_pin_add(&c->journal, trans->journal_res.seq, in do_bch2_trans_commit()
861 bch2_journal_res_put(&c->journal, &trans->journal_res); in do_bch2_trans_commit()
[all …]
H A Ddisk_accounting.h248 static inline struct bversion journal_pos_to_bversion(struct journal_res *res, unsigned offset) in journal_pos_to_bversion()
262 a->k.bversion = journal_pos_to_bversion(&trans->journal_res, in bch2_accounting_trans_commit_hook()
H A Djournal_types.h87 struct journal_res { struct
H A Dbtree_key_cache.c447 trans->journal_res.seq = ck->journal.seq; in btree_key_cache_flush_pos()
600 ck->seq = trans->journal_res.seq; in bch2_btree_insert_key_cached()
602 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.c578 static int __journal_res_get(struct journal *j, struct journal_res *res, in __journal_res_get()
721 int bch2_journal_res_get_slowpath(struct journal *j, struct journal_res *res, in bch2_journal_res_get_slowpath()
837 struct journal_res res = { 0 }; in bch2_journal_flush_seq_async()
971 struct journal_res res = {}; in __bch2_journal_meta()
H A Dbtree_write_buffer.c123 trans->journal_res.seq = wb->journal_seq; in wb_flush_one_slowpath()
209 trans->journal_res.seq = wb->journal_seq; in btree_write_buffered_insert()
H A Drecovery.c226 trans->journal_res.seq = k->journal_seq; in bch2_journal_replay_accounting_key()
247 trans->journal_res.seq = k->journal_seq; in bch2_journal_replay_key()
H A Dinode.c731 BUG_ON(!trans->journal_res.seq); in bch2_trigger_inode()
732 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.c931 u64 transaction_seq = trans->journal_res.seq; in bch2_trigger_alloc()
H A Dbtree_iter.c1467 trans->nr_updates, trans->fn, trans->journal_res.seq); in bch2_trans_updates_to_text()