Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/md/dm-ioctl.c do_resume() -> dm_ima_measure_on_device_resume()

Type Parameter Key Value
PARAM_VALUE 0 md 4096-ptr_max
PARAM_VALUE 0 md->disk 4096-ptr_max
PARAM_VALUE 0 md->disk->part0 4096-ptr_max
PARAM_VALUE 0 md->disk->part0->bd_nr_sectors 0-18014398509481983
PARAM_VALUE 0 md->disk->part0->bd_size_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 md->ima.ima_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 md->ima.ima_wq.head.prev->next 4096-ptr_max
PARAM_VALUE 0 md->ima.ima_wq.head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 md->ima.inactive_table.capacity 0
PARAM_VALUE 0 md->ima.inactive_table.device_metadata 0
PARAM_VALUE 0 md->ima.inactive_table.hash 0
PARAM_VALUE 0 md->ima.inactive_table.hash_len 0
PARAM_VALUE 0 md->ima.inactive_table.num_targets 0
PARAM_VALUE 0 md->interface_ptr 1-u64max
PARAM_VALUE 0 md->interface_ptr->md->ima.update_idx 0-4294967295
PARAM_VALUE 0 md->io_barrier.dep_map->name 0-255
PARAM_VALUE 0 md->io_barrier.srcu_sup 4096-ptr_max
PARAM_VALUE 0 md->io_barrier.srcu_sup->lock.dep_map->name 0-255
PARAM_VALUE 0 md->io_barrier.srcu_sup->lock.owner (-1)
PARAM_VALUE 0 md->io_barrier.srcu_sup->lock.owner_cpu u32max
PARAM_VALUE 0 md->io_barrier.srcu_sup->sda_is_static 1
PARAM_VALUE 0 md->io_barrier.srcu_sup->srcu_barrier_mutex.dep_map->name 0-255
PARAM_VALUE 0 md->io_barrier.srcu_sup->srcu_barrier_mutex.magic 4096-ptr_max
PARAM_VALUE 0 md->io_barrier.srcu_sup->srcu_cb_mutex.dep_map->name 0-255
PARAM_VALUE 0 md->io_barrier.srcu_sup->srcu_cb_mutex.magic 4096-ptr_max
PARAM_VALUE 0 md->io_barrier.srcu_sup->srcu_gp_mutex.dep_map->name 0-255
PARAM_VALUE 0 md->io_barrier.srcu_sup->srcu_gp_mutex.magic 4096-ptr_max
PARAM_VALUE 0 md->io_barrier.srcu_sup->srcu_gp_seq 18446744073709551216
PARAM_VALUE 0 md->io_barrier.srcu_sup->srcu_gp_seq_needed 0,4-u64max
PARAM_VALUE 0 md->io_barrier.srcu_sup->srcu_gp_seq_needed_exp 18446744073709551216
PARAM_VALUE 0 md->io_barrier.srcu_sup->srcu_size_state 0-1,8
PARAM_VALUE 0 md->io_barrier.srcu_sup->srcu_ssp 4096-ptr_max
PARAM_VALUE 0 md->io_barrier.srcu_sup->srcu_ssp->sda 1-u64max
PARAM_VALUE 0 md->io_barrier.srcu_sup->srcu_ssp->srcu_sup 4096-ptr_max
PARAM_VALUE 0 md->io_barrier.srcu_sup->work.work.entry.next 4096-ptr_max
PARAM_VALUE 0 md->io_barrier.srcu_sup->work.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 md->io_barrier.srcu_sup->work.work.entry.prev 2076614606316732416
PARAM_VALUE 0 md->io_barrier.srcu_sup->work.work.entry.prev->prev 2076614606316732416
PARAM_VALUE 0 md->map 4096-ptr_max
PARAM_VALUE 0 md->mempools->bs->rescue_workqueue->first_flusher->done.wait.lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 md->mempools->bs->rescue_workqueue->lockdep_map->name 0-255
PARAM_VALUE 0 md->mempools->bs->rescue_workqueue->rescuer->task->delays->lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 md->mempools->bs->rescue_workqueue->rescuer->task->pi_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 md->mempools->bs.cpuhp_dead->next->pprev 1-u64max
PARAM_VALUE 0 md->mempools->io_bs->rescue_workqueue->first_flusher->done.wait.lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 md->mempools->io_bs->rescue_workqueue->lockdep_map->name 0-255
PARAM_VALUE 0 md->mempools->io_bs->rescue_workqueue->rescuer->task->delays->lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 md->mempools->io_bs->rescue_workqueue->rescuer->task->pi_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 md->mempools->io_bs.cpuhp_dead->next->pprev 1-u64max
PARAM_VALUE 0 md->queue->disk->bdi->io_pages 0-536870911
PARAM_VALUE 0 md->queue->disk->bdi->ra_pages 32-u64max
PARAM_VALUE 0 md->queue->limits.atomic_write_boundary_sectors 0-8388607
PARAM_VALUE 0 md->queue->limits.atomic_write_max_sectors 0-8388607
PARAM_VALUE 0 md->queue->limits.atomic_write_unit_max 0-1171456
PARAM_VALUE 0 md->queue->limits.atomic_write_unit_min 0-1171456
PARAM_VALUE 0 md->queue->limits.discard_granularity 0,512-u32max
PARAM_VALUE 0 md->queue->limits.dma_alignment 1-u32max
PARAM_VALUE 0 md->queue->limits.io_min 512-u32max
PARAM_VALUE 0 md->queue->limits.logical_block_size 512-65536
PARAM_VALUE 0 md->queue->limits.max_discard_segments 1-u16max
PARAM_VALUE 0 md->queue->limits.max_fast_segment_size 0-4096
PARAM_VALUE 0 md->queue->limits.max_segment_size 1-u32max
PARAM_VALUE 0 md->queue->limits.max_segments 1-u16max
PARAM_VALUE 0 md->queue->limits.max_user_sectors 0,8-u32max
PARAM_VALUE 0 md->queue->limits.physical_block_size 512-u32max
PARAM_VALUE 0 md->queue->limits.seg_boundary_mask 1-u64max
PARAM_VALUE 0 md->queue->limits.zone_write_granularity 512-u32max
PARAM_VALUE 0 md->queue->limits_lock.dep_map->name 0-255
PARAM_VALUE 0 md->queue->limits_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 md->queue->limits_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 md->queue->limits_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 md->queue->limits_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 md->queue->limits_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 md->queue->limits_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 md->queue->limits_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 md->suspend_lock.dep_map->name 0-255
PARAM_VALUE 0 md->suspend_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 md->suspend_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 md->suspend_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 md->suspend_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 md->suspend_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 md->suspend_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 md->suspend_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 md->suspend_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 *md->queue->crypto_profile->modes_supported 0-4294967295
PARAM_VALUE 1 swap 1
PARAM_VALUE 2 context 4096-ptr_max
PARAM_VALUE 2 *context->dev_name 0-255
PARAM_VALUE 2 *context->dev_uuid 0-255
CAPPED_DATA 0 md->io_barrier.srcu_ctrp 1
MEM_ZERO 0 &md->ima.inactive_table
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 md->queue->limits.max_hw_discard_sectors

