Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 5 files:

Smatch caller information:

kernel/power/user.c snapshot_ioctl() -> freeze_processes()

Type Parameter Key Value
CAPABLE 0 21
LOCK2 global &device_hotplug_lock
LOCK2 global &system_transition_mutex

kernel/kexec_core.c kernel_kexec() -> freeze_processes()

Type Parameter Key Value
LOCK2 global &system_transition_mutex

kernel/power/suspend.c suspend_freeze_processes() -> freeze_processes()

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

drivers/xen/manage.c do_suspend() -> freeze_processes()

Type Parameter Key Value
TASK_NOT_RUNNING
LOCK2 global &system_transition_mutex
LOCK2 global &xenwatch_mutex

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

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 hibernate_quiet_exec() -> freeze_processes()

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 software_resume() -> freeze_processes()

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