Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->background_work_lock.count.counter 0
PARAM_VALUE 0 cache->background_work_lock.dep_map->name 0-255
PARAM_VALUE 0 cache->background_work_lock.first_waiter 0
PARAM_VALUE 0 cache->background_work_lock.magic 4096-ptr_max
PARAM_VALUE 0 cache->background_work_lock.osq.tail.counter 0
PARAM_VALUE 0 cache->background_work_lock.owner.counter 0
PARAM_VALUE 0 cache->cache_dev 4096-ptr_max
PARAM_VALUE 0 cache->cmd 4096-ptr_max
PARAM_VALUE 0 cache->cmd->bm->read_only 0-1
PARAM_VALUE 0 cache->cmd->fail_io 0-1
PARAM_VALUE 0 cache->cmd->root_lock.dep_map->name 0-255
PARAM_VALUE 0 cache->cmd->root_lock.first_waiter->handoff_set 1
PARAM_VALUE 0 cache->cmd->root_lock.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 cache->cmd->root_lock.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 0 cache->cmd->root_lock.first_waiter->type 0-1
PARAM_VALUE 0 cache->cmd->root_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_context 4096-ptr_max
PARAM_VALUE 0 cache->committer.commit_op 5332457082337288192
PARAM_VALUE 0 cache->committer.commit_scheduled 0
PARAM_VALUE 0 cache->committer.issue_context 4096-ptr_max
PARAM_VALUE 0 cache->committer.issue_op 3770976700352299008
PARAM_VALUE 0 cache->committer.wq 4096-ptr_max
PARAM_VALUE 0 cache->copier 4096-ptr_max
PARAM_VALUE 0 cache->copier->io_client->bios.back_pad 0,64
PARAM_VALUE 0 cache->copier->io_client->bios.bio_pool.alloc 7276475779886346240
PARAM_VALUE 0 cache->copier->io_client->bios.bio_pool.curr_nr 1-s32max
PARAM_VALUE 0 cache->copier->io_client->bios.bio_pool.free 8263660038527102976
PARAM_VALUE 0 cache->copier->io_client->bios.bio_pool.min_nr 1-1024
PARAM_VALUE 0 cache->copier->io_client->bios.bvec_pool.alloc 7276475779886346240
PARAM_VALUE 0 cache->copier->io_client->bios.bvec_pool.curr_nr 1-s32max
PARAM_VALUE 0 cache->copier->io_client->bios.bvec_pool.free 8263660038527102976
PARAM_VALUE 0 cache->copier->io_client->pool.alloc 7276475779886346240
PARAM_VALUE 0 cache->copier->io_client->pool.curr_nr 1-s32max
PARAM_VALUE 0 cache->copier->io_client->pool.free 8263660038527102976
PARAM_VALUE 0 cache->copier->io_client->pool.min_nr 1-1024
PARAM_VALUE 0 cache->copier->job_pool.alloc 7276475779886346240
PARAM_VALUE 0 cache->copier->job_pool.curr_nr 1-s32max
PARAM_VALUE 0 cache->copier->job_pool.free 8263660038527102976
PARAM_VALUE 0 cache->copier->job_pool.min_nr 8
PARAM_VALUE 0 cache->copier->nr_jobs.counter 0
PARAM_VALUE 0 cache->copier->nr_reserved_pages 1-2560
PARAM_VALUE 0 cache->copier->sub_job_size 2-20480
PARAM_VALUE 0 cache->copier->throttle 2486065507138015232
PARAM_VALUE 0 cache->deferred_bios.head 0
PARAM_VALUE 0 cache->deferred_bios.tail 0
PARAM_VALUE 0 cache->dirty_bitset 1-u64max
PARAM_VALUE 0 cache->discard_bitset 1-u64max
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->invalid_bitset 1-u64max
PARAM_VALUE 0 cache->invalidate 0
PARAM_VALUE 0 cache->invalidation_requests.next 4096-ptr_max
PARAM_VALUE 0 cache->invalidation_requests.next->next 4096-ptr_max
PARAM_VALUE 0 cache->invalidation_requests.prev 4096-ptr_max
PARAM_VALUE 0 cache->invalidation_requests.prev->next 4096-ptr_max
PARAM_VALUE 0 cache->invalidation_requests.prev->prev 4096-ptr_max
PARAM_VALUE 0 cache->loaded_discards 0
PARAM_VALUE 0 cache->loaded_mappings 0
PARAM_VALUE 0 cache->metadata_dev 4096-ptr_max
PARAM_VALUE 0 cache->migration_pool.alloc 7276475779886346240
PARAM_VALUE 0 cache->migration_pool.curr_nr 1-s32max
PARAM_VALUE 0 cache->migration_pool.elements 1-u64max
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,4096-ptr_max
PARAM_VALUE 0 cache->migration_pool.wait.head.next 4096-ptr_max
PARAM_VALUE 0 cache->migration_pool.wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 cache->migration_pool.wait.head.prev 4096-ptr_max
PARAM_VALUE 0 cache->migration_pool.wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 cache->migration_pool.wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 cache->migration_wait.head.next 4096-ptr_max
PARAM_VALUE 0 cache->migration_wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 cache->migration_wait.head.prev 4096-ptr_max
PARAM_VALUE 0 cache->migration_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 cache->migration_wait.head.prev->prev 4096-ptr_max
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->origin_dev 4096-ptr_max
PARAM_VALUE 0 cache->origin_sectors 1-u64max
PARAM_VALUE 0 cache->policy 4096-ptr_max
PARAM_VALUE 0 cache->policy->private 4096-ptr_max
PARAM_VALUE 0 cache->prison 4096-ptr_max
PARAM_VALUE 0 cache->prison->cell_pool.alloc 7276475779886346240
PARAM_VALUE 0 cache->prison->cell_pool.curr_nr 1-s32max
PARAM_VALUE 0 cache->prison->cell_pool.free 8263660038527102976
PARAM_VALUE 0 cache->prison->cell_pool.min_nr 1024
PARAM_VALUE 0 cache->prison->wq 4096-ptr_max
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->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->table->event_context->event_nr.counter s32min-s32max
PARAM_VALUE 0 cache->ti->table->event_context->uevent_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cache->ti->type 4096-ptr_max
PARAM_VALUE 0 cache->tracker.idle_time 0
PARAM_VALUE 0 cache->tracker.in_flight 0
PARAM_VALUE 0 cache->wq 4096-ptr_max
BUF_SIZE 0 cache 2416
BUF_SIZE 0 cache->cmd (-1),1920
BUF_SIZE 0 cache->copier 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 288
BUF_SIZE 0 cache->wq (-1),512,528-8720
CAPPED_DATA 0 cache->cache_size 1
CAPPED_DATA 0 cache->copier->sub_job_size 1
CAPPED_DATA 0 cache->sectors_per_block 1
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
MEM_ZERO 0 cache->dirty_bitset
MEM_ZERO 0 cache->discard_bitset
MEM_ZERO 0 cache->invalid_bitset
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_postsuspend() -> prevent_background_work()

Type Parameter Key Value
BUF_SIZE 0 cache 16,40-s32max
BUF_SIZE 0 cache 16,40-s32max
NOCHECK_CALL
HALF_LOCKED2 &md->io_barrier
HALF_LOCKED2 &md->suspend_lock
TYPE_LOCK (struct mapped_device)->suspend_lock