Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c s3_debug_store() -> dm_resume()

Type Parameter Key Value
PARAM_VALUE 0 md 4096-ptr_max
DATA_SOURCE 0 md r amdgpu_device_ip_get_ip_block
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/md/dm-ioctl.c dm_early_create() -> dm_resume()

Type Parameter Key Value
PARAM_VALUE 0 md 4096-ptr_max
PARAM_VALUE 0 md->disk->last_zone_capacity 0
PARAM_VALUE 0 md->disk->nr_zone_wplugs.counter 0
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->disk->private_data->device->request_queue->dev->power.deferred_resume 0-1
PARAM_VALUE 0 md->disk->private_data->device->request_queue->dev->power.idle_notification 0-1
PARAM_VALUE 0 md->disk->private_data->device->request_queue->dev->power.request 0-4294967295
PARAM_VALUE 0 md->disk->private_data->device->request_queue->dev->power.request_pending 0-1
PARAM_VALUE 0 md->disk->private_data->device->request_queue->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 md->disk->private_data->device->request_queue->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 md->disk->private_data->device->request_queue->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 md->disk->private_data->device->request_queue->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 md->disk->private_data->device->type 0-255
PARAM_VALUE 0 md->disk->private_data->io_barrier.dep_map->name 0-255
PARAM_VALUE 0 md->disk->private_data->nr_open_zones 0-4294967295
PARAM_VALUE 0 md->disk->private_data->queue->dev->power.deferred_resume 0-1
PARAM_VALUE 0 md->disk->private_data->queue->dev->power.idle_notification 0-1
PARAM_VALUE 0 md->disk->private_data->queue->dev->power.request 0-4294967295
PARAM_VALUE 0 md->disk->private_data->queue->dev->power.request_pending 0-1
PARAM_VALUE 0 md->disk->private_data->queue->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 md->disk->private_data->queue->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 md->disk->private_data->queue->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 md->disk->private_data->queue->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 md->disk->private_data->queue->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 md->disk->private_data->srcu.dep_map->name 0-255
PARAM_VALUE 0 md->disk->private_data->vdev_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 md->disk->private_data->vdev_mutex->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 md->disk->private_data->vdev_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 md->disk->private_data->vdev_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 md->disk->private_data->vdev_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 md->disk->private_data->vdev_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 md->disk->queue->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 md->disk->queue->io_lockdep_map->name 0-255
PARAM_VALUE 0 md->disk->queue->limits_lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 md->disk->queue->limits_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 md->disk->queue->limits_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 md->disk->queue->limits_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 md->disk->queue->limits_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 md->disk->queue->mq_freeze_lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 md->disk->queue->mq_freeze_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 md->disk->queue->mq_freeze_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 md->disk->queue->mq_freeze_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 md->disk->queue->mq_freeze_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 md->disk->queue->mq_freeze_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 md->disk->queue->mq_freeze_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 md->disk->queue->q_lockdep_map->name 0-255
PARAM_VALUE 0 md->disk->zone_capacity 0
PARAM_VALUE 0 md->disk->zone_wplugs_hash 0
PARAM_VALUE 0 md->disk->zone_wplugs_hash_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 md->disk->zone_wplugs_pool->elements 4096-ptr_max
PARAM_VALUE 0 md->disk->zone_wplugs_pool->min_nr 1-3999999
PARAM_VALUE 0 md->disk->zone_wplugs_pool->pool_data 248
PARAM_VALUE 0 md->disk->zone_wplugs_pool->wait.head.next 4096-ptr_max
PARAM_VALUE 0 md->disk->zone_wplugs_pool->wait.head.prev 4096-ptr_max
PARAM_VALUE 0 md->disk->zone_wplugs_worker 0
PARAM_VALUE 0 md->disk->zone_wplugs_wq 0,4096-ptr_max
PARAM_VALUE 0 md->disk->zone_wplugs_wq->flags 0-4294967295
PARAM_VALUE 0 md->disk->zone_wplugs_wq->flush_color s32min-s32max
PARAM_VALUE 0 md->disk->zone_wplugs_wq->nr_drainers s32min-s32max
PARAM_VALUE 0 md->disk->zone_wplugs_wq->nr_pwqs_to_flush.counter s32min-s32max
PARAM_VALUE 0 md->disk->zone_wplugs_wq->work_color s32min-s32max
PARAM_VALUE 0 md->disk->zones_cond 0,16,4096-ptr_max
PARAM_VALUE 0 md->event_nr.counter 0
PARAM_VALUE 0 md->ima.measure_idx 0
PARAM_VALUE 0 md->ima.update_idx 0
PARAM_VALUE 0 md->init_tio_pdu 0
PARAM_VALUE 0 md->interface_ptr 4096-ptr_max
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->kobj_holder.completion.done 0
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->open_count.counter 0
PARAM_VALUE 0 md->queue 0,4096-ptr_max
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->requeue_list 0
PARAM_VALUE 0 md->revalidate_map_task 0
PARAM_VALUE 0 md->stats.precise_timestamps 0
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->swap_bios 1-s32max
PARAM_VALUE 0 md->swap_bios_lock.first_waiter 0
PARAM_VALUE 0 md->swap_bios_lock.osq.tail.counter 0
PARAM_VALUE 0 md->swap_bios_lock.owner.counter 0
PARAM_VALUE 0 md->table_devices_lock.first_waiter 0
PARAM_VALUE 0 md->table_devices_lock.osq.tail.counter 0
PARAM_VALUE 0 md->table_devices_lock.owner.counter 0
PARAM_VALUE 0 md->type 0
PARAM_VALUE 0 md->type_lock.first_waiter 0
PARAM_VALUE 0 md->type_lock.osq.tail.counter 0
PARAM_VALUE 0 md->type_lock.owner.counter 0
PARAM_VALUE 0 md->uevent_seq.counter 0
PARAM_VALUE 0 md->zone_revalidate_map 0
PARAM_VALUE 0 *md->queue->crypto_profile->modes_supported 0-4294967295
NO_OVERFLOW_SIMPLE 0 md->queue->limits.max_hw_discard_sectors

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

