Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c smu_sys_get_gpu_metrics() -> smu_driver_table_is_valid()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
BUF_SIZE 0 table 120
BUF_SIZE 0 table 120
RX_PATH
TASK_NOT_RUNNING
LOCK2 &adev->pm.mutex
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct amdgpu_pm)->mutex
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c smu_sys_get_temp_metrics() -> smu_driver_table_is_valid()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &adev->pm.mutex
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct amdgpu_pm)->mutex
TYPE_LOCK (struct kernfs_open_file)->mutex