Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../ras/ras_mgr/amdgpu_virt_ras_cmd.c amdgpu_virt_ras_get_cper_records() -> ras_cper_generate_cper()

Type Parameter Key Value
PARAM_VALUE 0 ras_core 4096-ptr_max
PARAM_VALUE 0 ras_core->dev 0,4096-ptr_max
PARAM_VALUE 0 ras_core->sys_fn->check_gpu_status 4096-ptr_max
PARAM_VALUE 0 ras_core->sys_fn->ras_notifier 4096-ptr_max
PARAM_VALUE 1 trace_list 4096-ptr_max
PARAM_VALUE 2 count 1-32
PARAM_VALUE 3 buf 4096-ptr_max
PARAM_VALUE 5 real_data_len 2268651067528474624
BUF_SIZE 1 trace_list 4864
BUF_SIZE 1 trace_list 4864
CAPPED_DATA 2 count 1
DATA_SOURCE 0 ras_core $0
DATA_SOURCE 1 trace_list r _kzalloc_noprof
DATA_SOURCE 2 count r amdgpu_virt_ras_get_batch_records
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 ras_core->dev->virt.fw_reserve.checksum_key 0-4294967295
HOST_DATA 0 ras_core->dev->virt.init_data_header.offset 0-4294967295
HOST_DATA 0 ras_core->dev->virt.init_data_header.size_kb 0-4294967295
NO_OVERFLOW_SIMPLE 2 count

drivers/gpu/drm/amd/amdgpu/../ras/core/cmd.c ras_cmd_get_cper_records() -> ras_cper_generate_cper()

Type Parameter Key Value
PARAM_VALUE 0 ras_core 4096-ptr_max
PARAM_VALUE 0 ras_core->ras_log_ring.last_del_batch_id 0-18446744073709551614
PARAM_VALUE 0 ras_core->ras_log_ring.mono_upward_batch_id 1-u64max
PARAM_VALUE 0 ras_core->ras_log_ring.spin_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 trace_list 4096-ptr_max
PARAM_VALUE 2 count 1-s32max
PARAM_VALUE 3 buf 4096-ptr_max
PARAM_VALUE 5 real_data_len 5880469271911161856
BUF_SIZE 1 trace_list 152
CAPPED_DATA 0 ras_core->ras_log_ring.last_del_batch_id 1
DATA_SOURCE 0 ras_core $0
DATA_SOURCE 1 trace_list r _kmalloc_array_noprof
DATA_SOURCE 2 count r ras_log_ring_get_batch_records
PARAM_COMPARE 0 ras_core->ras_log_ring.last_del_batch_id < $0->ras_log_ring.mono_upward_batch_id