Defined in 2 files as a function:
- drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c, line 244 (as a function)
- drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c, line 269 (as a function)
Referenced in 2 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c, line 276
- drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c, line 301
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../ras/core/eeprom.c __write_table_header() -> __encode_table_header_to_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buf | 5160659819979186176 |
| BUF_SIZE | 1 | buf | 20 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c __write_table_header() -> __encode_table_header_to_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdr | 4096-ptr_max |
| PARAM_VALUE | 0 | hdr->checksum | 0-255 |
| PARAM_VALUE | 1 | buf | 6923820029311406080 |
| BUF_SIZE | 1 | buf | 20 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &control->ras_tbl_mutex | ||
| TYPE_LOCK | (struct amdgpu_ras_eeprom_control)->ras_tbl_mutex |