Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../ras/core/eeprom.c ras_eeprom_append_table() -> __ras_eeprom_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | control | 4096-ptr_max |
| PARAM_VALUE | 0 | control->ras_max_record_count | 1-u32max |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| BUF_SIZE | 1 | buf | 24 |
| BUF_SIZE | 1 | buf | 24 |
| CAPPED_DATA | 3 | num | 1 |
| DATA_SOURCE | 0 | control | $0 |
| DATA_SOURCE | 1 | buf | r _kmalloc_array_noprof |
| DATA_SOURCE | 3 | num | $2 |
| NO_OVERFLOW_SIMPLE | 3 | num |
drivers/gpu/drm/amd/amdgpu/../ras/core/eeprom.c ras_eeprom_append_table() -> __ras_eeprom_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | control | 4096-ptr_max |
| PARAM_VALUE | 0 | control->ras_max_record_count | 1-u32max |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | fri | 0-4294967294 |
| PARAM_VALUE | 3 | num | 1-u32max |
| BUF_SIZE | 1 | buf | 24 |
| BUF_SIZE | 1 | buf | 24 |
| CAPPED_DATA | 0 | control->ras_max_record_count | 1 |
| CAPPED_DATA | 2 | fri | 1 |
| CAPPED_DATA | 3 | num | 1 |
| DATA_SOURCE | 0 | control | $0 |
| DATA_SOURCE | 1 | buf | r _kmalloc_array_noprof |
| PARAM_COMPARE | 2 | fri | < $0->ras_max_record_count |
drivers/gpu/drm/amd/amdgpu/../ras/core/eeprom.c ras_eeprom_append_table() -> __ras_eeprom_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | control | 4096-ptr_max |
| PARAM_VALUE | 0 | control->ras_max_record_count | 1-u32max |
| PARAM_VALUE | 2 | fri | 0 |
| CAPPED_DATA | 0 | control->ras_max_record_count | 1 |
| CAPPED_DATA | 3 | num | 1 |
| DATA_SOURCE | 0 | control | $0 |
drivers/gpu/drm/amd/amdgpu/../ras/core/eeprom.c ras_eeprom_append_table() -> __ras_eeprom_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | control | 4096-ptr_max |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| BUF_SIZE | 1 | buf | 24 |
| BUF_SIZE | 1 | buf | 24 |
| CAPPED_DATA | 0 | control->ras_max_record_count | 1 |
| CAPPED_DATA | 2 | fri | 1 |
| CAPPED_DATA | 3 | num | 1 |
| DATA_SOURCE | 0 | control | $0 |
| DATA_SOURCE | 1 | buf | r _kmalloc_array_noprof |
| DATA_SOURCE | 3 | num | $2 |
| NO_OVERFLOW_SIMPLE | 3 | num |
drivers/gpu/drm/amd/amdgpu/../ras/core/eeprom.c ras_eeprom_append_table() -> __ras_eeprom_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | control | 4096-ptr_max |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | fri | 1-u32max |
| BUF_SIZE | 1 | buf | 24 |
| BUF_SIZE | 1 | buf | 24 |
| CAPPED_DATA | 0 | control->ras_max_record_count | 1 |
| DATA_SOURCE | 0 | control | $0 |
| DATA_SOURCE | 1 | buf | r _kmalloc_array_noprof |
drivers/gpu/drm/amd/amdgpu/../ras/core/eeprom.c ras_eeprom_append_table() -> __ras_eeprom_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | control | 4096-ptr_max |
| PARAM_VALUE | 2 | fri | 0 |
| PARAM_VALUE | 3 | num | 1-u32max |
| CAPPED_DATA | 0 | control->ras_max_record_count | 1 |
| CAPPED_DATA | 3 | num | 1 |
| DATA_SOURCE | 0 | control | $0 |