Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- fs/ext4/inode.c, line 6792
- fs/ext4/ioctl.c
- fs/ext4/super.c
- fs/jbd2/journal.c, line 68
- fs/ocfs2/alloc.c, line 6047
- fs/ocfs2/journal.c
Smatch caller information:
fs/ext4/inode.c ext4_change_inode_journal_flag() -> jbd2_journal_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | journal | 4096-ptr_max |
| PARAM_VALUE | 0 | journal->j_barrier.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | journal->j_barrier.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | journal->j_barrier.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | journal->j_barrier.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | journal->j_state_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | journal->j_state_lock.owner | (-1) |
| PARAM_VALUE | 0 | journal->j_state_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | journal->j_state_lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 0 | journal->j_trans_commit_map->name | 0-255 |
| PARAM_VALUE | 1 | flags | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &inode->i_mapping->invalidate_lock | ||
| LOCK2 | &inode->i_rwsem | ||
| LOCK2 | 0 | &journal->j_barrier | |
| TYPE_LOCK | (struct address_space)->invalidate_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem | ||
| TYPE_LOCK | (struct journal_s)->j_barrier |
fs/ocfs2/alloc.c __ocfs2_flush_truncate_log() -> jbd2_journal_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | journal | 4096-ptr_max |
| PARAM_VALUE | 0 | journal->j_barrier.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | journal->j_barrier.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | journal->j_barrier.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | journal->j_state_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | journal->j_state_lock.owner | (-1) |
| PARAM_VALUE | 0 | journal->j_state_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | journal->j_state_lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 0 | journal->j_trans_commit_map->name | 0-255 |
| PARAM_VALUE | 1 | flags | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tl_inode->i_rwsem | ||
| LOCK2 | 0 | &journal->j_barrier | |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem | ||
| TYPE_LOCK | (struct journal_s)->j_barrier |
fs/ocfs2/journal.c ocfs2_commit_cache() -> jbd2_journal_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | journal | 4096-ptr_max |
| PARAM_VALUE | 0 | journal->j_barrier.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | journal->j_barrier.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | journal->j_barrier.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | journal->j_state_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | journal->j_state_lock.owner | (-1) |
| PARAM_VALUE | 0 | journal->j_state_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | journal->j_state_lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 0 | journal->j_trans_commit_map->name | 0-255 |
| PARAM_VALUE | 1 | flags | 0 |
| TASK_NOT_RUNNING | |||
| LOCK2 | &journal->j_trans_barrier | ||
| LOCK2 | 0 | &journal->j_barrier | |
| TYPE_LOCK | (struct journal_s)->j_barrier | ||
| TYPE_LOCK | (struct ocfs2_journal)->j_trans_barrier |
fs/ocfs2/journal.c ocfs2_journal_load() -> jbd2_journal_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | journal | 4096-ptr_max |
| PARAM_VALUE | 0 | journal->j_barrier.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | journal->j_barrier.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | journal->j_barrier.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | journal->j_errno | 0 |
| PARAM_VALUE | 0 | journal->j_head | 0-u32max |
| PARAM_VALUE | 0 | journal->j_sb_buffer->b_folio->mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | journal->j_sb_buffer->b_folio->mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | journal->j_state_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | journal->j_state_lock.owner | (-1) |
| PARAM_VALUE | 0 | journal->j_state_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | journal->j_state_lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 0 | journal->j_superblock->s_errno | 0-4294967187,4294967189-u32max |
| PARAM_VALUE | 0 | journal->j_superblock->s_header.h_blocktype | 1-2,5 |
| PARAM_VALUE | 0 | journal->j_trans_commit_map->name | 0-255 |
| PARAM_VALUE | 1 | flags | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &journal->j_barrier | |
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| TYPE_LOCK | (struct journal_s)->j_barrier |
fs/ocfs2/journal.c ocfs2_journal_shutdown() -> jbd2_journal_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | journal | 4096-ptr_max |
| PARAM_VALUE | 0 | journal->j_barrier.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | journal->j_barrier.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | journal->j_barrier.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | journal->j_flags | 16-u64max |
| PARAM_VALUE | 0 | journal->j_state_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | journal->j_state_lock.owner | (-1) |
| PARAM_VALUE | 0 | journal->j_state_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | journal->j_state_lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 0 | journal->j_trans_commit_map->name | 0-255 |
| PARAM_VALUE | 1 | flags | 0 |
| BIT_INFO | 0 | journal->j_flags | 0x10,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &journal->j_barrier | |
| TYPE_LOCK | (struct journal_s)->j_barrier |
fs/ocfs2/journal.c ocfs2_replay_journal() -> jbd2_journal_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | journal->j_barrier.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | journal->j_barrier.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | journal->j_barrier.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | journal->j_barrier.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | journal->j_errno | 0 |
| PARAM_VALUE | 0 | journal->j_head | 0-u32max |
| PARAM_VALUE | 0 | journal->j_sb_buffer->b_folio->mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | journal->j_sb_buffer->b_folio->mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | journal->j_state_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | journal->j_state_lock.owner | (-1) |
| PARAM_VALUE | 0 | journal->j_state_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | journal->j_state_lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 0 | journal->j_superblock->s_errno | 0-4294967187,4294967189-u32max |
| PARAM_VALUE | 0 | journal->j_trans_commit_map->name | 0-255 |
| PARAM_VALUE | 1 | flags | 0 |
| DATA_SOURCE | 0 | journal | r jbd2_journal_init_inode |
| LOCK2 | 0 | &journal->j_barrier | |
| TYPE_LOCK | (struct journal_s)->j_barrier |
fs/ext4/ioctl.c __ext4_ioctl() -> jbd2_journal_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flags | 0 |
fs/ext4/ioctl.c ext4_ioctl_checkpoint() -> jbd2_journal_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flags | 0-2 |
| FUZZY_MAX | 1 | flags | 0 |
| CAPABLE | 0 | 21 |
fs/ext4/ioctl.c ext4_ioctl_group_add() -> jbd2_journal_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flags | 0 |
fs/ext4/super.c ext4_freeze() -> jbd2_journal_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | journal | 4096-ptr_max |
| PARAM_VALUE | 0 | journal->j_barrier.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | journal->j_barrier.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | journal->j_barrier.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | journal->j_barrier.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | journal->j_state_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | journal->j_state_lock.owner | (-1) |
| PARAM_VALUE | 0 | journal->j_state_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | journal->j_state_lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 0 | journal->j_trans_commit_map->name | 0-255 |
| PARAM_VALUE | 1 | flags | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &sb->s_umount | ||
| LOCK2 | 0 | &journal->j_barrier | |
| HALF_LOCKED2 | &bdev->bd_fsfreeze_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &sdp->sd_freeze_mutex | ||
| HALF_LOCKED2 | global &dax_srcu | ||
| TYPE_LOCK | (struct journal_s)->j_barrier | ||
| TYPE_LOCK | (struct super_block)->s_umount |
fs/ext4/super.c ext4_mark_recovery_complete() -> jbd2_journal_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | journal | 4096-ptr_max |
| PARAM_VALUE | 0 | journal->j_barrier.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | journal->j_barrier.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | journal->j_barrier.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | journal->j_barrier.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | journal->j_state_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | journal->j_state_lock.owner | (-1) |
| PARAM_VALUE | 0 | journal->j_state_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | journal->j_state_lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 0 | journal->j_trans_commit_map->name | 0-255 |
| PARAM_VALUE | 1 | flags | 0 |
| LOCK2 | 0 | &journal->j_barrier | |
| TYPE_LOCK | (struct journal_s)->j_barrier |