Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/md/dm-cache-target.c cache_create() -> __destroy()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->features.io_mode 0-2
PARAM_VALUE 0 cache->features.metadata_version 1-2
PARAM_VALUE 0 cache->features.mode 0-2
PARAM_VALUE 0 cache->ti 4096-ptr_max
PARAM_VALUE 0 cache->ti->error 6178336389065121792
PARAM_VALUE 0 cache->ti->len 1-u64max
PARAM_VALUE 0 cache->ti->table 4096-ptr_max
PARAM_VALUE 0 cache->ti->type 4096-ptr_max
BUF_SIZE 0 cache 2416
BUF_SIZE 0 cache->cmd (-1),1920
BUF_SIZE 0 cache->copier (-1),560
BUF_SIZE 0 cache->dirty_bitset s32min-s32max
BUF_SIZE 0 cache->discard_bitset s32min-s32max
BUF_SIZE 0 cache->invalid_bitset s32min-s32max
BUF_SIZE 0 cache->prison (-1),288
BUF_SIZE 0 cache->wq (-1),512,528-8720
CAPPED_DATA 0 cache->ti->begin 1
DATA_SOURCE 0 cache r _kzalloc_noprof
STR_LEN 0 cache->ti->error 13
TERMINATED 0 cache->ti->error 1
NOCHECK_CALL
USER_DATA 0 cache->migration_threshold 0-u64max
NO_OVERFLOW_SIMPLE 0 cache->copier->io_client->bios.bio_pool.min_nr
NO_OVERFLOW_SIMPLE 0 cache->copier->io_client->bios.bvec_pool.min_nr
NO_OVERFLOW_SIMPLE 0 cache->origin_sectors
NO_OVERFLOW_SIMPLE 0 cache->ti->begin
NO_OVERFLOW_SIMPLE 0 cache->ti->len
HALF_LOCKED2 &md->type_lock

drivers/md/dm-cache-target.c cache_ctr() -> __destroy()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->background_work_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 cache->commit_requested 0
PARAM_VALUE 0 cache->committer.bios.head 0
PARAM_VALUE 0 cache->committer.bios.tail 0
PARAM_VALUE 0 cache->committer.commit_op 5332457082337288192
PARAM_VALUE 0 cache->committer.commit_scheduled 0
PARAM_VALUE 0 cache->committer.issue_op 3770976700352299008
PARAM_VALUE 0 cache->deferred_bios.head 0
PARAM_VALUE 0 cache->deferred_bios.tail 0
PARAM_VALUE 0 cache->discard_block_size 64-4194304
PARAM_VALUE 0 cache->features.io_mode 0-2
PARAM_VALUE 0 cache->features.metadata_version 1-2
PARAM_VALUE 0 cache->features.mode 0
PARAM_VALUE 0 cache->invalidate 0
PARAM_VALUE 0 cache->loaded_discards 0
PARAM_VALUE 0 cache->loaded_mappings 0
PARAM_VALUE 0 cache->migration_pool.alloc 7276475779886346240
PARAM_VALUE 0 cache->migration_pool.curr_nr 1-s32max
PARAM_VALUE 0 cache->migration_pool.free 8263660038527102976
PARAM_VALUE 0 cache->migration_pool.min_nr 128
PARAM_VALUE 0 cache->migration_pool.pool_data 0
PARAM_VALUE 0 cache->need_tick_bio 1
PARAM_VALUE 0 cache->nr_allocated_migrations.counter 0
PARAM_VALUE 0 cache->nr_dirty.counter 0
PARAM_VALUE 0 cache->nr_io_migrations.counter 0
PARAM_VALUE 0 cache->origin_blocks 0-288230376151711743
PARAM_VALUE 0 cache->sectors_per_block 64-2097152
PARAM_VALUE 0 cache->sized 0
PARAM_VALUE 0 cache->stats.cache_cell_clash.counter 0
PARAM_VALUE 0 cache->stats.commit_count.counter 0
PARAM_VALUE 0 cache->stats.copies_avoided.counter 0
PARAM_VALUE 0 cache->stats.demotion.counter 0
PARAM_VALUE 0 cache->stats.discard_count.counter 0
PARAM_VALUE 0 cache->stats.promotion.counter 0
PARAM_VALUE 0 cache->tracker.idle_time 0
PARAM_VALUE 0 cache->tracker.in_flight 0
NOCHECK_CALL
USER_DATA 0 cache->migration_threshold s64min-s64max
NO_OVERFLOW_SIMPLE 0 cache->discard_block_size
NO_OVERFLOW_SIMPLE 0 cache->nr_ctr_args
NO_OVERFLOW_SIMPLE 0 cache->origin_sectors
NO_OVERFLOW_SIMPLE 0 cache->sectors_per_block
LOCK2 &cache->background_work_lock
HALF_LOCKED2 &md->type_lock

drivers/md/dm-cache-target.c destroy() -> __destroy()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->waker.work.lockdep_map->name 0-255
BUF_SIZE 0 cache 16,40-s32max
BUF_SIZE 0 cache 16,40-s32max
CAPPED_DATA 0 cache->ctr_args 1
CAPPED_DATA 0 cache->nr_ctr_args 1
DATA_SOURCE 0 cache $0
NOCHECK_CALL