Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- fs/ext4/fast_commit.c, line 1393
- fs/ext4/inode.c, line 6779
- fs/ext4/ioctl.c
- fs/ext4/super.c
- fs/jbd2/journal.c, line 60
- fs/ocfs2/alloc.c, line 6046
- fs/ocfs2/journal.c
Smatch caller information:
fs/ext4/fast_commit.c ext4_fc_perform_commit() -> jbd2_journal_lock_updates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | journal | 4096-ptr_max |
| PARAM_VALUE | 0 | journal->j_flags | 0,256-u64max |
| PARAM_VALUE | 0 | journal->j_private | 4096-ptr_max |
| PARAM_VALUE | 0 | journal->j_private->s_fs_info | 4096-ptr_max |
| 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_stats.ts_tid | 1-u64max |
| PARAM_VALUE | 0 | journal->j_task | 4096-ptr_max |
| DATA_SOURCE | 0 | journal | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ext4/inode.c ext4_change_inode_journal_flag() -> jbd2_journal_lock_updates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | journal | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &inode->i_mapping->invalidate_lock | ||
| LOCK2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct address_space)->invalidate_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ocfs2/alloc.c __ocfs2_flush_truncate_log() -> jbd2_journal_lock_updates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &tl_inode->i_rwsem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ocfs2/journal.c ocfs2_commit_cache() -> jbd2_journal_lock_updates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &journal->j_trans_barrier | ||
| TYPE_LOCK | (struct ocfs2_journal)->j_trans_barrier |
fs/ocfs2/journal.c ocfs2_journal_load() -> jbd2_journal_lock_updates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | journal | 4096-ptr_max |
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/ocfs2/journal.c ocfs2_journal_shutdown() -> jbd2_journal_lock_updates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | journal | 4096-ptr_max |
| PARAM_VALUE | 0 | journal->j_flags | 16-u64max |
| BIT_INFO | 0 | journal->j_flags | 0x10,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/ocfs2/journal.c ocfs2_replay_journal() -> jbd2_journal_lock_updates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
| DATA_SOURCE | 0 | journal | r jbd2_journal_init_inode |
| NOCHECK_CALL |
fs/ext4/ioctl.c __ext4_ioctl() -> jbd2_journal_lock_updates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL |
fs/ext4/ioctl.c ext4_ioctl_checkpoint() -> jbd2_journal_lock_updates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL |
fs/ext4/ioctl.c ext4_ioctl_group_add() -> jbd2_journal_lock_updates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL |
fs/ext4/super.c ext4_freeze() -> jbd2_journal_lock_updates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | journal | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &sb->s_umount | ||
| HALF_LOCKED2 | &bdev->bd_fsfreeze_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &sdp->sd_freeze_mutex | ||
| HALF_LOCKED2 | global &dax_srcu | ||
| TYPE_LOCK | (struct super_block)->s_umount |
fs/ext4/super.c ext4_mark_recovery_complete() -> jbd2_journal_lock_updates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL |