Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- arch/arm64/kernel/hibernate.c
- arch/riscv/kernel/hibernate.c
- arch/x86/power/hibernate.c, line 162
- arch/x86/power/hibernate_32.c
- arch/x86/power/hibernate_64.c
Smatch caller information:
arch/x86/power/hibernate.c relocate_restore_code() -> get_safe_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp_mask | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &device_hotplug_lock | ||
| LOCK2 | global &system_transition_mutex | ||
| LOCK2 | irq |
arch/x86/power/hibernate_64.c alloc_pgt_page() -> get_safe_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp_mask | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | irq |
arch/x86/power/hibernate_64.c set_up_temporary_mappings() -> get_safe_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp_mask | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &device_hotplug_lock | ||
| LOCK2 | global &system_transition_mutex | ||
| LOCK2 | irq |
arch/x86/power/hibernate_64.c set_up_temporary_text_mapping() -> get_safe_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp_mask | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &device_hotplug_lock | ||
| LOCK2 | global &system_transition_mutex | ||
| LOCK2 | irq |
arch/x86/power/hibernate_64.c set_up_temporary_text_mapping() -> get_safe_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp_mask | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &device_hotplug_lock | ||
| LOCK2 | global &system_transition_mutex | ||
| LOCK2 | irq |
arch/x86/power/hibernate_64.c set_up_temporary_text_mapping() -> get_safe_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp_mask | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &device_hotplug_lock | ||
| LOCK2 | global &system_transition_mutex | ||
| LOCK2 | irq |