Defined in 1 files as a function:
Referenced in 7 files:
- fs/ext4/extents.c
- fs/ext4/ialloc.c, line 1281
- fs/ext4/inline.c, line 1968
- fs/ext4/inode.c
- fs/ext4/ioctl.c, line 659
- fs/ext4/namei.c
- fs/ext4/xattr.c
Smatch caller information:
fs/ext4/extents.c ext4_collapse_range() -> ext4_handle_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->h_sync | 1 |
| BUF_SIZE | 0 | handle | (-1),1-s32max |
| BUF_SIZE | 0 | handle | (-1),1-s32max |
| CAPPED_DATA | 0 | handle | 1 |
| DATA_SOURCE | 0 | handle | r __ext4_journal_start |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &inode->i_rwsem | ||
| LOCK2 | &mapping->invalidate_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct address_space)->invalidate_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ext4/extents.c ext4_zero_range() -> ext4_handle_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->h_sync | 1 |
| BUF_SIZE | 0 | handle | (-1),1-s32max |
| BUF_SIZE | 0 | handle | (-1),1-s32max |
| DATA_SOURCE | 0 | handle | r __ext4_journal_start |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &inode->i_rwsem | ||
| LOCK2 | &mapping->invalidate_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct address_space)->invalidate_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ext4/inode.c ext4_change_inode_journal_flag() -> ext4_handle_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->h_sync | 1 |
| BUF_SIZE | 0 | handle | (-1),1-s32max |
| BUF_SIZE | 0 | handle | (-1),1-s32max |
| DATA_SOURCE | 0 | handle | r __ext4_journal_start |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ext4/inode.c ext4_do_update_inode() -> ext4_handle_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 0,4096-ptr_max |
| BUF_SIZE | 0 | handle | (-1)-s32max |
| BUF_SIZE | 0 | handle | (-1)-s32max |
| DATA_SOURCE | 0 | handle | $0 |
| STR_LEN | 0 | handle | (-1)-24,26-27,29,31-32,63,99,115,254 |
| STR_LEN | 0 | handle | (-1)-24,26-27,29,31-32,63,99,115,254 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ei->i_data_sem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &sbi->s_orphan_lock |
fs/ext4/inode.c ext4_evict_inode() -> ext4_handle_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| BUF_SIZE | 0 | handle | (-1),1-s32max |
| BUF_SIZE | 0 | handle | (-1),1-s32max |
| DATA_SOURCE | 0 | handle | r __ext4_journal_start |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/ext4/inode.c ext4_punch_hole() -> ext4_handle_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->h_sync | 1 |
| BUF_SIZE | 0 | handle | (-1),1-s32max |
| BUF_SIZE | 0 | handle | (-1),1-s32max |
| DATA_SOURCE | 0 | handle | r __ext4_journal_start |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &inode->i_rwsem | ||
| LOCK2 | &mapping->invalidate_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct address_space)->invalidate_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ext4/xattr.c ext4_xattr_release_block() -> ext4_handle_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 0,4096-ptr_max |
| PARAM_VALUE | 0 | handle->h_sync | 1 |
| BUF_SIZE | 0 | handle | (-1),1-s32max |
| BUF_SIZE | 0 | handle | (-1),1-s32max |
| CAPPED_DATA | 0 | handle | 1 |
| DATA_SOURCE | 0 | handle | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/ext4/xattr.c ext4_xattr_set_handle() -> ext4_handle_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 0,4096-ptr_max |
| BUF_SIZE | 0 | handle | (-1),1-s32max |
| BUF_SIZE | 0 | handle | (-1),1-s32max |
| DATA_SOURCE | 0 | handle | $0 |
| STR_LEN | 0 | handle | (-1)-1 |
| STR_LEN | 0 | handle | (-1)-1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/ext4/inline.c ext4_inline_data_truncate() -> ext4_handle_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| BUF_SIZE | 0 | handle | (-1),1-s32max |
| BUF_SIZE | 0 | handle | (-1),1-s32max |
| DATA_SOURCE | 0 | handle | r __ext4_journal_start |
| NOCHECK_CALL |
fs/ext4/ioctl.c ext4_ioctl_setflags() -> ext4_handle_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| BUF_SIZE | 0 | handle | (-1),1-s32max |
| BUF_SIZE | 0 | handle | (-1),1-s32max |
| DATA_SOURCE | 0 | handle | r __ext4_journal_start |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ext4/namei.c __ext4_link() -> ext4_handle_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| BUF_SIZE | 0 | handle | (-1),1-s32max |
| BUF_SIZE | 0 | handle | (-1),1-s32max |
| DATA_SOURCE | 0 | handle | r __ext4_journal_start |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/ext4/namei.c __ext4_unlink() -> ext4_handle_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| BUF_SIZE | 0 | handle | (-1),1-s32max |
| BUF_SIZE | 0 | handle | (-1),1-s32max |
| DATA_SOURCE | 0 | handle | r __ext4_journal_start |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &target->i_rwsem |
fs/ext4/namei.c ext4_add_nondir() -> ext4_handle_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle->h_sync | 1 |
| BUF_SIZE | 0 | handle | 1-s32max |
| BUF_SIZE | 0 | handle | 1-s32max |
| DATA_SOURCE | 0 | handle | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/ext4/namei.c ext4_mkdir() -> ext4_handle_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 0-ptr_max |
| PARAM_VALUE | 0 | handle->h_sync | 1 |
| BUF_SIZE | 0 | handle | 1-s32max |
| BUF_SIZE | 0 | handle | 1-s32max |
| DATA_SOURCE | 0 | handle | r ext4_journal_current_handle |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock |
fs/ext4/namei.c ext4_rmdir() -> ext4_handle_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| BUF_SIZE | 0 | handle | (-1),1-s32max |
| BUF_SIZE | 0 | handle | (-1),1-s32max |
| DATA_SOURCE | 0 | handle | r __ext4_journal_start |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dentry->d_sb->s_vfs_rename_mutex | ||
| HALF_LOCKED2 | &dir->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |