Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/squashfs/file_cache.c squashfs_readpage_block() -> squashfs_copy_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | folio | 4096-ptr_max |
| PARAM_VALUE | 0 | folio->index | 0-4503599627370494 |
| PARAM_VALUE | 0 | folio->mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | folio->mapping->host | 4096-ptr_max |
| PARAM_VALUE | 0 | folio->mapping->host->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | folio->mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792 |
| PARAM_VALUE | 0 | folio->mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| PARAM_VALUE | 0 | folio->mapping->host->i_sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | folio->mapping->host->i_sb->s_fs_info->block_cache->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | folio->mapping->host->i_sb->s_fs_info->meta_index_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | folio->mapping->host->i_sb->s_fs_info->meta_index_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | folio->mapping->host->i_sb->s_fs_info->read_page | 4096-ptr_max |
| PARAM_VALUE | 0 | folio->mapping->host->i_sb->s_fs_info->read_page->curr_blk | s32min-s32max |
| PARAM_VALUE | 0 | folio->mapping->host->i_sb->s_fs_info->read_page->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | folio->mapping->host->i_sb->s_fs_info->read_page->next_blk | s32min-s32max |
| PARAM_VALUE | 0 | folio->mapping->host->i_sb->s_fs_info->read_page->num_waiters | s32min-s32max |
| PARAM_VALUE | 0 | folio->mapping->host->i_sb->s_fs_info->read_page->unused | s32min-s32max |
| PARAM_VALUE | 0 | folio->mapping->host->i_sb->s_fs_info->stream->avail_decomp | s32min-s32max |
| PARAM_VALUE | 0 | folio->mapping->host->i_sb->s_fs_info->stream->comp_opts->dict_size | 0-s32max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer->error | 0 |
| PARAM_VALUE | 2 | bytes | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 3 | offset | 0 |
| CAPPED_DATA | 0 | folio->index | 1 |
| CAPPED_DATA | 0 | folio->mapping | 1 |
| DATA_SOURCE | 0 | folio | $0 |
| DATA_SOURCE | 1 | buffer | r squashfs_get_datablock |
| DATA_SOURCE | 2 | bytes | $3 |
| NOSPEC | 0 | folio->mapping->writeback_index | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | folio->mapping->writeback_index | 0-524287[c] |
| HALF_LOCKED2 | &mapping->invalidate_lock |
fs/squashfs/file.c squashfs_readpage_fragment() -> squashfs_copy_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | folio | 4096-ptr_max |
| PARAM_VALUE | 0 | folio->index | 0-4503599627370494 |
| PARAM_VALUE | 0 | folio->mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | folio->mapping->host | 4096-ptr_max |
| PARAM_VALUE | 0 | folio->mapping->host->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | folio->mapping->host->i_sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | folio->mapping->host->i_sb->s_fs_info->fragment_cache | 4096-ptr_max |
| PARAM_VALUE | 0 | folio->mapping->host->i_sb->s_fs_info->fragment_cache->curr_blk | s32min-s32max |
| PARAM_VALUE | 0 | folio->mapping->host->i_sb->s_fs_info->fragment_cache->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | folio->mapping->host->i_sb->s_fs_info->fragment_cache->next_blk | s32min-s32max |
| PARAM_VALUE | 0 | folio->mapping->host->i_sb->s_fs_info->fragment_cache->num_waiters | s32min-s32max |
| PARAM_VALUE | 0 | folio->mapping->host->i_sb->s_fs_info->fragment_cache->unused | s32min-s32max |
| PARAM_VALUE | 0 | folio->mapping->host->i_sb->s_fs_info->stream->avail_decomp | s32min-s32max |
| PARAM_VALUE | 0 | folio->mapping->host->i_sb->s_fs_info->stream->comp_opts->dict_size | 0-s32max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer->error | 0 |
| PARAM_VALUE | 2 | bytes | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 3 | offset | 0-s32max,18446744071562067968-u64max |
| CAPPED_DATA | 0 | folio->index | 1 |
| CAPPED_DATA | 0 | folio->mapping | 1 |
| DATA_SOURCE | 0 | folio | $0 |
| DATA_SOURCE | 1 | buffer | r squashfs_get_fragment |
| DATA_SOURCE | 2 | bytes | $1 |
| NOSPEC | 0 | folio->mapping->writeback_index | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | folio->mapping->writeback_index | 0-524287[c] |
| HALF_LOCKED2 | &mapping->invalidate_lock |
fs/squashfs/file.c squashfs_readpage_sparse() -> squashfs_copy_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | folio | 4096-ptr_max |
| PARAM_VALUE | 0 | folio->index | 0-4503599627370494 |
| PARAM_VALUE | 0 | folio->mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | folio->mapping->host | 4096-ptr_max |
| PARAM_VALUE | 0 | folio->mapping->host->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | folio->mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792 |
| PARAM_VALUE | 0 | folio->mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| PARAM_VALUE | 0 | folio->mapping->host->i_sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | folio->mapping->host->i_sb->s_fs_info->block_cache->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | folio->mapping->host->i_sb->s_fs_info->meta_index_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | folio->mapping->host->i_sb->s_fs_info->meta_index_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | buffer | 0 |
| PARAM_VALUE | 2 | bytes | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 3 | offset | 0 |
| CAPPED_DATA | 0 | folio->index | 1 |
| CAPPED_DATA | 0 | folio->mapping | 1 |
| DATA_SOURCE | 0 | folio | $0 |
| DATA_SOURCE | 2 | bytes | $1 |
| NOSPEC | 0 | folio->mapping->writeback_index | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | folio->mapping->writeback_index | 0-524287[c] |
| HALF_LOCKED2 | &mapping->invalidate_lock |