Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- arch/x86/kernel/cpu/mce/apei.c, line 234
- drivers/acpi/apei/erst-dbg.c, line 97
- drivers/acpi/apei/erst.c
- drivers/ras/amd/fmpm.c, line 678
Smatch caller information:
drivers/ras/amd/fmpm.c get_saved_records() -> erst_get_record_id_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pos | 977901294343213056 |
| PARAM_VALUE | 0 | *pos | (-1)-s32max |
| PARAM_VALUE | 1 | record_id | 438080156486299648 |
drivers/ras/amd/fmpm.c get_saved_records() -> erst_get_record_id_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pos | 977901294343213056 |
| PARAM_VALUE | 0 | *pos | (-1),1-s32max |
| PARAM_VALUE | 1 | record_id | 438080156486299648 |
| PARAM_VALUE | 1 | *record_id | 0-18446744073709551614 |
drivers/acpi/apei/erst-dbg.c erst_dbg_read() -> erst_get_record_id_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pos | 4096-ptr_max |
| PARAM_VALUE | 1 | record_id | 5206787063498178560 |
| BUF_SIZE | 0 | pos | 8 |
| BUF_SIZE | 0 | pos | 8 |
| LOCK2 | global &erst_dbg_mutex |
arch/x86/kernel/cpu/mce/apei.c apei_read_mce() -> erst_get_record_id_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pos | 4645754483984769024 |
| PARAM_VALUE | 0 | *pos | (-1)-s32max |
| PARAM_VALUE | 1 | record_id | 9119560370311446528 |
| DATA_SOURCE | 1 | record_id | $1 |
| LOCK2 | global &mce_chrdev_read_mutex |
drivers/acpi/apei/erst.c erst_reader() -> erst_get_record_id_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pos | 6138995441068748800 |
| PARAM_VALUE | 0 | *pos | (-1)-s32max |
| PARAM_VALUE | 1 | record_id | 3815707504613277696 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &psi->read_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &efivars_lock | ||
| HALF_LOCKED2 | global &psinfo_lock | ||
| TYPE_LOCK | (struct pstore_info)->read_mutex |