Searched refs:journal_res (Results 1 – 12 of 12) sorted by relevance
| /fs/bcachefs/ |
| A D | journal.h | 207 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 D | btree_trans_commit.c | 365 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 D | disk_accounting.h | 248 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 D | journal_types.h | 87 struct journal_res { struct
|
| A D | btree_key_cache.c | 456 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 D | btree_types.h | 550 struct journal_res journal_res; member
|
| A D | journal.c | 584 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 D | btree_write_buffer.c | 124 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 D | recovery.c | 232 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 D | inode.c | 807 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 D | alloc_background.c | 950 u64 transaction_seq = trans->journal_res.seq; in bch2_trigger_alloc()
|
| A D | btree_iter.c | 1481 trans->nr_updates, trans->fn, trans->journal_res.seq); in bch2_trans_updates_to_text()
|
Completed in 39 milliseconds