drivers/md/dm-ioctl.c do_resume() -> dm_ima_measure_on_device_resume()

Type Parameter Key Value
PARAM_VALUE 0 md 4096-ptr_max
PARAM_VALUE 0 md->disk->part0->bd_fsfreeze_mutex.dep_map->name 0-255
PARAM_VALUE 0 md->disk->part0->bd_fsfreeze_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 md->disk->part0->bd_fsfreeze_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 md->disk->part0->bd_fsfreeze_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 md->disk->part0->bd_holder_lock.dep_map->name 0-255
PARAM_VALUE 0 md->disk->part0->bd_holder_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 md->disk->part0->bd_holder_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 md->disk->part0->bd_holder_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 md->disk->part0->bd_holder_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 md->disk->part0->bd_holder_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 md->disk->part0->bd_holder_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 md->interface_ptr 1-u64max
PARAM_VALUE 0 md->interface_ptr->md->ima.update_idx 0-4294967295
PARAM_VALUE 0 md->map 4096-ptr_max
PARAM_VALUE 0 md->map->num_targets 1-4294967295
PARAM_VALUE 0 md->queue->queue_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 md->queue->requeue_work->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 md->queue->requeue_work.work.entry.next->next 1-u64max
PARAM_VALUE 0 md->queue->requeue_work.work.entry.prev->next 1-u64max
PARAM_VALUE 0 md->queue->requeue_work.work.entry.prev->prev 1-u64max
PARAM_VALUE 0 md->suspend_lock.dep_map->name 0-255
PARAM_VALUE 0 md->suspend_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 md->suspend_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 md->suspend_lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 swap 0
PARAM_VALUE 2 context 4096-ptr_max
PARAM_VALUE 2 *context->dev_name 0-255
PARAM_VALUE 2 *context->dev_uuid 0-255
CAPPED_DATA 0 md->io_barrier.srcu_ctrp 1
CAPPED_DATA 0 md->map->num_targets 1
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 md->queue->limits.max_hw_discard_sectors