Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 12 files:

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