Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/btrfs/free-space-cache.c write_cache_extent_entries() -> io_ctl_add_entry()
| 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 | 8 |
| 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->orig | 0 |
| PARAM_VALUE | 0 | io_ctl->page | 0 |
| PARAM_VALUE | 0 | io_ctl->pages | 4096-ptr_max |
| PARAM_VALUE | 0 | io_ctl->size | 18446744073709551608 |
| PARAM_VALUE | 0 | *io_ctl->pages | 4096-ptr_max |
| BUF_SIZE | 0 | io_ctl | 72 |
| DATA_SOURCE | 0 | io_ctl | $0 |
| MEM_ZERO | 0 | io_ctl | |
| MEM_ZERO | 0 | io_ctl->inode | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | io_ctl->num_pages | |
| UNITS | 1 | offset | unit_byte |
| UNITS | 2 | bytes | unit_byte |
| LOCK2 | &ctl->cache_writeout_mutex | ||
| LOCK2 | &ctl->tree_lock | ||
| HALF_LOCKED2 | &block_group->data_rwsem | ||
| HALF_LOCKED2 | &cluster_locked->lock | ||
| HALF_LOCKED2 | &trans->transaction->cache_write_mutex | ||
| TYPE_LOCK | (struct btrfs_free_space_ctl)->cache_writeout_mutex | ||
| TYPE_LOCK | (struct btrfs_free_space_ctl)->tree_lock |
fs/btrfs/free-space-cache.c write_cache_extent_entries() -> io_ctl_add_entry()
| 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 | 8 |
| 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->orig | 0 |
| PARAM_VALUE | 0 | io_ctl->page | 0 |
| PARAM_VALUE | 0 | io_ctl->pages | 4096-ptr_max |
| PARAM_VALUE | 0 | io_ctl->size | 18446744073709551608 |
| PARAM_VALUE | 0 | *io_ctl->pages | 4096-ptr_max |
| PARAM_VALUE | 3 | bitmap | 0 |
| BUF_SIZE | 0 | io_ctl | 72 |
| DATA_SOURCE | 0 | io_ctl | $0 |
| MEM_ZERO | 0 | io_ctl | |
| MEM_ZERO | 0 | io_ctl->inode | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | io_ctl->num_pages | |
| UNITS | 1 | offset | unit_byte |
| UNITS | 2 | bytes | unit_byte |
| LOCK2 | &ctl->cache_writeout_mutex | ||
| LOCK2 | &ctl->tree_lock | ||
| HALF_LOCKED2 | &block_group->data_rwsem | ||
| HALF_LOCKED2 | &trans->transaction->cache_write_mutex | ||
| TYPE_LOCK | (struct btrfs_free_space_ctl)->cache_writeout_mutex | ||
| TYPE_LOCK | (struct btrfs_free_space_ctl)->tree_lock |
fs/btrfs/free-space-cache.c write_pinned_extent_entries() -> io_ctl_add_entry()
| 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->orig | 0,18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | io_ctl->pages | 4096-ptr_max |
| PARAM_VALUE | 0 | *io_ctl->pages | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0-18446744073709551614 |
| PARAM_VALUE | 3 | bitmap | 0 |
| BUF_SIZE | 0 | io_ctl | 72 |
| CAPPED_DATA | 1 | offset | 1 |
| CAPPED_DATA | 1 | offset | 1 |
| CAPPED_DATA | 2 | bytes | 1 |
| CAPPED_DATA | 2 | bytes | 1 |
| DATA_SOURCE | 0 | io_ctl | $2 |
| MEM_ZERO | 0 | io_ctl | |
| MEM_ZERO | 0 | io_ctl->inode | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | io_ctl->num_pages | |
| UNITS | 1 | offset | unit_byte |
| UNITS | 2 | bytes | unit_byte |
| LOCK2 | &ctl->cache_writeout_mutex | ||
| LOCK2 | &ctl->tree_lock | ||
| HALF_LOCKED2 | &block_group->data_rwsem | ||
| HALF_LOCKED2 | &trans->transaction->cache_write_mutex | ||
| TYPE_LOCK | (struct btrfs_free_space_ctl)->cache_writeout_mutex | ||
| TYPE_LOCK | (struct btrfs_free_space_ctl)->tree_lock |