Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/platform/x86/amd/pmc/pmc.c amd_pmc_idlemask_read() -> pm_debug_messages_should_print()

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/platform/x86/amd/pmc/pmc.c amd_pmc_verify_czn_rtc() -> pm_debug_messages_should_print()

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/time/timekeeping_debug.c tk_debug_account_sleep_time() -> pm_debug_messages_should_print()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 flags
HALF_LOCKED2 irq

kernel/power/main.c pm_restore_gfp_mask() -> pm_debug_messages_should_print()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &system_transition_mutex
HALF_LOCKED2 global &device_hotplug_lock

kernel/power/main.c pm_restrict_gfp_mask() -> pm_debug_messages_should_print()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &system_transition_mutex
HALF_LOCKED2 global &device_hotplug_lock

kernel/power/snapshot.c swsusp_save() -> pm_debug_messages_should_print()

Type Parameter Key Value

kernel/power/snapshot.c swsusp_save() -> pm_debug_messages_should_print()

Type Parameter Key Value

kernel/power/snapshot.c swsusp_save() -> pm_debug_messages_should_print()

Type Parameter Key Value

kernel/power/snapshot.c swsusp_save() -> pm_debug_messages_should_print()

Type Parameter Key Value

drivers/base/syscore.c syscore_resume() -> pm_debug_messages_should_print()

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

drivers/base/syscore.c syscore_suspend() -> pm_debug_messages_should_print()

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

drivers/base/syscore.c syscore_suspend() -> pm_debug_messages_should_print()

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 enter_state() -> pm_debug_messages_should_print()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &system_transition_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &autosleep_lock

kernel/power/suspend.c enter_state() -> pm_debug_messages_should_print()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &system_transition_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &autosleep_lock

kernel/power/suspend.c enter_state() -> pm_debug_messages_should_print()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &system_transition_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &autosleep_lock

kernel/power/suspend.c s2idle_loop() -> pm_debug_messages_should_print()

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 s2idle_loop() -> pm_debug_messages_should_print()

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/platform/x86/pmc_atom.c pmc_dev_state_check() -> pm_debug_messages_should_print()

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/base/power/wakeup.c pm_print_active_wakeup_sources() -> pm_debug_messages_should_print()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &wakeup_srcu
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &autosleep_lock

drivers/base/power/wakeup.c pm_print_active_wakeup_sources() -> pm_debug_messages_should_print()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &wakeup_srcu
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &autosleep_lock

drivers/base/power/wakeup.c pm_system_irq_wakeup() -> pm_debug_messages_should_print()

Type Parameter Key Value
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &desc->lock
LOCK2 flags
LOCK2 global &wakeup_irq_lock
TYPE_LOCK (struct irq_desc)->lock

drivers/base/power/wakeup.c pm_wakeup_pending() -> pm_debug_messages_should_print()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &acpi_scan_lock
HALF_LOCKED2 global &cpu_add_remove_lock
HALF_LOCKED2 global &device_hotplug_lock
HALF_LOCKED2 global &s2idle_lock
HALF_LOCKED2 global &system_transition_mutex
HALF_LOCKED2 irq

drivers/base/power/wakeup.c wakeup_sources_bpf_init() -> pm_debug_messages_should_print()

Type Parameter Key Value

drivers/base/power/main.c dpm_show_time() -> pm_debug_messages_should_print()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &system_transition_mutex
HALF_LOCKED2 global &device_hotplug_lock

kernel/power/hibernate.c disk_store() -> pm_debug_messages_should_print()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 global &system_transition_mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

kernel/power/hibernate.c find_resume_device() -> pm_debug_messages_should_print()

Type Parameter Key Value

kernel/power/hibernate.c hibernate() -> pm_debug_messages_should_print()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &autosleep_lock
HALF_LOCKED2 global &system_transition_mutex

kernel/power/hibernate.c hibernate() -> pm_debug_messages_should_print()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &device_hotplug_lock
LOCK2 global &system_transition_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &autosleep_lock

kernel/power/hibernate.c hibernate() -> pm_debug_messages_should_print()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &device_hotplug_lock
LOCK2 global &system_transition_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &autosleep_lock

kernel/power/hibernate.c hibernate() -> pm_debug_messages_should_print()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &system_transition_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &autosleep_lock

kernel/power/hibernate.c load_image_and_restore() -> pm_debug_messages_should_print()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &system_transition_mutex
HALF_LOCKED2 &of->mutex

kernel/power/hibernate.c resume_store() -> pm_debug_messages_should_print()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

kernel/power/hibernate.c software_resume() -> pm_debug_messages_should_print()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex

kernel/power/hibernate.c software_resume() -> pm_debug_messages_should_print()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex

kernel/power/hibernate.c software_resume() -> pm_debug_messages_should_print()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &system_transition_mutex
HALF_LOCKED2 &of->mutex

kernel/power/hibernate.c software_resume() -> pm_debug_messages_should_print()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex

drivers/acpi/ec.c acpi_ec_dispatch_gpe() -> pm_debug_messages_should_print()

Type Parameter Key Value
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &first_ec->lock
LOCK2 global &system_transition_mutex
LOCK2 irq
HALF_LOCKED2 global &acpi_scan_lock
HALF_LOCKED2 global &device_hotplug_lock
TYPE_LOCK (struct acpi_ec)->lock

drivers/acpi/ec.c acpi_ec_dispatch_gpe() -> pm_debug_messages_should_print()

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/ec.c acpi_ec_dispatch_gpe() -> pm_debug_messages_should_print()

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_debug_messages_should_print()

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_debug_messages_should_print()

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_debug_messages_should_print()

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_debug_messages_should_print()

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_debug_messages_should_print()

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/pinctrl/pinctrl-amd.c amd_gpio_check_pending() -> pm_debug_messages_should_print()

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/pinctrl/pinctrl-amd.c amd_gpio_irq_set_wake() -> pm_debug_messages_should_print()

Type Parameter Key Value

drivers/pinctrl/pinctrl-amd.c amd_gpio_suspend_hibernate_common() -> pm_debug_messages_should_print()

Type Parameter Key Value
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &gpio_dev->lock
LOCK2 flags
HALF_LOCKED2 &dev->mutex
TYPE_LOCK (struct amd_gpio)->lock

drivers/pinctrl/pinctrl-amd.c amd_gpio_suspend_hibernate_common() -> pm_debug_messages_should_print()

Type Parameter Key Value
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &gpio_dev->lock
LOCK2 flags
HALF_LOCKED2 &dev->mutex
TYPE_LOCK (struct amd_gpio)->lock

drivers/pinctrl/pinctrl-amd.c do_amd_gpio_irq_handler() -> pm_debug_messages_should_print()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &system_transition_mutex