Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- arch/x86/kernel/cpu/mce/amd.c
- drivers/edac/amd64_edac.c, line 1047
- drivers/edac/mce_amd.c, line 745
- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c, line 4236
Smatch caller information:
drivers/edac/mce_amd.c decode_smca_error() -> smca_get_bank_type()
| Type | Parameter | Key | Value |
|---|
arch/x86/kernel/cpu/mce/amd.c amd_filter_mce() -> smca_get_bank_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu | 0-64 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | bank | 0,255 |
arch/x86/kernel/cpu/mce/amd.c disable_err_thresholding() -> smca_get_bank_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu | 0 |
| CAPPED_DATA | 1 | bank | 1 |
| DATA_SOURCE | 1 | bank | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/kernel/cpu/mce/amd.c get_name() -> smca_get_bank_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 1 | bank | 1 |
| DATA_SOURCE | 0 | cpu | $0 |
| DATA_SOURCE | 1 | bank | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | bank | |
| UNITS | 1 | bank | unit_array_size |
arch/x86/kernel/cpu/mce/amd.c smca_mce_is_memory_error() -> smca_get_bank_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | bank | 0[c] |
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c amdgpu_bad_page_notifier() -> smca_get_bank_type()
| Type | Parameter | Key | Value |
|---|
drivers/edac/amd64_edac.c fixup_node_id() -> smca_get_bank_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bank | 0-63 |