Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/md/dm-raid1.c mirror_available() -> (struct dm_dirty_log_type)->in_sync()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
PARAM_VALUE 0 log->type 4096-ptr_max
PARAM_VALUE 2 can_block 0
DATA_SOURCE 0 log r dm_rh_dirty_log
DATA_SOURCE 1 region r dm_rh_bio_to_region
CONTAINER 0 -88-0+0 $(-1)
RX_PATH
TASK_NOT_RUNNING

drivers/md/dm-raid1.c mirror_map() -> (struct dm_dirty_log_type)->in_sync()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
PARAM_VALUE 0 log->type 4096-ptr_max
PARAM_VALUE 2 can_block 0
DATA_SOURCE 0 log r dm_rh_dirty_log
CONTAINER 0 -88-0+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 &md->io_barrier
HALF_LOCKED2 &bio->bi_bdev->bd_queue->queue_lock
HALF_LOCKED2 &md->swap_bios_semaphore
TYPE_LOCK (struct mapped_device)->io_barrier

drivers/md/dm-region-hash.c __rh_alloc() -> (struct dm_dirty_log_type)->in_sync()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
PARAM_VALUE 0 log->context->flush_failed 1
PARAM_VALUE 0 log->context->flush_log_work.cpu s32min-s32max
PARAM_VALUE 0 log->context->flush_log_work.timer.flags 0-4294967295
PARAM_VALUE 0 log->context->io_req.bi_opf 1,262145
PARAM_VALUE 0 log->context->io_req.client->pool.curr_nr s32min-s32max
PARAM_VALUE 0 log->context->log_dev_failed 1
PARAM_VALUE 0 log->context->log_dev_flush_failed 1
PARAM_VALUE 0 log->context->mark_list.next->prev 2640248780583800832,5600719427758096384
PARAM_VALUE 0 log->context->touched_dirtied 0-1
PARAM_VALUE 0 log->type 4096-ptr_max
PARAM_VALUE 0 log->type->flush 4096-ptr_max
PARAM_VALUE 0 log->type->get_resync_work 4096-ptr_max
PARAM_VALUE 2 can_block 1
DATA_SOURCE 1 region $1
CONTAINER 0 *(-88-0+0) $(-1)
LOCK2 &pool->lock
HALF_LOCKED2 &rh->recovery_count

drivers/md/dm-region-hash.c dm_rh_get_state() -> (struct dm_dirty_log_type)->in_sync()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
PARAM_VALUE 0 log->context->flush_failed 1
PARAM_VALUE 0 log->context->flush_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 log->context->flush_log_work.cpu s32min-s32max
PARAM_VALUE 0 log->context->flush_log_work.timer.flags 0-4294967295
PARAM_VALUE 0 log->context->io_req.bi_opf 1,262145
PARAM_VALUE 0 log->context->io_req.client->pool.curr_nr s32min-s32max
PARAM_VALUE 0 log->context->log_dev_failed 1
PARAM_VALUE 0 log->context->log_dev_flush_failed 1
PARAM_VALUE 0 log->context->touched_dirtied 0-1
PARAM_VALUE 0 log->type 4096-ptr_max
PARAM_VALUE 2 can_block 1
DATA_SOURCE 1 region $1
DATA_SOURCE 2 can_block $2
CONTAINER 0 *(-88-0+0) $(-1)
HALF_LOCKED2 &pool->lock