Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/btrfs/free-space-cache.c __btrfs_write_out_cache() -> io_ctl_drop_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | io_ctl | 4096-ptr_max |
| PARAM_VALUE | 0 | io_ctl->bitmaps | 0 |
| PARAM_VALUE | 0 | io_ctl->cur | 0 |
| PARAM_VALUE | 0 | io_ctl->entries | 0 |
| PARAM_VALUE | 0 | io_ctl->index | 0 |
| PARAM_VALUE | 0 | io_ctl->inode | 4096-ptr_max |
| PARAM_VALUE | 0 | io_ctl->inode->i_mapping | 0 |
| PARAM_VALUE | 0 | io_ctl->inode->i_size | 0 |
| PARAM_VALUE | 0 | io_ctl->num_pages | 0 |
| PARAM_VALUE | 0 | io_ctl->pages | 4096-ptr_max |
| PARAM_VALUE | 0 | *io_ctl->pages | 4096-ptr_max |
| BUF_SIZE | 0 | io_ctl | 72 |
| PARAM_COMPARE | 0 | io_ctl->index | == $0->num_pages |
| MEM_ZERO | 0 | io_ctl | |
| MEM_ZERO | 0 | io_ctl->inode | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | io_ctl->index | |
| NO_OVERFLOW_SIMPLE | 0 | io_ctl->num_pages | |
| HALF_LOCKED2 | &trans->transaction->cache_write_mutex |
fs/btrfs/free-space-cache.c __load_free_space_cache() -> io_ctl_drop_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | io_ctl | 8725844860542648320 |
| PARAM_VALUE | 0 | io_ctl->bitmaps | 0 |
| PARAM_VALUE | 0 | io_ctl->cur | 0 |
| PARAM_VALUE | 0 | io_ctl->entries | 0 |
| PARAM_VALUE | 0 | io_ctl->inode | 4096-ptr_max |
| PARAM_VALUE | 0 | io_ctl->num_pages | 0 |
| PARAM_VALUE | 0 | io_ctl->orig | 0 |
| PARAM_VALUE | 0 | io_ctl->pages | 16,4096-ptr_max |
| PARAM_VALUE | 0 | io_ctl->size | 4079,18446744073709551599 |
| 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 __load_free_space_cache() -> io_ctl_drop_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | io_ctl | 8725844860542648320 |
| PARAM_VALUE | 0 | io_ctl->bitmaps | 0 |
| PARAM_VALUE | 0 | io_ctl->cur | 0,8,18379471554275704849,18446612682070032401 |
| PARAM_VALUE | 0 | io_ctl->entries | 0 |
| PARAM_VALUE | 0 | io_ctl->inode | 4096-ptr_max |
| PARAM_VALUE | 0 | io_ctl->num_pages | 0 |
| PARAM_VALUE | 0 | io_ctl->orig | 0,18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | io_ctl->pages | 16,4096-ptr_max |
| PARAM_VALUE | 0 | io_ctl->size | 0,4079,4096,18446744073709551599,18446744073709551608 |
| 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 cleanup_write_cache_enospc() -> io_ctl_drop_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | io_ctl | 4096-ptr_max |
| PARAM_VALUE | 0 | io_ctl->bitmaps | 0 |
| PARAM_VALUE | 0 | io_ctl->cur->type | 1-2 |
| PARAM_VALUE | 0 | io_ctl->entries | 0 |
| PARAM_VALUE | 0 | io_ctl->inode | 4096-ptr_max |
| PARAM_VALUE | 0 | io_ctl->inode->i_mapping | 0 |
| PARAM_VALUE | 0 | io_ctl->inode->i_size | 0 |
| PARAM_VALUE | 0 | io_ctl->num_pages | 0 |
| PARAM_VALUE | 0 | io_ctl->pages | 4096-ptr_max |
| PARAM_VALUE | 0 | *io_ctl->pages | 4096-ptr_max |
| BUF_SIZE | 0 | io_ctl | 72 |
| DATA_SOURCE | 0 | io_ctl | $1 |
| MEM_ZERO | 0 | io_ctl | |
| MEM_ZERO | 0 | io_ctl->inode | |
| 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 | &trans->transaction->cache_write_mutex |
fs/btrfs/free-space-cache.c io_ctl_prepare_pages() -> io_ctl_drop_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | io_ctl | 4096-ptr_max |
| PARAM_VALUE | 0 | io_ctl->bitmaps | 0 |
| PARAM_VALUE | 0 | io_ctl->cur | 0 |
| PARAM_VALUE | 0 | io_ctl->entries | 0 |
| PARAM_VALUE | 0 | io_ctl->index | 0 |
| PARAM_VALUE | 0 | io_ctl->inode | 4096-ptr_max |
| PARAM_VALUE | 0 | io_ctl->inode->i_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | io_ctl->orig | 0 |
| PARAM_VALUE | 0 | io_ctl->page | 0 |
| PARAM_VALUE | 0 | io_ctl->pages | 4096-ptr_max |
| PARAM_VALUE | 0 | io_ctl->size | 0 |
| 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->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_prepare_pages() -> io_ctl_drop_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | io_ctl | 4096-ptr_max |
| PARAM_VALUE | 0 | io_ctl->bitmaps | 0 |
| PARAM_VALUE | 0 | io_ctl->cur | 0 |
| PARAM_VALUE | 0 | io_ctl->entries | 0 |
| PARAM_VALUE | 0 | io_ctl->index | 0 |
| PARAM_VALUE | 0 | io_ctl->inode | 4096-ptr_max |
| PARAM_VALUE | 0 | io_ctl->inode->i_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | io_ctl->orig | 0 |
| PARAM_VALUE | 0 | io_ctl->page | 0 |
| PARAM_VALUE | 0 | io_ctl->pages | 4096-ptr_max |
| PARAM_VALUE | 0 | io_ctl->size | 0 |
| 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->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_prepare_pages() -> io_ctl_drop_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | io_ctl | 8725844860542648320 |
| PARAM_VALUE | 0 | io_ctl->bitmaps | 0 |
| PARAM_VALUE | 0 | io_ctl->cur | 0 |
| PARAM_VALUE | 0 | io_ctl->entries | 0 |
| PARAM_VALUE | 0 | io_ctl->index | 0 |
| PARAM_VALUE | 0 | io_ctl->inode | 4096-ptr_max |
| PARAM_VALUE | 0 | io_ctl->inode->i_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | io_ctl->orig | 0 |
| PARAM_VALUE | 0 | io_ctl->page | 0 |
| PARAM_VALUE | 0 | io_ctl->pages | 4096-ptr_max |
| PARAM_VALUE | 0 | io_ctl->size | 0 |
| DATA_SOURCE | 0 | io_ctl | $0 |
| MEM_ZERO | 0 | io_ctl | |
| RX_PATH | |||
| NOCHECK_CALL | |||
| 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_prepare_pages() -> io_ctl_drop_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | io_ctl | 8725844860542648320 |
| PARAM_VALUE | 0 | io_ctl->bitmaps | 0 |
| PARAM_VALUE | 0 | io_ctl->cur | 0 |
| PARAM_VALUE | 0 | io_ctl->entries | 0 |
| PARAM_VALUE | 0 | io_ctl->index | 0 |
| PARAM_VALUE | 0 | io_ctl->inode | 4096-ptr_max |
| PARAM_VALUE | 0 | io_ctl->inode->i_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | io_ctl->orig | 0 |
| PARAM_VALUE | 0 | io_ctl->page | 0 |
| PARAM_VALUE | 0 | io_ctl->pages | 4096-ptr_max |
| PARAM_VALUE | 0 | io_ctl->size | 0 |
| DATA_SOURCE | 0 | io_ctl | $0 |
| MEM_ZERO | 0 | io_ctl | |
| RX_PATH | |||
| NOCHECK_CALL | |||
| 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 |