Defined in 2 files as a function:
- drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c, line 301 (as a function)
- drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c, line 324 (as a function)
Referenced in 2 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c, line 339
- drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c, line 362
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../ras/core/eeprom.c __write_table_ras_info() -> __encode_table_ras_info_to_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rai | 4096-ptr_max |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| BUF_SIZE | 1 | buf | 256 |
| BUF_SIZE | 1 | buf | 256 |
| DATA_SOURCE | 1 | buf | r _kzalloc_noprof |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c __write_table_ras_info() -> __encode_table_ras_info_to_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rai | 4096-ptr_max |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| BUF_SIZE | 1 | buf | 256 |
| BUF_SIZE | 1 | buf | 256 |
| DATA_SOURCE | 1 | buf | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &control->ras_tbl_mutex | ||
| TYPE_LOCK | (struct amdgpu_ras_eeprom_control)->ras_tbl_mutex |