/linux/Documentation/power/ ! |
H A D | freezing-of-tasks.rst | 7 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 115 Generally speaking, there is a couple of reasons to use the freezing of tasks: 137 freezing them earlier. [Of course, this also means that device drivers 144 example, be troublesome and without the freezing o [all...] |
H A D | index.rst | 15 freezing-of-tasks
|
H A D | basic-pm-debugging.rst | 53 - 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 D | suspend-and-cpuhotplug.rst | 277 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 D | swsusp.rst | 192 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/include/linux/ ! |
H A D | freezer.h | 16 extern bool pm_freezing; /* PM freezing in effect */ 17 extern bool pm_nosig_freezing; /* PM nosig freezing in effect */ 34 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/Documentation/admin-guide/cgroup-v1/ ! |
H A D | freezer-subsystem.rst | 68 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/Documentation/translations/zh_CN/power/ ! |
H A D | index.rst | 26 * freezing-of-tasks
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ ! |
H A D | bcmsdh.c | 55 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/fs/jffs2/ ! |
H A D | background.c | 122 while (signal_pending(current) || freezing(current)) { in jffs2_garbage_collect_thread()
|
/linux/fs/btrfs/ ! |
H A D | free-space-cache.h | 62 return fatal_signal_pending(current) || freezing(current); in btrfs_trim_interrupted()
|
/linux/fs/bcachefs/ ! |
H A D | movinggc.c | 226 if (kthread_should_stop() || freezing(current)) in bch2_copygc() 387 if (unlikely(freezing(current))) { in bch2_copygc_thread()
|
H A D | move.c | 571 freezing(current) || in bch2_move_ratelimit() 575 if (unlikely(freezing(current))) { in bch2_move_ratelimit()
|
/linux/drivers/char/tpm/st33zp24/ ! |
H A D | st33zp24.c | 229 if (ret == -ERESTARTSYS && freezing(current)) in wait_for_stat() 247 } while (ret == -ERESTARTSYS && freezing(current)); in wait_for_stat()
|
/linux/kernel/cgroup/ ! |
H A D | legacy_freezer.c | 28 * A cgroup is freezing if any FREEZING flags are set. FREEZING_SELF is 36 CGROUP_FREEZING_SELF = (1 << 1), /* this freezer is freezing */ 37 CGROUP_FREEZING_PARENT = (1 << 2), /* the parent freezer is freezing */ 103 * parent's freezing state while holding cpus read lock and freezer_mutex. 233 * update_if_frozen - update whether a cgroup finished freezing 239 * cgroups finished freezing and, if so, sets FROZEN. 278 if (freezing(task) && !frozen(task)) in update_if_frozen() 343 * freezing or thawing as necessary. 374 * freezer_change_state - change the freezing state of a cgroup_freezer
|
/linux/drivers/tty/serial/ ! |
H A D | max3100.c | 295 !freezing(current) && in max3100_work() 306 if (!s->force_end_work && !freezing(current) && !s->suspending) in max3100_dowork()
|
/linux/drivers/char/tpm/ ! |
H A D | xen-tpmfront.c | 85 if (rc == -ERESTARTSYS && freezing(current)) { in wait_for_tpm_stat()
|
H A D | tpm_tis_core.c | 103 if (rc == -ERESTARTSYS && freezing(current)) { in wait_for_tpm_stat() 216 if (rc == -ERESTARTSYS && freezing(current)) { in __tpm_tis_request_locality()
|
/linux/kernel/ ! |
H A D | kthread.c | 219 if (unlikely(freezing(current))) in kthread_freezable_should_stop() 1016 } else if (!freezing(current)) { in kthread_worker_fn()
|
/linux/Documentation/admin-guide/pm/ ! |
H A D | sleep-states.rst | 33 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
|
H A D | suspend-flows.rst | 74 resume, which can be much more precise than the freezing, so the latter is
|
/linux/kernel/time/ ! |
H A D | alarmtimer.c | 719 if (freezing(current)) in alarmtimer_do_nsleep()
|
/linux/Documentation/ABI/testing/ ! |
H A D | sysfs-power | 336 number of times freezing processes failed. 450 filesystems during system suspend (after freezing user space
|
/linux/fs/jfs/ ! |
H A D | jfs_txnmgr.c | 2752 if (freezing(current)) { in jfs_lazycommit() 2942 if (freezing(current)) { in jfs_sync()
|
/linux/kernel/power/ ! |
H A D | Kconfig | 27 Skip the kernel sys_sync() before freezing user processes.
|