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/../ras/core/cmd.c ras_cmd_get_batch_trace_records() -> ras_log_ring_get_batch_records()

Type Parameter Key Value
PARAM_VALUE 0 ras_core 4096-ptr_max
PARAM_VALUE 1 batch_id 0-18446744073709551614
PARAM_VALUE 2 log_arr 4096-ptr_max
PARAM_VALUE 3 arr_num 32
BUF_SIZE 2 log_arr 152
CAPPED_DATA 1 batch_id 1
CAPPED_DATA 1 batch_id 1
DATA_SOURCE 0 ras_core $0
DATA_SOURCE 2 log_arr r _kmalloc_array_noprof
NO_OVERFLOW_SIMPLE 3 arr_num

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

Type Parameter Key Value
PARAM_VALUE 0 ras_core 4096-ptr_max
PARAM_VALUE 1 batch_id 0-18446744073709551614
PARAM_VALUE 2 log_arr 4096-ptr_max
PARAM_VALUE 3 arr_num 32
BUF_SIZE 2 log_arr 152
CAPPED_DATA 1 batch_id 1
CAPPED_DATA 1 batch_id 1
DATA_SOURCE 0 ras_core $0
DATA_SOURCE 2 log_arr r _kmalloc_array_noprof
NO_OVERFLOW_SIMPLE 3 arr_num