Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/md/dm-raid1.c do_writes() -> dm_rh_get_state()

Type Parameter Key Value
PARAM_VALUE 0 rh 4096-ptr_max
PARAM_VALUE 0 rh->hash_lock.dep_map->name 0-255
PARAM_VALUE 0 rh->hash_lock.owner (-1)
PARAM_VALUE 0 rh->hash_lock.owner_cpu 4294967295
PARAM_VALUE 0 rh->hash_lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 0 rh->hash_lock.raw_lock.wlocked 0
PARAM_VALUE 0 rh->log->context->flush_failed 1
PARAM_VALUE 0 rh->log->context->flush_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 rh->log->context->flush_log_work.cpu s32min-s32max
PARAM_VALUE 0 rh->log->context->flush_log_work.timer.flags 0-4294967295
PARAM_VALUE 0 rh->log->context->io_req.bi_opf 1,262145
PARAM_VALUE 0 rh->log->context->io_req.client->pool.curr_nr s32min-s32max
PARAM_VALUE 0 rh->log->context->log_dev_failed 1
PARAM_VALUE 0 rh->log->context->log_dev_flush_failed 1
PARAM_VALUE 0 rh->log->context->touched_dirtied 0-1
PARAM_VALUE 0 rh->recovery_count.count 0-4294967295
PARAM_VALUE 0 rh->recovery_count.first_waiter->up 0-1
PARAM_VALUE 0 rh->recovery_count.lock.dep_map->name 0-255
PARAM_VALUE 0 rh->recovery_count.lock.owner (-1)
PARAM_VALUE 0 rh->recovery_count.lock.owner_cpu 4294967295
PARAM_VALUE 0 rh->recovery_in_flight.counter s32min-s32max
PARAM_VALUE 0 rh->region_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 rh->region_pool.curr_nr s32min-s32max
PARAM_VALUE 2 may_block 1
DATA_SOURCE 1 region r dm_rh_bio_to_region
HALF_LOCKED2 &pool->lock

drivers/md/dm-raid1.c region_in_sync() -> dm_rh_get_state()

Type Parameter Key Value
PARAM_VALUE 0 rh 4096-ptr_max
PARAM_VALUE 0 rh->hash_lock.dep_map->name 0-255
PARAM_VALUE 0 rh->hash_lock.owner (-1)
PARAM_VALUE 0 rh->hash_lock.owner_cpu 4294967295
PARAM_VALUE 0 rh->hash_lock.raw_lock.wlocked 0
PARAM_VALUE 0 rh->log->context->flush_failed 1
PARAM_VALUE 0 rh->log->context->flush_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 rh->log->context->flush_log_work.cpu s32min-s32max
PARAM_VALUE 0 rh->log->context->flush_log_work.timer.flags 0-4294967295
PARAM_VALUE 0 rh->log->context->io_req.bi_opf 1,262145
PARAM_VALUE 0 rh->log->context->io_req.client->pool.curr_nr s32min-s32max
PARAM_VALUE 0 rh->log->context->log_dev_failed 1
PARAM_VALUE 0 rh->log->context->log_dev_flush_failed 1
PARAM_VALUE 0 rh->log->context->touched_dirtied 0-1
PARAM_VALUE 0 rh->recovery_count.count 0-4294967295
PARAM_VALUE 0 rh->recovery_count.first_waiter->up 0-1
PARAM_VALUE 0 rh->recovery_count.lock.dep_map->name 0-255
PARAM_VALUE 0 rh->recovery_count.lock.owner (-1)
PARAM_VALUE 0 rh->recovery_count.lock.owner_cpu 4294967295
PARAM_VALUE 0 rh->recovery_in_flight.counter s32min-s32max
PARAM_VALUE 0 rh->region_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 rh->region_pool.curr_nr s32min-s32max
PARAM_VALUE 2 may_block 1
DATA_SOURCE 1 region $1
DATA_SOURCE 2 may_block $2
HALF_LOCKED2 &pool->lock