Defined in 1 files as a prototype:
Defined in 10 files as a function:
- arch/arm/kernel/hibernate.c, line 41 (as a function)
- arch/arm64/kernel/hibernate.c, line 104 (as a function)
- arch/loongarch/power/hibernate.c, line 29 (as a function)
- arch/mips/power/cpu.c, line 27 (as a function)
- arch/powerpc/kernel/swsusp.c, line 28 (as a function)
- arch/riscv/kernel/hibernate.c, line 85 (as a function)
- arch/sh/kernel/swsusp.c, line 32 (as a function)
- arch/sparc/power/hibernate.c, line 36 (as a function)
- arch/x86/power/cpu.c, line 297 (as a function)
- arch/xtensa/kernel/hibernate.c, line 23 (as a function)
Referenced in 9 files:
- arch/sh/kernel/machine_kexec.c, line 125
- arch/x86/kernel/acpi/wakeup_32.S, line 88
- arch/x86/kernel/acpi/wakeup_64.S, line 132
- arch/x86/kernel/apm_32.c, line 1223
- arch/x86/kernel/machine_kexec_32.c, line 231
- arch/x86/kernel/machine_kexec_64.c, line 461
- arch/x86/platform/olpc/xo1-wakeup.S, line 111
- arch/x86/power/cpu.c, line 302
- kernel/power/hibernate.c
Smatch caller information:
arch/x86/kernel/machine_kexec_64.c machine_kexec() -> restore_processor_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| HALF_LOCKED2 | global &system_transition_mutex |
kernel/power/hibernate.c create_image() -> restore_processor_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &device_hotplug_lock | ||
| LOCK2 | global &system_transition_mutex | ||
| LOCK2 | irq |
kernel/power/hibernate.c resume_target_kernel() -> restore_processor_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &device_hotplug_lock | ||
| LOCK2 | global &system_transition_mutex | ||
| LOCK2 | irq |