Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../ras/ras_mgr/amdgpu_ras_cmd.c amdgpu_ras_handle_cmd() -> (struct ras_cmd_func_map)->func()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ras_core | 4096-ptr_max |
| PARAM_VALUE | 0 | ras_core->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ras_core->ras_core_enabled | 1 |
| PARAM_VALUE | 0 | ras_core->sys_fn | 0,4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->cmd_id | 3-6,11-12,16-18 |
| PARAM_VALUE | 1 | cmd->cmd_res | 3 |
| PARAM_VALUE | 1 | cmd->input_size | 8,32,40,48,72 |
| PARAM_VALUE | 1 | cmd->output_buf_size | 3792 |
| PARAM_VALUE | 1 | cmd->output_size | 0 |
| PARAM_VALUE | 2 | data | 0 |
| BUF_SIZE | 1 | cmd | 4096 |
| BUF_SIZE | 1 | cmd | 4096 |
| CAPPED_DATA | 1 | cmd->cmd_id | 1 |
| DATA_SOURCE | 0 | ras_core | $0 |
| DATA_SOURCE | 1 | cmd | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/amd/amdgpu/../ras/ras_mgr/amdgpu_virt_ras_cmd.c amdgpu_virt_ras_handle_cmd() -> (struct ras_cmd_func_map)->func()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ras_core | 4096-ptr_max |
| PARAM_VALUE | 0 | ras_core->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->cmd_id | 3-6,11-12,16-18 |
| PARAM_VALUE | 1 | cmd->cmd_res | 3 |
| PARAM_VALUE | 1 | cmd->input_size | 8,32,40,48,72 |
| PARAM_VALUE | 1 | cmd->output_buf_size | 3792 |
| PARAM_VALUE | 1 | cmd->output_size | 0 |
| PARAM_VALUE | 2 | data | 0 |
| BUF_SIZE | 1 | cmd | 4096 |
| BUF_SIZE | 1 | cmd | 4096 |
| CAPPED_DATA | 1 | cmd->cmd_id | 1 |
| DATA_SOURCE | 0 | ras_core | $0 |
| DATA_SOURCE | 1 | cmd | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/amd/amdgpu/../ras/core/cmd.c rascore_handle_cmd() -> (struct ras_cmd_func_map)->func()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ras_core | 4096-ptr_max |
| PARAM_VALUE | 0 | ras_core->ras_umc.ip_func->mca_ipid_parse | 4096-ptr_max |
| PARAM_VALUE | 0 | ras_core->sys_fn->check_gpu_status | 4096-ptr_max |
| PARAM_VALUE | 0 | ras_core->sys_fn->detect_ras_interrupt | 4096-ptr_max |
| PARAM_VALUE | 0 | ras_core->sys_fn->get_device_system_info | 4096-ptr_max |
| PARAM_VALUE | 0 | ras_core->sys_fn->get_gpu_mem | 1-u64max |
| PARAM_VALUE | 0 | ras_core->sys_fn->gpu_reset_lock | 4096-ptr_max |
| PARAM_VALUE | 0 | ras_core->sys_fn->put_gpu_mem | 4096-ptr_max |
| PARAM_VALUE | 0 | ras_core->sys_fn->ras_notifier | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->cmd_id | 3-9,11-14 |
| BUF_SIZE | 1 | cmd | (-1),392,4096 |
| BUF_SIZE | 1 | cmd | (-1),392,4096 |
| CAPPED_DATA | 1 | cmd->cmd_id | 1 |
| DATA_SOURCE | 0 | ras_core | $0 |
| DATA_SOURCE | 1 | cmd | $1 |
| DATA_SOURCE | 2 | data | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |