Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/base/power/wakeup.c, line 871 (as a function)
- include/linux/suspend.h, line 512 (as a function)
Referenced in 12 files:
- block/blk-mq.c, line 3751
- drivers/acpi/ec.c, line 2225
- drivers/acpi/sleep.c
- drivers/base/power/main.c
- drivers/base/power/wakeup.c, line 893
- drivers/base/syscore.c, line 56
- drivers/thermal/intel/intel_pch_thermal.c, line 317
- kernel/cpu.c, line 1911
- kernel/power/hibernate.c
- kernel/power/main.c, line 141
- kernel/power/process.c, line 69
- kernel/power/suspend.c
Smatch caller information:
block/blk-mq.c blk_mq_hctx_notify_offline() -> pm_wakeup_pending()
| Type | Parameter | Key | Value |
|---|
kernel/power/main.c pm_sleep_fs_sync() -> pm_wakeup_pending()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | global &device_hotplug_lock |
drivers/base/syscore.c syscore_suspend() -> pm_wakeup_pending()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | irq |
kernel/power/suspend.c s2idle_enter() -> pm_wakeup_pending()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &s2idle_lock | ||
| LOCK2 | global &system_transition_mutex | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock |
kernel/power/suspend.c s2idle_loop() -> pm_wakeup_pending()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock |
kernel/power/suspend.c suspend_enter() -> pm_wakeup_pending()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &system_transition_mutex | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock |
kernel/power/suspend.c suspend_test() -> pm_wakeup_pending()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | irq |
kernel/power/suspend.c suspend_test() -> pm_wakeup_pending()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | irq |
kernel/cpu.c freeze_secondary_cpus() -> pm_wakeup_pending()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &cpu_add_remove_lock | ||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | global &device_hotplug_lock |
drivers/thermal/intel/intel_pch_thermal.c intel_pch_thermal_suspend_noirq() -> pm_wakeup_pending()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/power/process.c try_to_freeze_tasks() -> pm_wakeup_pending()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &xenwatch_mutex |
drivers/base/power/main.c device_suspend() -> pm_wakeup_pending()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &system_transition_mutex |
drivers/base/power/main.c device_suspend_late() -> pm_wakeup_pending()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &system_transition_mutex |
kernel/power/hibernate.c create_image() -> pm_wakeup_pending()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &device_hotplug_lock | ||
| LOCK2 | global &system_transition_mutex | ||
| LOCK2 | irq |
kernel/power/hibernate.c hibernation_platform_enter() -> pm_wakeup_pending()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &acpi_scan_lock | ||
| LOCK2 | global &device_hotplug_lock | ||
| LOCK2 | global &system_transition_mutex | ||
| LOCK2 | irq |
drivers/acpi/ec.c acpi_ec_dispatch_gpe() -> pm_wakeup_pending()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock |
drivers/acpi/sleep.c acpi_s2idle_wake() -> pm_wakeup_pending()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock |
drivers/acpi/sleep.c acpi_s2idle_wake() -> pm_wakeup_pending()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock |
drivers/acpi/sleep.c acpi_s2idle_wake() -> pm_wakeup_pending()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock |
drivers/acpi/sleep.c acpi_s2idle_wake() -> pm_wakeup_pending()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock |