Home
last modified time | relevance | path

Searched refs:freezer (Results 1 – 16 of 16) sorted by relevance

/Linux-v4.19/kernel/cgroup/
Dfreezer.c43 struct freezer { struct
50 static inline struct freezer *css_freezer(struct cgroup_subsys_state *css) in css_freezer() argument
52 return css ? container_of(css, struct freezer, css) : NULL; in css_freezer()
55 static inline struct freezer *task_freezer(struct task_struct *task) in task_freezer()
60 static struct freezer *parent_freezer(struct freezer *freezer) in parent_freezer() argument
62 return css_freezer(freezer->css.parent); in parent_freezer()
88 struct freezer *freezer; in freezer_css_alloc() local
90 freezer = kzalloc(sizeof(struct freezer), GFP_KERNEL); in freezer_css_alloc()
91 if (!freezer) in freezer_css_alloc()
94 return &freezer->css; in freezer_css_alloc()
[all …]
DMakefile4 obj-$(CONFIG_CGROUP_FREEZER) += freezer.o
/Linux-v4.19/Documentation/cgroup-v1/
Dfreezer-subsystem.txt1 The cgroup freezer is useful to batch job management system which start
5 whole. The cgroup freezer uses cgroups to describe the set of tasks to
9 The cgroup freezer will also be useful for checkpointing running groups
10 of tasks. The freezer allows the checkpoint code to obtain a consistent
47 In contrast, the cgroup freezer uses the kernel freezer code to
52 The cgroup freezer is hierarchical. Freezing a cgroup freezes all
58 The following cgroupfs files are created by cgroup freezer.
60 * freezer.state: Read-write.
83 * freezer.self_freezing: Read only.
86 This value is 1 iff the last write to freezer.state was "FROZEN".
[all …]
D00-INDEX13 freezer-subsystem.txt
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dbcmsdh.c792 sdiodev->freezer = kzalloc(sizeof(*sdiodev->freezer), GFP_KERNEL); in brcmf_sdiod_freezer_attach()
793 if (!sdiodev->freezer) in brcmf_sdiod_freezer_attach()
795 atomic_set(&sdiodev->freezer->thread_count, 0); in brcmf_sdiod_freezer_attach()
796 atomic_set(&sdiodev->freezer->freezing, 0); in brcmf_sdiod_freezer_attach()
797 init_waitqueue_head(&sdiodev->freezer->thread_freeze); in brcmf_sdiod_freezer_attach()
798 init_completion(&sdiodev->freezer->resumed); in brcmf_sdiod_freezer_attach()
804 if (sdiodev->freezer) { in brcmf_sdiod_freezer_detach()
805 WARN_ON(atomic_read(&sdiodev->freezer->freezing)); in brcmf_sdiod_freezer_detach()
806 kfree(sdiodev->freezer); in brcmf_sdiod_freezer_detach()
812 atomic_t *expect = &sdiodev->freezer->thread_count; in brcmf_sdiod_freezer_on()
[all …]
Dsdio.h196 struct brcmf_sdiod_freezer *freezer; member
/Linux-v4.19/Documentation/power/
Dfreezing-of-tasks.txt26 results in a call to __refrigerator() (defined in kernel/freezer.c), which sets
30 to as 'the freezer' (these functions are defined in kernel/power/process.c,
31 kernel/freezer.c & include/linux/freezer.h). User space processes are generally
35 try_to_freeze() function (defined in include/linux/freezer.h), that checks
41 wait_event_freezable_timeout() macros (defined in include/linux/freezer.h)
56 If a freezable kernel thread fails to call try_to_freeze() after the freezer has
218 state. As a consequence, the freezer would not be able to freeze that task,
222 since they ask the freezer to skip freezing this task, since it is anyway
Dsuspend-and-cpuhotplug.txt12 interactions involving the freezer and CPU hotplug and also tries to explain
259 2. If a regular CPU hotplug stress test happens to race with the freezer due
265 * Then freezer gets to work and freezes userspace.
269 * Now the freezer continues and tries to freeze the remaining tasks. But
270 due to this wait mentioned above, the freezer won't be able to freeze
Dbasic-pm-debugging.txt46 freezer
97 should try the test modes starting from "freezer", through "devices", "platform"
101 If the "freezer" test fails, there is a task that cannot be frozen (in that case
104 that there is a problem with the tasks freezer subsystem that should be
211 Namely, after writing "freezer", "devices", "platform", "processors", or "core"
/Linux-v4.19/include/linux/
Dcgroup_subsys.h37 SUBSYS(freezer)
/Linux-v4.19/
DKconfig14 source "kernel/Kconfig.freezer"
DMAINTAINERS5975 F: include/linux/freezer.h
5976 F: kernel/freezer.c
6563 F: include/linux/freezer.h
13966 F: include/linux/freezer.h
/Linux-v4.19/kernel/
DMakefile47 obj-$(CONFIG_FREEZER) += freezer.o
/Linux-v4.19/kernel/power/
DKconfig11 bool "Enable freezer for suspend to RAM/standby" \
16 This allows you to turn off the freezer for suspend. If this is
/Linux-v4.19/Documentation/admin-guide/
Ddynamic-debug-howto.rst166 file kernel/freezer.c
Dcgroup-v2.rst1910 type controllers such as freezer which can be useful in all