Defined in 1 files as a struct:

Defined in 30 files as a member:

Defined in 2 files as a function:

Referenced in 160 files:

Smatch caller information:

drivers/md/dm-cache-target.c cache_status() -> commit()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->features.mode 0-1,3-u32max
PARAM_VALUE 1 clean_shutdown 0
BUF_SIZE 0 cache 16,40-s32max
BUF_SIZE 0 cache 16,40-s32max
LOCK2 &md->io_barrier
TYPE_LOCK (struct mapped_device)->io_barrier

drivers/md/dm-cache-target.c commit_op() -> commit()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->cmd 4096-ptr_max
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 1 clean_shutdown 0
BUF_SIZE 0 cache 2416
DATA_SOURCE 0 cache $0
HALF_LOCKED2 &pool->lock

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

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->hint_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-thin.c alloc_data_block() -> commit()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cache->low_water_triggered 1
PARAM_VALUE 0 cache->next_mapping 1-u64max
PARAM_VALUE 0 cache->pf.mode 0
PARAM_VALUE 0 cache->pmd 4096-ptr_max
PARAM_VALUE 0 cache->pmd->fail_io 0
PARAM_VALUE 0 cache->pmd->root_lock.first_waiter->handoff_set 1
PARAM_VALUE 0 cache->pmd->root_lock.first_waiter->type 0-1
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
LOCK2 &pool->lock

drivers/md/dm-thin.c alloc_data_block() -> commit()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cache->low_water_triggered 1
PARAM_VALUE 0 cache->next_mapping 1-u64max
PARAM_VALUE 0 cache->pmd 4096-ptr_max
PARAM_VALUE 0 cache->pmd->fail_io 0
PARAM_VALUE 0 cache->pmd->in_service 1
PARAM_VALUE 0 cache->pmd->root_lock.dep_map->name 0-255
PARAM_VALUE 0 cache->pmd->root_lock.first_waiter->handoff_set 1
PARAM_VALUE 0 cache->pmd->root_lock.first_waiter->type 0-1
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
CAPPED_DATA 0 cache->pmd->metadata_reserve 1
NO_OVERFLOW_SIMPLE 0 cache->pmd->bm->bufio->slab_buffer->object_size
NO_OVERFLOW_SIMPLE 0 cache->pmd->data_sm->ll.tm->real->bm->bufio->block_size
LOCK2 &pool->lock

drivers/md/dm-thin.c pool_message() -> commit()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->pmd->fail_io 0
PARAM_VALUE 0 cache->pmd->in_service 1
PARAM_VALUE 0 cache->pmd->root_lock.dep_map->name 0-255
PARAM_VALUE 0 cache->pmd->root_lock.first_waiter->handoff_set 1
PARAM_VALUE 0 cache->pmd->root_lock.first_waiter->type 0-1
LOCK2 &md->io_barrier
TYPE_LOCK (struct mapped_device)->io_barrier

drivers/md/dm-thin.c pool_postsuspend() -> commit()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->no_space_timeout.work.lockdep_map->name 0-255
PARAM_VALUE 0 cache->waker.work.lockdep_map->name 0-255
HALF_LOCKED2 &md->io_barrier
HALF_LOCKED2 &md->suspend_lock
TYPE_LOCK (struct mapped_device)->suspend_lock

drivers/md/dm-thin.c pool_preresume() -> commit()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->no_space_timeout.timer.entry->pprev 4096-ptr_max
PARAM_VALUE 0 cache->no_space_timeout.work.lockdep_map->name 0-255
PARAM_VALUE 0 cache->pmd 4096-ptr_max
PARAM_VALUE 0 cache->pmd->bm->read_only 0-1
PARAM_VALUE 0 cache->pmd->root_lock.dep_map->name 0-255
PARAM_VALUE 0 cache->pmd->root_lock.first_waiter->handoff_set 1
PARAM_VALUE 0 cache->pmd->root_lock.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 cache->pmd->root_lock.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 cache->pmd->root_lock.first_waiter->type 0-1
PARAM_VALUE 0 cache->process_bio 1384511198513909760,7991807685926547456,8752578213440634880
PARAM_VALUE 0 cache->process_cell 819502686028488704,1438208356453273600,6457992192310935552
PARAM_VALUE 0 cache->process_discard 1384511198513909760,2353795378601926656,4998615616779755520
PARAM_VALUE 0 cache->process_discard_cell 1438208356453273600,2546112863210897408,4734942750516097024,5004307637888102400
PARAM_VALUE 0 cache->process_prepared_discard 1575030001462607872,3207567192974540800,7211498306549579776,7715493549760503808
PARAM_VALUE 0 cache->process_prepared_mapping 6761281512312950784,8664862613375811584
PARAM_VALUE 0 cache->ti 4096-ptr_max
PARAM_VALUE 0 cache->ti->private 4096-ptr_max
PARAM_VALUE 0 cache->ti->private->adjusted_pf.mode 0-4294967295
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
LOCK2 &md->suspend_lock
TYPE_LOCK (struct mapped_device)->suspend_lock

drivers/md/dm-thin.c pool_status() -> commit()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->pf.mode 0-3,5-u32max
LOCK2 &md->io_barrier
TYPE_LOCK (struct mapped_device)->io_barrier

drivers/md/dm-thin.c process_deferred_bios() -> commit()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->deferred_flush_bios.head 0
PARAM_VALUE 0 cache->deferred_flush_bios.tail 0
PARAM_VALUE 0 cache->deferred_flush_completions.head 0
PARAM_VALUE 0 cache->deferred_flush_completions.tail 0
PARAM_VALUE 0 cache->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cache->pmd 4096-ptr_max
PARAM_VALUE 0 cache->pmd->root_lock.dep_map->name 0-255
PARAM_VALUE 0 cache->pmd->root_lock.first_waiter->handoff_set 1
PARAM_VALUE 0 cache->pmd->root_lock.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 cache->pmd->root_lock.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 0 cache->pmd->root_lock.first_waiter->type 0-1
PARAM_VALUE 0 cache->pmd->tm->bm->bufio->cache.num_locks 0-4294967295
PARAM_VALUE 0 cache->pmd->tm->bm->bufio->lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 cache->pmd->tm->bm->bufio->lock.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 0 cache->pmd->tm->bm->bufio->need_reserved_buffers 0-4294967295
PARAM_VALUE 0 cache->pmd->tm->prefetches->blocks (-1)
PARAM_VALUE 0 cache->pmd->tm->prefetches.lock.dep_map->name 0-255
PARAM_VALUE 0 cache->pmd->tm->prefetches.lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 cache->pmd->tm->prefetches.lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 cache->pmd->tm->prefetches.lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 cache->pmd->tm->prefetches.lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 cache->pmd->tm->prefetches.lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 cache->pmd->tm->prefetches.lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 cache->pmd->tm->prefetches.lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 cache->prepared_discards.next 4096-ptr_max
PARAM_VALUE 0 cache->prepared_discards.next->next 4096-ptr_max
PARAM_VALUE 0 cache->prepared_discards.next->prev 4096-ptr_max
PARAM_VALUE 0 cache->prepared_discards.prev 4096-ptr_max
PARAM_VALUE 0 cache->prepared_discards.prev->next 4096-ptr_max
PARAM_VALUE 0 cache->prepared_discards.prev->prev 4096-ptr_max
PARAM_VALUE 0 cache->prepared_discards_pt2.next 4096-ptr_max
PARAM_VALUE 0 cache->prepared_discards_pt2.next->next 4096-ptr_max
PARAM_VALUE 0 cache->prepared_discards_pt2.next->prev 4096-ptr_max
PARAM_VALUE 0 cache->prepared_discards_pt2.prev 4096-ptr_max
PARAM_VALUE 0 cache->prepared_discards_pt2.prev->next 4096-ptr_max
PARAM_VALUE 0 cache->prepared_discards_pt2.prev->prev 4096-ptr_max
PARAM_VALUE 0 cache->prepared_mappings.next 4096-ptr_max
PARAM_VALUE 0 cache->prepared_mappings.next->next 4096-ptr_max
PARAM_VALUE 0 cache->prepared_mappings.next->prev 4096-ptr_max
PARAM_VALUE 0 cache->prepared_mappings.prev 4096-ptr_max
PARAM_VALUE 0 cache->prepared_mappings.prev->next 4096-ptr_max
PARAM_VALUE 0 cache->prepared_mappings.prev->prev 4096-ptr_max
PARAM_VALUE 0 cache->throttle.lock.dep_map->name 0-255
PARAM_VALUE 0 cache->throttle.lock.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 cache->throttle.lock.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 cache->throttle.lock.first_waiter->type 0-1
PARAM_VALUE 0 cache->throttle.lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 cache->throttle.throttle_applied 1
DATA_SOURCE 0 cache $0
HALF_LOCKED2 &pool->lock

drivers/md/dm-thin.c process_reserve_metadata_snap_mesg() -> commit()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->pf.mode 0-1
DATA_SOURCE 0 cache $2
LOCK2 &md->io_barrier
TYPE_LOCK (struct mapped_device)->io_barrier

Smatch assignments to (struct dm_space_map)->commit: