Lines Matching refs:journal_res
350 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()
874 bch2_journal_pin_add(&c->journal, trans->journal_res.seq, in do_bch2_trans_commit()
883 bch2_journal_res_put(&c->journal, &trans->journal_res); in do_bch2_trans_commit()
1067 memset(&trans->journal_res, 0, sizeof(trans->journal_res)); in __bch2_trans_commit()