Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_pm.c amdgpu_get_gpu_metrics() -> amdgpu_dpm_get_gpu_metrics()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->dev->power.child_count.counter 1-s32max
PARAM_VALUE 0 adev->dev->power.ignore_children 0
PARAM_VALUE 0 adev->in_suspend 0
PARAM_VALUE 0 adev->init_lvl 4096-ptr_max
PARAM_VALUE 0 adev->init_lvl->level 0
PARAM_VALUE 0 adev->reset_domain 4096-ptr_max
PARAM_VALUE 1 buf 1-u64max
PARAM_VALUE 2 size 4095
DATA_SOURCE 0 adev r drm_to_adev
DATA_SOURCE 1 buf $2
RX_PATH
TASK_NOT_RUNNING
UNITS 2 size unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex