Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-pcache/dm_pcache.c dm_pcache_ctr() -> pcache_destroy_args()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pcache | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->backing_dev.dm_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->cache_dev.dm_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->cache_dev.dm_dev->bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->cache_dev.dm_dev->dax_dev->ops | 0-s64max |
| PARAM_VALUE | 0 | pcache->cache_dev.seg_bitmap | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | pcache->cache_dev.seg_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pcache->cache_dev.seg_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | pcache->cache_dev.seg_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->cache_dev.use_vmap | 1 |
| PARAM_VALUE | 0 | pcache->defered_req_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->defered_req_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->defered_req_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->defered_req_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->defered_req_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->opts.cache_mode | 0 |
| PARAM_VALUE | 0 | pcache->task_wq | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->ti | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->ti->error | 6178336389065121792 |
| PARAM_VALUE | 0 | pcache->ti->len | 1-u64max |
| PARAM_VALUE | 0 | pcache->ti->table | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->ti->table->devices.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->ti->table->devices.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->ti->table->md->disk->slave_bdevs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->ti->table->md->disk->slave_bdevs.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->ti->table->md->disk->slave_bdevs.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->ti->table->md->disk->slave_dir->sd->__parent | 0 |
| PARAM_VALUE | 0 | pcache->ti->table->md->table_devices.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->ti->table->md->table_devices.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->ti->table->md->table_devices.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->ti->table->md->table_devices_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pcache->ti->table->md->table_devices_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | pcache->ti->table->md->table_devices_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | pcache->ti->table->md->table_devices_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | pcache->ti->table->md->table_devices_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | pcache->ti->table->md->table_devices_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | pcache->ti->type | 4096-ptr_max |
| BUF_SIZE | 0 | pcache | 13496 |
| BUF_SIZE | 0 | pcache->task_wq | (-1),512,528-8720 |
| CAPPED_DATA | 0 | pcache->ti->begin | 1 |
| CAPPED_DATA | 0 | pcache->ti->table->md->disk | 1 |
| DATA_SOURCE | 0 | pcache | r _kzalloc_noprof |
| STR_LEN | 0 | pcache->ti->error | 13 |
| TERMINATED | 0 | pcache->ti->error | 1 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | pcache->ti->begin | |
| NO_OVERFLOW_SIMPLE | 0 | pcache->ti->len | |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-pcache/dm_pcache.c dm_pcache_dtr() -> pcache_destroy_args()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pcache | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->backing_dev.bvec_pool.curr_nr | 0 |
| PARAM_VALUE | 0 | pcache->backing_dev.bvec_pool.elements | 0 |
| PARAM_VALUE | 0 | pcache->backing_dev.req_complete_work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | pcache->backing_dev.req_pool.curr_nr | 0 |
| PARAM_VALUE | 0 | pcache->backing_dev.req_pool.elements | 0 |
| PARAM_VALUE | 0 | pcache->backing_dev.req_submit_work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | pcache->cache.backing_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->cache.backing_dev->dm_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->cache.cache_full | 1 |
| PARAM_VALUE | 0 | pcache->cache.clean_work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | pcache->cache.gc_work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | pcache->cache.key_head_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pcache->cache.seg_map_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pcache->cache.writeback_work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | pcache->defered_req_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->defered_req_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->defered_req_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->defered_req_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->defered_req_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->defered_req_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->defered_req_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pcache->defered_req_work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | pcache->inflight_wq.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pcache->state.counter | 2 |
| BUF_SIZE | 0 | pcache | 16,40-s32max |
| BUF_SIZE | 0 | pcache | 16,40-s32max |
| CAPPED_DATA | 0 | pcache->cache.n_ksets | 1 |
| CAPPED_DATA | 0 | pcache->cache.req_key_tree.n_subtrees | 1 |
| CAPPED_DATA | 0 | pcache->cache.seg_map | 1 |
| CAPPED_DATA | 0 | pcache->cache.segments | 1 |
| CAPPED_DATA | 0 | pcache->cache.writeback_key_tree.n_subtrees | 1 |
| CAPPED_DATA | 0 | pcache->cache.writeback_key_tree.subtrees | 1 |
| CAPPED_DATA | 0 | pcache->cache_dev.seg_bitmap | 1 |
| NOCHECK_CALL |
drivers/md/dm-pcache/dm_pcache.c pcache_parse_args() -> pcache_destroy_args()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pcache | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->cache_dev.dm_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->defered_req_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->defered_req_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->defered_req_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->defered_req_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->defered_req_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->task_wq | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->ti | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->ti->error | 6178336389065121792 |
| PARAM_VALUE | 0 | pcache->ti->len | 1-u64max |
| PARAM_VALUE | 0 | pcache->ti->table | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->ti->table->devices.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->ti->table->devices.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->ti->table->md->disk->slave_bdevs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->ti->table->md->disk->slave_bdevs.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->ti->table->md->disk->slave_bdevs.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->ti->table->md->table_devices.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->ti->table->md->table_devices.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->ti->table->md->table_devices.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pcache->ti->table->md->table_devices_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pcache->ti->table->md->table_devices_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | pcache->ti->table->md->table_devices_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | pcache->ti->table->md->table_devices_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | pcache->ti->table->md->table_devices_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | pcache->ti->table->md->table_devices_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | pcache->ti->type | 4096-ptr_max |
| BUF_SIZE | 0 | pcache | 13496 |
| BUF_SIZE | 0 | pcache->task_wq | (-1),512,528-8720 |
| CAPPED_DATA | 0 | pcache->ti->begin | 1 |
| CAPPED_DATA | 0 | pcache->ti->table->md->disk | 1 |
| DATA_SOURCE | 0 | pcache | $0 |
| STR_LEN | 0 | pcache->ti->error | 13 |
| TERMINATED | 0 | pcache->ti->error | 1 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | pcache->ti->begin | |
| NO_OVERFLOW_SIMPLE | 0 | pcache->ti->len | |
| HALF_LOCKED2 | &md->type_lock |