Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/ext4/inode.c ext4_block_write_begin() -> ext4_journalled_zero_new_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 0,4096-ptr_max |
| PARAM_VALUE | 0 | handle->h_transaction->t_journal->j_superblock->s_checksum_type | 4 |
| PARAM_VALUE | 0 | handle->h_transaction->t_journal->j_superblock->s_errno | 0-4294967187,4294967189-u32max |
| PARAM_VALUE | 1 | inode | 4096-ptr_max |
| PARAM_VALUE | 1 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 2 | folio | 4096-ptr_max |
| PARAM_VALUE | 2 | folio->mapping | 4096-ptr_max |
| PARAM_VALUE | 2 | folio->mapping->host | 4096-ptr_max |
| PARAM_VALUE | 2 | folio->mapping->host->i_sb | 4096-ptr_max |
| PARAM_VALUE | 2 | folio->mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 3 | from | 0-4294967294 |
| PARAM_VALUE | 4 | to | 1-u32max |
| BUF_SIZE | 0 | handle | (-1),1-s32max |
| BUF_SIZE | 0 | handle | (-1),1-s32max |
| CAPPED_DATA | 3 | from | 1 |
| CAPPED_DATA | 4 | to | 1 |
| DATA_SOURCE | 0 | handle | $0 |
| DATA_SOURCE | 2 | folio | $1 |
| PARAM_COMPARE | 3 | from | <= $4 |
| PARAM_COMPARE | 4 | to | >= $3 |
| NOSPEC | 3 | from | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | folio->mapping->writeback_index | 0-524287[c] |
| USER_DATA | 3 | from | 0-s32max[c] |
| UNITS | 2 | folio | unit_page |
| UNITS | 3 | from | unit_byte |
| UNITS | 4 | to | unit_byte |
| HALF_LOCKED2 | &mapping->invalidate_lock |
fs/ext4/inode.c ext4_journalled_write_end() -> ext4_journalled_zero_new_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->h_invalid | 0 |
| PARAM_VALUE | 1 | inode | 4096-ptr_max |
| PARAM_VALUE | 2 | folio | 4096-ptr_max |
| PARAM_VALUE | 3 | from | 0-4095 |
| BUF_SIZE | 0 | handle | 1-s32max |
| BUF_SIZE | 0 | handle | 1-s32max |
| DATA_SOURCE | 0 | handle | r ext4_journal_current_handle |
| DATA_SOURCE | 2 | folio | $5 |
| PARAM_COMPARE | 3 | from | <= $4 |
| PARAM_COMPARE | 4 | to | >= $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 3 | from | 0-4095[c] |
| USER_DATA | 4 | to | 0-2147487742[c] |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ext4/inode.c ext4_journalled_write_end() -> ext4_journalled_zero_new_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->h_invalid | 0 |
| PARAM_VALUE | 1 | inode | 4096-ptr_max |
| PARAM_VALUE | 2 | folio | 4096-ptr_max |
| BUF_SIZE | 0 | handle | 1-s32max |
| BUF_SIZE | 0 | handle | 1-s32max |
| DATA_SOURCE | 0 | handle | r ext4_journal_current_handle |
| DATA_SOURCE | 2 | folio | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 4 | to | 0-2147487742[c] |
| HALF_LOCKED2 | &inode->i_rwsem |