Type Parameter Key Value
PARAM_VALUE 0 md 4096-ptr_max
PARAM_VALUE 0 *md->queue->crypto_profile->modes_supported 0-4294967295
NO_OVERFLOW_SIMPLE 0 md->queue->limits.max_hw_discard_sectors

drivers/gpu/drm/amd/amdgpu/amdgpu_ip.c amdgpu_ip_block_resume() -> (struct amd_ip_funcs)->resume()

Type Parameter Key Value
PARAM_VALUE 0 md 4096-ptr_max
PARAM_VALUE 0 md->version 4096-ptr_max
PARAM_VALUE 0 md->version->funcs 4096-ptr_max
PARAM_VALUE 0 md->version->funcs->resume 4096-ptr_max
PARAM_VALUE 0 md->version->type 0-17
DATA_SOURCE 0 md $0
CONTAINER 0 -88-16-8+0 $(-1)
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c gfx_v6_0_soft_reset() -> (struct amd_ip_funcs)->resume()

Type Parameter Key Value
PARAM_VALUE 0 md 4096-ptr_max
PARAM_VALUE 0 md->adev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 md->adev->reset_domain->sem.first_waiter->type 0-1
PARAM_VALUE 0 md->version 4096-ptr_max
PARAM_VALUE 0 md->version->funcs 4096-ptr_max
DATA_SOURCE 0 md $0
CONTAINER 0 -88-16-8+0 $(-1)

drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c gfx_v8_0_soft_reset() -> (struct amd_ip_funcs)->resume()

Type Parameter Key Value
PARAM_VALUE 0 md 4096-ptr_max
PARAM_VALUE 0 md->adev->gfx.num_compute_rings 0-s32max
PARAM_VALUE 0 md->adev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 md->adev->reset_domain->sem.first_waiter->type 0-1
PARAM_VALUE 0 md->version 4096-ptr_max
PARAM_VALUE 0 md->version->funcs 4096-ptr_max
PARAM_VALUE 0 md->version->funcs->soft_reset 4096-ptr_max
DATA_SOURCE 0 md $0
CONTAINER 0 -88-16-8+0 $(-1)
LOCK2 &adev->reset_domain->sem
LOCK2 global &drm_unplug_srcu
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct amdgpu_reset_domain)->sem

drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c gfx_v7_0_soft_reset() -> (struct amd_ip_funcs)->resume()

Type Parameter Key Value
PARAM_VALUE 0 md 4096-ptr_max
PARAM_VALUE 0 md->adev->gfx.num_compute_rings 0-s32max
PARAM_VALUE 0 md->adev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 md->adev->reset_domain->sem.first_waiter->type 0-1
PARAM_VALUE 0 md->version 4096-ptr_max
PARAM_VALUE 0 md->version->funcs 4096-ptr_max
PARAM_VALUE 0 md->version->funcs->soft_reset 4096-ptr_max
DATA_SOURCE 0 md $0
CONTAINER 0 -88-16-8+0 $(-1)
LOCK2 &adev->reset_domain->sem
LOCK2 global &drm_unplug_srcu
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct amdgpu_reset_domain)->sem