Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/affs/file.c affs_alloc_extblock() -> affs_adjust_checksum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| PARAM_VALUE | 0 | bh->b_folio->mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,2632,2648 |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| CAPPED_DATA | 0 | bh | 1 |
| DATA_SOURCE | 0 | bh | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/affs/file.c affs_extent_file_ofs() -> affs_adjust_checksum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| PARAM_VALUE | 0 | bh->b_data | 4096-ptr_max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | val | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/affs/file.c affs_get_block() -> affs_adjust_checksum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| PARAM_VALUE | 0 | bh->b_data | 4096-ptr_max |
| PARAM_VALUE | 0 | bh->b_folio->mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,2632,2648 |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| CAPPED_DATA | 0 | bh | 1 |
| DATA_SOURCE | 0 | bh | r affs_get_extblock |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | val | unit_byte |
fs/affs/file.c affs_get_block() -> affs_adjust_checksum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| PARAM_VALUE | 0 | bh->b_data | 4096-ptr_max |
| PARAM_VALUE | 0 | bh->b_folio->mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,2632,2648 |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| CAPPED_DATA | 0 | bh | 1 |
| DATA_SOURCE | 0 | bh | r affs_get_extblock |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | val | unit_byte |
fs/affs/file.c affs_truncate() -> affs_adjust_checksum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| PARAM_VALUE | 0 | bh->b_data | 4096-ptr_max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| DATA_SOURCE | 0 | bh | r affs_bread_ino |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/affs/file.c affs_write_end_ofs() -> affs_adjust_checksum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| PARAM_VALUE | 0 | bh->b_data | 4096-ptr_max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | val | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/affs/file.c affs_write_end_ofs() -> affs_adjust_checksum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| PARAM_VALUE | 0 | bh->b_data | 4096-ptr_max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | val | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/affs/amigaffs.c affs_insert_hash() -> affs_adjust_checksum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | val | unit_byte |
fs/affs/amigaffs.c affs_remove_hash() -> affs_adjust_checksum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | val | unit_byte |
| HALF_LOCKED2 | &target->i_rwsem |
fs/affs/amigaffs.c affs_remove_link() -> affs_adjust_checksum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dentry->d_sb->s_vfs_rename_mutex | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/affs/inode.c affs_add_entry() -> affs_adjust_checksum()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |