Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c, line 1286
- drivers/gpu/drm/amd/ras/rascore/ras_core.c, line 279
- drivers/gpu/drm/amd/ras/rascore/ras_umc.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../ras/core/core.c ras_core_eeprom_recovery() -> ras_eeprom_get_record_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ras_core | 4096-ptr_max |
| DATA_SOURCE | 0 | ras_core | $0 |
drivers/gpu/drm/amd/amdgpu/../ras/core/ras_umc.c ras_umc_load_bad_pages() -> ras_eeprom_get_record_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ras_core | 4096-ptr_max |
| PARAM_VALUE | 0 | ras_core->ras_eeprom.ras_num_recs | 0-10921 |
| DATA_SOURCE | 0 | ras_core | $0 |
| FUZZY_MAX | 0 | ras_core->ras_eeprom.ras_num_recs | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/../ras/core/ras_umc.c ras_umc_save_bad_pages() -> ras_eeprom_get_record_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ras_core | 4096-ptr_max |
| DATA_SOURCE | 0 | ras_core | $0 |
drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c amdgpu_ras_debugfs_table_read_uniras() -> ras_eeprom_get_record_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ras_core | 4096-ptr_max |