Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- arch/parisc/kernel/pdt.c, line 336
- drivers/base/memory.c
- mm/madvise.c, line 1476
- mm/memory-failure.c, line 2692
Smatch caller information:
mm/madvise.c madvise_inject_error() -> soft_offline_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flags | 1 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/memory-failure.c memory_failure_work_func() -> soft_offline_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flags | s32min-(-1),8-s32max |
| 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 soft_offline_page_store() -> soft_offline_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pfn | 0-4503599627370495 |
| PARAM_VALUE | 1 | flags | 0 |
| 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 |