Lines Matching refs:journal_res
354 return bch2_journal_res_get(&trans->c->journal, &trans->journal_res, in bch2_trans_journal_res_get()
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()
757 memcpy_u64s_small(journal_res_entry(&c->journal, &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()
766 memcpy_u64s_small(bch2_journal_add_entry(j, &trans->journal_res, in bch2_trans_commit_write_locked()
774 *trans->journal_seq = trans->journal_res.seq; in bch2_trans_commit_write_locked()
781 bch2_btree_insert_key_leaf(trans, path, i->k, 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()
1080 memset(&trans->journal_res, 0, sizeof(trans->journal_res)); in __bch2_trans_commit()