Home
last modified time | relevance | path

Searched refs:freezing (Results 1 – 25 of 43) sorted by relevance

12

/linux-6.15/Documentation/power/
H A Dfreezing-of-tasks.rst7 I. What is the freezing of tasks?
10 The freezing of tasks is a mechanism by which user space processes and some
28 indicate whether the system is to undergo a freezing operation. And
72 has initiated a freezing operation, the freezing of tasks will fail and the
83 Rationale behind the functions dealing with freezing and thawing of tasks
91 kernel threads without freezing userspace tasks
137 freezing them earlier. [Of course, this also means that device drivers
161 freezing user threads I don't find really objectionable."
182 V. Are there any problems related to the freezing of tasks?
224 VI. Are there any precautions to be taken to prevent freezing failures?
[all …]
H A Dindex.rst15 freezing-of-tasks
H A Dbasic-pm-debugging.rst53 - test the freezing of processes
56 - test the freezing of processes and suspending of devices
59 - test the freezing of processes, suspending of devices and platform
63 - test the freezing of processes, suspending of devices, platform
67 - test the freezing of processes, suspending of devices, platform global
77 /sys/power/pm_test (eg. "devices" to test the freezing of processes and
H A Dsuspend-and-cpuhotplug.rst277 into the kernel, since the freezing has not yet begun.
284 the cpu online hotplug task and hence freezing of tasks fails.
286 As a result of this task freezing failure, the suspend operation gets
H A Dswsusp.rst192 What is the freezing of tasks and why are we using it?
195 The freezing of tasks is a mechanism by which user space processes and some
197 some architectures). See freezing-of-tasks.txt for details.
/linux-6.15/include/linux/
H A Dfreezer.h34 static inline bool freezing(struct task_struct *p) in freezing() function
54 if (likely(!freezing(current))) in try_to_freeze()
75 static inline bool freezing(struct task_struct *p) { return false; } in freezing() function
/linux-6.15/kernel/
H A Dfreezer.c81 freeze = freezing(current) && !(check_kthr_stop && kthread_should_stop()); in __refrigerator()
168 if (!freezing(p) || frozen(p) || __freeze_task(p)) { in freeze_task()
207 if (WARN_ON_ONCE(freezing(p))) in __thaw_task()
H A Dkthread.c220 if (unlikely(freezing(current))) in kthread_freezable_should_stop()
1016 } else if (!freezing(current)) { in kthread_worker_fn()
/linux-6.15/Documentation/admin-guide/cgroup-v1/
H A Dfreezer-subsystem.rst68 If any is freezing, the cgroup is freezing (FREEZING or FROZEN).
78 if not already freezing, enters FREEZING state along with all its
83 the parent-state is still freezing. If a cgroup's effective state
84 becomes THAWED, all its descendants which are freezing because of
85 the cgroup also leave the freezing state.
/linux-6.15/Documentation/translations/zh_CN/power/
H A Dindex.rst26 * freezing-of-tasks
/linux-6.15/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dbcmsdh.c55 atomic_t freezing; member
801 atomic_set(&sdiodev->freezer->freezing, 0); in brcmf_sdiod_freezer_attach()
810 WARN_ON(atomic_read(&sdiodev->freezer->freezing)); in brcmf_sdiod_freezer_detach()
823 atomic_set(&sdiodev->freezer->freezing, 1); in brcmf_sdiod_freezer_on()
838 atomic_set(&sdiodev->freezer->freezing, 0); in brcmf_sdiod_freezer_off()
845 atomic_read(&sdiodev->freezer->freezing); in brcmf_sdiod_freezing()
/linux-6.15/fs/jffs2/
H A Dbackground.c122 while (signal_pending(current) || freezing(current)) { in jffs2_garbage_collect_thread()
/linux-6.15/kernel/power/
H A Dprocess.c101 if (p != current && freezing(p) && !frozen(p)) in try_to_freeze_tasks()
/linux-6.15/fs/btrfs/
H A Dfree-space-cache.h62 return fatal_signal_pending(current) || freezing(current); in btrfs_trim_interrupted()
/linux-6.15/fs/bcachefs/
H A Dmovinggc.c226 if (kthread_should_stop() || freezing(current)) in bch2_copygc()
383 if (unlikely(freezing(current))) { in bch2_copygc_thread()
H A Dmove.c508 freezing(current) || in bch2_move_ratelimit()
512 if (unlikely(freezing(current))) { in bch2_move_ratelimit()
/linux-6.15/drivers/char/tpm/st33zp24/
H A Dst33zp24.c229 if (ret == -ERESTARTSYS && freezing(current)) in wait_for_stat()
247 } while (ret == -ERESTARTSYS && freezing(current)); in wait_for_stat()
/linux-6.15/kernel/cgroup/
H A Dlegacy_freezer.c285 if (freezing(task) && !frozen(task)) in update_if_frozen()
/linux-6.15/drivers/tty/serial/
H A Dmax3100.c294 !freezing(current) && in max3100_work()
305 if (!s->force_end_work && !freezing(current) && !s->suspending) in max3100_dowork()
/linux-6.15/drivers/char/tpm/
H A Dxen-tpmfront.c85 if (rc == -ERESTARTSYS && freezing(current)) { in wait_for_tpm_stat()
H A Dtpm_tis_core.c103 if (rc == -ERESTARTSYS && freezing(current)) { in wait_for_tpm_stat()
216 if (rc == -ERESTARTSYS && freezing(current)) { in __tpm_tis_request_locality()
/linux-6.15/Documentation/admin-guide/pm/
H A Dsleep-states.rst33 runtime idle by freezing user space, suspending the timekeeping and putting all
57 In addition to freezing user space, suspending the timekeeping and putting all
/linux-6.15/kernel/time/
H A Dalarmtimer.c737 if (freezing(current)) in alarmtimer_do_nsleep()
/linux-6.15/fs/xfs/
H A Dxfs_discard.c336 return fatal_signal_pending(current) || freezing(current); in xfs_trim_should_stop()
/linux-6.15/Documentation/ABI/testing/
H A Dsysfs-power336 number of times freezing processes failed.
450 filesystems during system suspend (after freezing user space

12