Lines Matching refs:b_transaction
994 if (buffer_dirty(bh) && jh->b_transaction) { in do_get_write_access()
1024 if (jh->b_transaction == transaction || in do_get_write_access()
1041 if (!jh->b_transaction) { in do_get_write_access()
1082 J_ASSERT_JH(jh, jh->b_transaction == journal->j_committing_transaction); in do_get_write_access()
1183 if (READ_ONCE(jh->b_transaction) != handle->h_transaction && in jbd2_write_access_granted()
1279 J_ASSERT_JH(jh, (jh->b_transaction == transaction || in jbd2_journal_get_create_access()
1280 jh->b_transaction == NULL || in jbd2_journal_get_create_access()
1281 (jh->b_transaction == journal->j_committing_transaction && in jbd2_journal_get_create_access()
1287 if (jh->b_transaction == NULL) { in jbd2_journal_get_create_access()
1304 } else if (jh->b_transaction == journal->j_committing_transaction) { in jbd2_journal_get_create_access()
1495 if (data_race(jh->b_transaction != transaction && in jbd2_journal_dirty_metadata()
1498 J_ASSERT_JH(jh, jh->b_transaction == transaction || in jbd2_journal_dirty_metadata()
1504 if (data_race(jh->b_transaction == transaction && in jbd2_journal_dirty_metadata()
1507 if (jh->b_transaction == transaction && in jbd2_journal_dirty_metadata()
1514 J_ASSERT_JH(jh, jh->b_transaction != transaction || in jbd2_journal_dirty_metadata()
1557 if (jh->b_transaction == transaction && jh->b_jlist == BJ_Metadata) { in jbd2_journal_dirty_metadata()
1559 if (unlikely(jh->b_transaction != in jbd2_journal_dirty_metadata()
1566 jh->b_transaction, in jbd2_journal_dirty_metadata()
1567 jh->b_transaction ? jh->b_transaction->t_tid : 0, in jbd2_journal_dirty_metadata()
1584 if (jh->b_transaction != transaction) { in jbd2_journal_dirty_metadata()
1586 if (unlikely(((jh->b_transaction != in jbd2_journal_dirty_metadata()
1597 jh->b_transaction, in jbd2_journal_dirty_metadata()
1598 jh->b_transaction ? in jbd2_journal_dirty_metadata()
1599 jh->b_transaction->t_tid : 0, in jbd2_journal_dirty_metadata()
1683 if (jh->b_transaction == transaction) { in jbd2_journal_forget()
1722 } else if (jh->b_transaction) { in jbd2_journal_forget()
1723 J_ASSERT_JH(jh, (jh->b_transaction == in jbd2_journal_forget()
2018 transaction = jh->b_transaction; in __jbd2_journal_temp_unlink_buffer()
2061 J_ASSERT_JH(jh, jh->b_transaction != NULL); in __jbd2_journal_unfile_buffer()
2065 jh->b_transaction = NULL; in __jbd2_journal_unfile_buffer()
2140 if (!jh->b_transaction && !jh->b_next_transaction) { in jbd2_journal_try_to_free_buffers()
2288 transaction = jh->b_transaction; in journal_unmap_buffer()
2483 J_ASSERT_JH(jh, jh->b_transaction == transaction || in __jbd2_journal_file_buffer()
2484 jh->b_transaction == NULL); in __jbd2_journal_file_buffer()
2486 if (jh->b_transaction && jh->b_jlist == jlist) in __jbd2_journal_file_buffer()
2505 if (jh->b_transaction) in __jbd2_journal_file_buffer()
2509 jh->b_transaction = transaction; in __jbd2_journal_file_buffer()
2567 if (jh->b_transaction) in __jbd2_journal_refile_buffer()
2568 assert_spin_locked(&jh->b_transaction->t_journal->j_list_lock); in __jbd2_journal_refile_buffer()
2588 J_ASSERT_JH(jh, jh->b_transaction != NULL); in __jbd2_journal_refile_buffer()
2595 WRITE_ONCE(jh->b_transaction, jh->b_next_transaction); in __jbd2_journal_refile_buffer()
2603 __jbd2_journal_file_buffer(jh, jh->b_transaction, jlist); in __jbd2_journal_refile_buffer()
2604 J_ASSERT_JH(jh, jh->b_transaction->t_state == T_RUNNING); in __jbd2_journal_refile_buffer()