Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/md/dm-cache-target.c sync_metadata() -> write_hints()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->background_work_lock.dep_map->name 0-255
PARAM_VALUE 0 cache->background_work_lock.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 cache->background_work_lock.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 cache->background_work_lock.first_waiter->type 0-1
PARAM_VALUE 0 cache->background_work_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 cache->cmd->changed 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 2624917664208203776
PARAM_VALUE 0 cache->cmd->root_lock.first_waiter->list.prev 2624917664208203776
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->deferred_bios.head 0
PARAM_VALUE 0 cache->deferred_bios.tail 0
PARAM_VALUE 0 cache->features.mode 0-2
PARAM_VALUE 0 cache->nr_io_migrations.counter 0
PARAM_VALUE 0 cache->waker.work.lockdep_map->name 0-255
PARAM_VALUE 0 cache->wq 4096-ptr_max
PARAM_VALUE 0 cache->wq->flags 0-4294967295
PARAM_VALUE 0 cache->wq->flush_color s32min-s32max
PARAM_VALUE 0 cache->wq->nr_drainers s32min-s32max
PARAM_VALUE 0 cache->wq->nr_pwqs_to_flush.counter s32min-s32max
PARAM_VALUE 0 cache->wq->work_color s32min-s32max
PARAM_VALUE 0 *cache->wq->lockdep_map->name 0-255
BUF_SIZE 0 cache 16,40-s32max
BUF_SIZE 0 cache 16,40-s32max
DATA_SOURCE 0 cache $0
NO_OVERFLOW_SIMPLE 0 cache->cmd->bm->bufio->slab_buffer->object_size
NO_OVERFLOW_SIMPLE 0 cache->cmd->dirty_info.array_info.btree_info.tm->bm->bufio->block_size
NO_OVERFLOW_SIMPLE 0 cache->cmd->info.btree_info.tm->bm->bufio->block_size
LOCK2 0 &cache->background_work_lock
HALF_LOCKED2 &md->io_barrier
HALF_LOCKED2 &md->suspend_lock
TYPE_LOCK (struct cache)->background_work_lock
TYPE_LOCK (struct mapped_device)->suspend_lock

drivers/md/dm-cache-metadata.c dm_cache_write_hints() -> write_hints()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->bm 4096-ptr_max
PARAM_VALUE 0 cache->bm->read_only 0
PARAM_VALUE 0 cache->discard_block_size 0-9223372036854775807
PARAM_VALUE 0 cache->fail_io 0
PARAM_VALUE 0 cache->root_lock.dep_map->name 0-255
PARAM_VALUE 0 cache->root_lock.first_waiter->handoff_set 1
PARAM_VALUE 0 cache->root_lock.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 cache->root_lock.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 cache->root_lock.first_waiter->type 0-1
PARAM_VALUE 0 cache->root_lock.osq.tail.counter 0-s32max
DATA_SOURCE 0 cache $0
DATA_SOURCE 1 policy $1
NO_OVERFLOW_SIMPLE 0 cache->dirty_info.array_info.btree_info.tm->bm->bufio->block_size
NO_OVERFLOW_SIMPLE 0 cache->info.btree_info.tm->real->bm->bufio->block_size
LOCK2 &cache->background_work_lock
LOCK2 &md->suspend_lock
LOCK2 0 &cache->root_lock
HALF_LOCKED2 &md->io_barrier
TYPE_LOCK (struct cache)->background_work_lock
TYPE_LOCK (struct dm_cache_metadata)->root_lock
TYPE_LOCK (struct mapped_device)->suspend_lock