Lines Matching refs:b_transaction

612 		if (jh->b_transaction) {  in do_get_write_access()
613 J_ASSERT_JH(jh, jh->b_transaction == transaction || in do_get_write_access()
614 jh->b_transaction == journal->j_committing_transaction); in do_get_write_access()
635 if (jh->b_transaction == transaction || in do_get_write_access()
654 if (jh->b_transaction && jh->b_transaction != transaction) { in do_get_write_access()
657 J_ASSERT_JH(jh, jh->b_transaction == in do_get_write_access()
729 if (!jh->b_transaction) { in do_get_write_access()
732 jh->b_transaction = transaction; in do_get_write_access()
834 J_ASSERT_JH(jh, (jh->b_transaction == transaction || in journal_get_create_access()
835 jh->b_transaction == NULL || in journal_get_create_access()
836 (jh->b_transaction == journal->j_committing_transaction && in journal_get_create_access()
846 if (jh->b_transaction == NULL) { in journal_get_create_access()
847 jh->b_transaction = transaction; in journal_get_create_access()
852 } else if (jh->b_transaction == journal->j_committing_transaction) { in journal_get_create_access()
1006 if (jh->b_transaction) { in journal_dirty_data()
1008 if (jh->b_transaction != handle->h_transaction) { in journal_dirty_data()
1010 J_ASSERT_JH(jh, jh->b_transaction == in journal_dirty_data()
1071 if (jh->b_transaction != NULL) { in journal_dirty_data()
1074 jh->b_transaction = NULL; in journal_dirty_data()
1089 jh->b_transaction = NULL; in journal_dirty_data()
1144 J_ASSERT_JH(jh, jh->b_transaction != NULL); in journal_dirty_metadata()
1153 if (jh->b_transaction != transaction) { in journal_dirty_metadata()
1155 J_ASSERT_JH(jh, jh->b_transaction == in journal_dirty_metadata()
1202 if (jh->b_jlist == BJ_Reserved && jh->b_transaction == transaction &&
1247 if (jh->b_transaction == handle->h_transaction) { in journal_forget()
1260 jh->b_transaction = 0; in journal_forget()
1287 } else if (jh->b_transaction) { in journal_forget()
1288 J_ASSERT_JH(jh, (jh->b_transaction == in journal_forget()
1336 if (jh->b_transaction == NULL) {
1352 transaction = jh->b_transaction;
1585 transaction = jh->b_transaction; in __journal_unfile_buffer()
1672 if (jh->b_transaction != 0 && jh->b_cp_transaction == 0) { in __journal_try_to_free_buffer()
1677 jh->b_transaction = 0; in __journal_try_to_free_buffer()
1682 else if (jh->b_cp_transaction != 0 && jh->b_transaction == 0) { in __journal_try_to_free_buffer()
1814 jh->b_transaction = 0; in dispose_buffer()
1897 transaction = jh->b_transaction; in journal_unmap_buffer()
2042 J_ASSERT_JH(jh, jh->b_transaction == transaction || in __journal_file_buffer()
2043 jh->b_transaction == 0); in __journal_file_buffer()
2045 if (jh->b_transaction && jh->b_jlist == jlist) in __journal_file_buffer()
2059 if (jh->b_transaction) in __journal_file_buffer()
2062 jh->b_transaction = transaction; in __journal_file_buffer()
2133 jh->b_transaction = NULL; in __journal_refile_buffer()
2146 jh->b_transaction = jh->b_next_transaction; in __journal_refile_buffer()
2148 __journal_file_buffer(jh, jh->b_transaction, BJ_Metadata); in __journal_refile_buffer()
2149 J_ASSERT_JH(jh, jh->b_transaction->t_state == T_RUNNING); in __journal_refile_buffer()