Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a member:
Defined in 2 files as a function:
- arch/x86/kernel/cpu/mce/core.c, line 1718 (as a function)
- mm/memory-failure.c, line 2386 (as a function)
Referenced in 16 files:
- arch/parisc/kernel/pdt.c, line 334
- arch/powerpc/kernel/mce.c, line 313
- arch/powerpc/platforms/powernv/opal-memory-errors.c, line 50
- arch/x86/kernel/cpu/mce/core.c
- drivers/acpi/apei/ghes.c, line 494
- drivers/base/memory.c, line 640
- drivers/cxl/core/mce.c, line 44
- drivers/dax/fsdev.c, line 180
- drivers/edac/versalnet_edac.c, line 467
- drivers/nvdimm/pmem.c, line 460
- drivers/ras/amd/atl/umc.c, line 338
- include/linux/memremap.h, line 151
- mm/hwpoison-inject.c, line 140
- mm/madvise.c, line 1480
- mm/memory-failure.c
- tools/testing/selftests/mm/memory-failure.c
Smatch caller information:
mm/madvise.c madvise_inject_error() -> memory_failure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flags | 35 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/ras/amd/atl/umc.c _retire_row_mi300() -> memory_failure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pfn | 0-4503599627370495 |
| PARAM_VALUE | 1 | flags | 0 |
| NOCHECK_CALL |
drivers/acpi/apei/ghes.c memory_failure_cb() -> memory_failure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu |
arch/x86/kernel/cpu/mce/core.c kill_me_maybe() -> memory_failure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pfn | 0-1099511627775 |
| PARAM_VALUE | 1 | flags | 2,6 |
| FUZZY_MAX | 1 | flags | 2 |
| BIT_INFO | 1 | flags | 0x2,0x6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pfn | unit_page |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu |
arch/x86/kernel/cpu/mce/core.c kill_me_never() -> memory_failure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pfn | 0-1099511627775 |
| PARAM_VALUE | 1 | flags | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pfn | unit_page |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu |
arch/x86/kernel/cpu/mce/core.c uc_decode_notifier() -> memory_failure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pfn | 0-1099511627775 |
| PARAM_VALUE | 1 | flags | 0 |
| UNITS | 0 | pfn | unit_page |
drivers/cxl/core/mce.c cxl_handle_mce() -> memory_failure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pfn | 0-4503599627370495 |
| PARAM_VALUE | 1 | flags | 0 |
| CAPPED_DATA | 0 | pfn | 1 |
| CAPPED_DATA | 0 | pfn | 1 |
| UNITS | 0 | pfn | unit_page |
mm/hwpoison-inject.c hwpoison_inject() -> memory_failure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pfn | 0-4503599627370495 |
| PARAM_VALUE | 1 | flags | 32 |
| CAPPED_DATA | 0 | pfn | 1 |
| CAPPED_DATA | 0 | pfn | 1 |
| DATA_SOURCE | 0 | pfn | $1 |
| CAPABLE | 0 | 21 | |
| USER_DATA | 0 | pfn | 0-4503599627370495[c] |
| LOCK2 | &attr->mutex | ||
| TYPE_LOCK | (struct simple_attr)->mutex |
mm/memory-failure.c memory_failure_work_func() -> memory_failure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 0 | pfn | 0x0,0x0 |
| BIT_INFO | 1 | flags | 0x0,0x0 |
| NOCHECK_CALL | |||
| UNITS | 0 | pfn | unit_page |
| HALF_LOCKED2 | &pool->lock |
drivers/base/memory.c hard_offline_page_store() -> memory_failure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pfn | 0-4503599627370495 |
| PARAM_VALUE | 1 | flags | 32 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | pfn | 0-4503599627370495 |
| NO_OVERFLOW_SIMPLE | 0 | pfn | |
| UNITS | 0 | pfn | unit_page |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |