Home
last modified time | relevance | path

Searched refs:J_ASSERT (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/fs/jbd2/
Dcheckpoint.c392 J_ASSERT(blocknr != 0); in jbd2_cleanup_journal_tail()
795 J_ASSERT(transaction->t_state == T_FINISHED); in __jbd2_journal_drop_transaction()
796 J_ASSERT(transaction->t_buffers == NULL); in __jbd2_journal_drop_transaction()
797 J_ASSERT(transaction->t_forget == NULL); in __jbd2_journal_drop_transaction()
798 J_ASSERT(transaction->t_shadow_list == NULL); in __jbd2_journal_drop_transaction()
799 J_ASSERT(transaction->t_checkpoint_list == NULL); in __jbd2_journal_drop_transaction()
800 J_ASSERT(transaction->t_checkpoint_io_list == NULL); in __jbd2_journal_drop_transaction()
801 J_ASSERT(atomic_read(&transaction->t_updates) == 0); in __jbd2_journal_drop_transaction()
802 J_ASSERT(journal->j_committing_transaction != transaction); in __jbd2_journal_drop_transaction()
803 J_ASSERT(journal->j_running_transaction != transaction); in __jbd2_journal_drop_transaction()
Dcommit.c261 J_ASSERT(jinode->i_transaction == commit_transaction); in journal_submit_data_buffers()
439 J_ASSERT(journal->j_running_transaction != NULL); in jbd2_journal_commit_transaction()
440 J_ASSERT(journal->j_committing_transaction == NULL); in jbd2_journal_commit_transaction()
473 J_ASSERT(commit_transaction->t_state == T_RUNNING); in jbd2_journal_commit_transaction()
505 J_ASSERT (atomic_read(&commit_transaction->t_outstanding_credits) <= in jbd2_journal_commit_transaction()
618 J_ASSERT(commit_transaction->t_nr_buffers <= in jbd2_journal_commit_transaction()
654 J_ASSERT (bufs == 0); in jbd2_journal_commit_transaction()
818 J_ASSERT(commit_transaction->t_state == T_COMMIT); in jbd2_journal_commit_transaction()
894 J_ASSERT (commit_transaction->t_shadow_list == NULL); in jbd2_journal_commit_transaction()
922 J_ASSERT(commit_transaction->t_state == T_COMMIT_DFLUSH); in jbd2_journal_commit_transaction()
[all …]
Drevoke.c195 J_ASSERT(!jbd2_revoke_record_cache); in jbd2_journal_init_revoke_record_cache()
208 J_ASSERT(!jbd2_revoke_table_cache); in jbd2_journal_init_revoke_table_cache()
255 J_ASSERT(list_empty(hash_list)); in jbd2_journal_destroy_revoke_table()
265 J_ASSERT(journal->j_revoke_table[0] == NULL); in jbd2_journal_init_revoke()
266 J_ASSERT(is_power_of_2(hash_size)); in jbd2_journal_init_revoke()
340 J_ASSERT (!"Cannot set revoke feature!"); in jbd2_journal_revoke()
Dtransaction.c39 J_ASSERT(!transaction_cache); in jbd2_journal_init_transaction_cache()
124 J_ASSERT(journal->j_running_transaction == NULL); in jbd2_get_transaction()
484 J_ASSERT(handle->h_transaction->t_journal == journal); in jbd2__journal_start()
713 J_ASSERT(journal_current_handle() == handle); in stop_this_handle()
714 J_ASSERT(atomic_read(&transaction->t_updates) > 0); in stop_this_handle()
891 J_ASSERT(journal->j_barrier_count != 0); in jbd2_journal_unlock_updates()
1727 J_ASSERT(jh->b_next_transaction == transaction); in jbd2_journal_forget()
2138 J_ASSERT(PageLocked(page)); in jbd2_journal_try_to_free_buffers()
2471 J_ASSERT(!page_has_buffers(page)); in jbd2_journal_invalidatepage()
2679 J_ASSERT(jinode->i_next_transaction == NULL); in jbd2_journal_file_inode()
[all …]
Djournal.c597 J_ASSERT(!current->journal_info); in jbd2_journal_force_commit()
859 J_ASSERT(journal->j_free > 1); in jbd2_journal_next_log_block()
1806 J_ASSERT(bh != NULL); in journal_get_superblock()
2061 J_ASSERT(journal->j_running_transaction == NULL); in jbd2_journal_destroy()
2062 J_ASSERT(journal->j_committing_transaction == NULL); in jbd2_journal_destroy()
2063 J_ASSERT(journal->j_checkpoint_transactions == NULL); in jbd2_journal_destroy()
2395 J_ASSERT(!journal->j_running_transaction); in jbd2_journal_flush()
2396 J_ASSERT(!journal->j_committing_transaction); in jbd2_journal_flush()
2397 J_ASSERT(!journal->j_checkpoint_transactions); in jbd2_journal_flush()
2398 J_ASSERT(journal->j_head == journal->j_tail); in jbd2_journal_flush()
[all …]
Drecovery.c634 J_ASSERT(obh != NULL); in do_one_pass()
/kernel/linux/linux-5.10/include/linux/
Djbd2.h361 #define J_ASSERT(assert) BUG_ON(!(assert)) macro
363 #define J_ASSERT_BH(bh, expr) J_ASSERT(expr)
364 #define J_ASSERT_JH(jh, expr) J_ASSERT(expr)
367 #define J_EXPECT(expr, why...) J_ASSERT(expr)
/kernel/linux/linux-5.10/fs/ext4/
Dfsync.c139 J_ASSERT(ext4_journal_current_handle() == NULL); in ext4_sync_file()
Dindirect.c544 J_ASSERT(!(ext4_test_inode_flag(inode, EXT4_INODE_EXTENTS))); in ext4_ind_map_blocks()
545 J_ASSERT(handle != NULL || (flags & EXT4_GET_BLOCKS_CREATE) == 0); in ext4_ind_map_blocks()
Dinode.c851 J_ASSERT((EXT4_SB(inode->i_sb)->s_mount_state & EXT4_FC_REPLAY) in ext4_getblk()
867 J_ASSERT(create != 0); in ext4_getblk()
868 J_ASSERT((EXT4_SB(inode->i_sb)->s_mount_state & EXT4_FC_REPLAY) in ext4_getblk()
Dnamei.c209 #define assert(test) J_ASSERT(test)
3041 J_ASSERT((S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || in ext4_orphan_add()
Dsuper.c1235 J_ASSERT(list_empty(&sbi->s_orphan)); in ext4_put_super()