Lines Matching refs:journal_res
352 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()
753 memcpy_u64s_small(journal_res_entry(&c->journal, &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()
768 bch2_btree_insert_key_leaf(trans, path, i->k, 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()
1047 memset(&trans->journal_res, 0, sizeof(trans->journal_res)); in __bch2_trans_commit()