Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/btrfs/free-space-cache.c __load_free_space_cache() -> io_ctl_unmap_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | io_ctl | 8725844860542648320 |
| PARAM_VALUE | 0 | io_ctl->cur | 18379471554275704849,18446612682070032401 |
| PARAM_VALUE | 0 | io_ctl->orig | 18379471554275704832,18446612682070032384 |
| MEM_ZERO | 0 | io_ctl | |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | io_ctl->num_pages | |
| LOCK2 | &caching_ctl->mutex | ||
| LOCK2 | &fs_info->commit_root_sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct btrfs_caching_control)->mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->commit_root_sem |
fs/btrfs/free-space-cache.c io_ctl_check_crc() -> io_ctl_unmap_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | io_ctl | 8725844860542648320 |
| PARAM_VALUE | 0 | io_ctl->cur | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | io_ctl->orig | 18379471554275704832,18446612682070032384 |
| DATA_SOURCE | 0 | io_ctl | $0 |
| MEM_ZERO | 0 | io_ctl | |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | io_ctl->index | |
| NO_OVERFLOW_SIMPLE | 0 | io_ctl->num_pages | |
| LOCK2 | &caching_ctl->mutex | ||
| LOCK2 | &fs_info->commit_root_sem | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct btrfs_caching_control)->mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->commit_root_sem |
fs/btrfs/free-space-cache.c io_ctl_check_generation() -> io_ctl_unmap_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | io_ctl | 8725844860542648320 |
| PARAM_VALUE | 0 | io_ctl->cur | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | io_ctl->orig | 18379471554275704832,18446612682070032384 |
| DATA_SOURCE | 0 | io_ctl | $0 |
| MEM_ZERO | 0 | io_ctl | |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | io_ctl->index | |
| NO_OVERFLOW_SIMPLE | 0 | io_ctl->num_pages | |
| LOCK2 | &caching_ctl->mutex | ||
| LOCK2 | &fs_info->commit_root_sem | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct btrfs_caching_control)->mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->commit_root_sem |
fs/btrfs/free-space-cache.c io_ctl_drop_pages() -> io_ctl_unmap_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | io_ctl | 4096-ptr_max |
| BUF_SIZE | 0 | io_ctl | (-1),72 |
| BUF_SIZE | 0 | io_ctl | (-1),72 |
| DATA_SOURCE | 0 | io_ctl | $0 |
| MEM_ZERO | 0 | io_ctl | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | io_ctl->index | |
| NO_OVERFLOW_SIMPLE | 0 | io_ctl->num_pages | |
| HALF_LOCKED2 | &caching_ctl->mutex | ||
| HALF_LOCKED2 | &fs_info->commit_root_sem | ||
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/free-space-cache.c io_ctl_read_bitmap() -> io_ctl_unmap_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | io_ctl | 8725844860542648320 |
| PARAM_VALUE | 0 | io_ctl->cur | 0 |
| PARAM_VALUE | 0 | io_ctl->orig | 0,18379471554275704832,18446612682070032384 |
| DATA_SOURCE | 0 | io_ctl | $0 |
| PARAM_COMPARE | 0 | io_ctl->index | >= $0->num_pages |
| MEM_ZERO | 0 | io_ctl | |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | io_ctl->index | |
| NO_OVERFLOW_SIMPLE | 0 | io_ctl->num_pages | |
| LOCK2 | &caching_ctl->mutex | ||
| LOCK2 | &fs_info->commit_root_sem | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct btrfs_caching_control)->mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->commit_root_sem |
fs/btrfs/free-space-cache.c io_ctl_read_entry() -> io_ctl_unmap_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | io_ctl | 8725844860542648320 |
| PARAM_VALUE | 0 | io_ctl->cur | 18379471554275704857,18379471554275704866,18446612682070032409,18446612682070032418 |
| PARAM_VALUE | 0 | io_ctl->orig | 18379471554275704832,18446612682070032384 |
| DATA_SOURCE | 0 | io_ctl | $0 |
| MEM_ZERO | 0 | io_ctl | |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | io_ctl->index | |
| NO_OVERFLOW_SIMPLE | 0 | io_ctl->num_pages | |
| LOCK2 | &caching_ctl->mutex | ||
| LOCK2 | &fs_info->commit_root_sem | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct btrfs_caching_control)->mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->commit_root_sem |
fs/btrfs/free-space-cache.c io_ctl_set_crc() -> io_ctl_unmap_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | io_ctl | 4096-ptr_max |
| BUF_SIZE | 0 | io_ctl | (-1),72 |
| BUF_SIZE | 0 | io_ctl | (-1),72 |
| CAPPED_DATA | 0 | io_ctl->inode->i_mapping | 1 |
| CAPPED_DATA | 0 | io_ctl->num_pages | 1 |
| DATA_SOURCE | 0 | io_ctl | $0 |
| MEM_ZERO | 0 | io_ctl | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | io_ctl->index | |
| NO_OVERFLOW_SIMPLE | 0 | io_ctl->num_pages | |
| HALF_LOCKED2 | &block_group->data_rwsem | ||
| HALF_LOCKED2 | &cow->lock | ||
| HALF_LOCKED2 | &ctl->cache_writeout_mutex | ||
| HALF_LOCKED2 | &ctl->tree_lock | ||
| HALF_LOCKED2 | &dev_replace->lock_finishing_cancel_unmount | ||
| HALF_LOCKED2 | &fs_info->cleaner_mutex | ||
| HALF_LOCKED2 | &fs_info->reloc_mutex | ||
| HALF_LOCKED2 | &fs_info->subvol_sem | ||
| HALF_LOCKED2 | &fs_info->transaction_kthread_mutex | ||
| HALF_LOCKED2 | &trans->transaction->cache_write_mutex |
fs/btrfs/free-space-cache.c io_ctl_zero_remaining_pages() -> io_ctl_unmap_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | io_ctl | 4096-ptr_max |
| PARAM_VALUE | 0 | io_ctl->cur | 0 |
| BUF_SIZE | 0 | io_ctl | 72 |
| DATA_SOURCE | 0 | io_ctl | $0 |
| PARAM_COMPARE | 0 | io_ctl->cur | == $0->orig |
| MEM_ZERO | 0 | io_ctl | |
| MEM_ZERO | 0 | io_ctl->inode | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | io_ctl->num_pages | |
| HALF_LOCKED2 | &block_group->data_rwsem | ||
| HALF_LOCKED2 | &trans->transaction->cache_write_mutex |