Home
last modified time | relevance | path

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

/fs/bcachefs/
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()
A Dbtree_trans_commit.c365 bch2_journal_add_entry(j, &trans->journal_res, in journal_transaction_name()
654 i->k->k.bversion.lo = trans->journal_res.seq; in bch2_trans_commit_write_locked()
742 entry = bch2_journal_add_entry(j, &trans->journal_res, in bch2_trans_commit_write_locked()
750 entry = bch2_journal_add_entry(j, &trans->journal_res, in bch2_trans_commit_write_locked()
761 EBUG_ON(trans->journal_res.u64s < trans->journal_entries.u64s); in bch2_trans_commit_write_locked()
763 trans->journal_res.offset += trans->journal_entries.u64s; in bch2_trans_commit_write_locked()
764 trans->journal_res.u64s -= trans->journal_entries.u64s; in bch2_trans_commit_write_locked()
774 *trans->journal_seq = trans->journal_res.seq; in bch2_trans_commit_write_locked()
862 bch2_journal_pin_add(&c->journal, trans->journal_res.seq, in do_bch2_trans_commit()
871 bch2_journal_res_put(&c->journal, &trans->journal_res); in do_bch2_trans_commit()
[all …]
A Ddisk_accounting.h248 static inline struct bversion journal_pos_to_bversion(struct journal_res *res, unsigned offset) in journal_pos_to_bversion()
263 a->k.bversion = journal_pos_to_bversion(&trans->journal_res, (u64 *) a - base); in bch2_accounting_trans_commit_hook()
A Djournal_types.h87 struct journal_res { struct
A Dbtree_key_cache.c456 trans->journal_res.seq = ck->journal.seq; in btree_key_cache_flush_pos()
609 ck->seq = trans->journal_res.seq; in bch2_btree_insert_key_cached()
611 bch2_journal_pin_add(&c->journal, trans->journal_res.seq, in bch2_btree_insert_key_cached()
A Dbtree_types.h550 struct journal_res journal_res; member
A Djournal.c584 static int __journal_res_get(struct journal *j, struct journal_res *res, in __journal_res_get()
728 int bch2_journal_res_get_slowpath(struct journal *j, struct journal_res *res, in bch2_journal_res_get_slowpath()
845 struct journal_res res = { 0 }; in bch2_journal_flush_seq_async()
979 struct journal_res res = {}; in __bch2_journal_meta()
A Dbtree_write_buffer.c124 trans->journal_res.seq = wb->journal_seq; in wb_flush_one_slowpath()
212 trans->journal_res.seq = wb->journal_seq; in btree_write_buffered_insert()
A Drecovery.c232 trans->journal_res.seq = k->journal_seq; in bch2_journal_replay_accounting_key()
253 trans->journal_res.seq = k->journal_seq; in bch2_journal_replay_key()
A Dinode.c807 BUG_ON(!trans->journal_res.seq); in bch2_trigger_inode()
808 bkey_s_to_inode_v3(new).v->bi_journal_seq = cpu_to_le64(trans->journal_res.seq); in bch2_trigger_inode()
A Dalloc_background.c950 u64 transaction_seq = trans->journal_res.seq; in bch2_trigger_alloc()
A Dbtree_iter.c1481 trans->nr_updates, trans->fn, trans->journal_res.seq); in bch2_trans_updates_to_text()

Completed in 39 milliseconds