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/../amdkfd/kfd_device.c kgd2kfd_post_reset() -> kfd_smi_event_update_gpu_reset()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->sram_ecc_flag.counter 0
PARAM_VALUE 1 post_reset 1
PARAM_VALUE 2 reset_context 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &hive->hive_lock
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device.c kgd2kfd_pre_reset() -> kfd_smi_event_update_gpu_reset()

Type Parameter Key Value
PARAM_VALUE 1 post_reset 0
PARAM_VALUE 2 reset_context 4096-ptr_max
PARAM_VALUE 2 reset_context->flags 0
PARAM_VALUE 2 reset_context->job 0,4096-ptr_max
PARAM_VALUE 2 reset_context->method (-1)-0,3
PARAM_VALUE 2 reset_context->reset_device_list 0,4153671307812945920,6958129947341881344
PARAM_VALUE 2 reset_context->reset_req_dev 0,4096-ptr_max
PARAM_VALUE 2 reset_context->src 0-6
BUF_SIZE 2 reset_context->hive (-1)-0,848
DATA_SOURCE 2 reset_context $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &hive->hive_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tmp_adev->reset_domain->sem