Home
last modified time | relevance | path

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

/linux/kernel/cgroup/
H A Dlegacy_freezer.c44 struct freezer { struct
51 static inline struct freezer *css_freezer(struct cgroup_subsys_state *css) in css_freezer() argument
53 return css ? container_of(css, struct freezer, css) : NULL; in css_freezer()
56 static inline struct freezer *task_freezer(struct task_struct *task) in task_freezer()
61 static struct freezer *parent_freezer(struct freezer *freezer) in parent_freezer() argument
63 return css_freezer(freezer->css.parent); in parent_freezer()
95 struct freezer *freezer; in freezer_css_alloc() local
97 freezer = kzalloc(sizeof(struct freezer), GFP_KERNEL); in freezer_css_alloc()
98 if (!freezer) in freezer_css_alloc()
101 return &freezer->css; in freezer_css_alloc()
[all …]
H A DMakefile2 obj-y := cgroup.o rstat.o namespace.o cgroup-v1.o freezer.o
H A Dcgroup.c3978 seq_printf(seq, "%d\n", cgrp->freezer.freeze); in cgroup_freeze_show()
5723 cgrp->freezer.e_freeze = parent->freezer.e_freeze; in cgroup_create()
5724 if (cgrp->freezer.e_freeze) { in cgroup_create()
5747 if (cgrp->freezer.e_freeze) in cgroup_create()
5748 tcgrp->freezer.nr_frozen_descendants++; in cgroup_create()
6025 tcgrp->freezer.nr_frozen_descendants--; in cgroup_destroy_locked()
/linux/Documentation/admin-guide/cgroup-v1/
H A Dfreezer-subsystem.rst5 The cgroup freezer is useful to batch job management system which start
9 whole. The cgroup freezer uses cgroups to describe the set of tasks to
13 The cgroup freezer will also be useful for checkpointing running groups
14 of tasks. The freezer allows the checkpoint code to obtain a consistent
51 In contrast, the cgroup freezer uses the kernel freezer code to
56 The cgroup freezer is hierarchical. Freezing a cgroup freezes all
62 The following cgroupfs files are created by cgroup freezer.
64 * freezer.state: Read-write.
87 * freezer.self_freezing: Read only.
90 This value is 1 iff the last write to freezer.state was "FROZEN".
[all …]
H A Dindex.rst16 freezer-subsystem
/linux/Documentation/power/
H A Dfreezing-of-tasks.rst33 in kernel/freezer.c), which changes the task's state to TASK_FROZEN, and makes
36 referred to as 'the freezer' (these functions are defined in
37 kernel/power/process.c, kernel/freezer.c & include/linux/freezer.h). User space
41 try_to_freeze() function (defined in include/linux/freezer.h), that checks
71 If a freezable kernel thread is not put to the frozen state after the freezer
241 consequence, the freezer would not be able to freeze that task, leading to
245 since they ask the freezer to skip freezing this task, since it is anyway
H A Dsuspend-and-cpuhotplug.rst17 interactions involving the freezer and CPU hotplug and also tries to explain
272 2. If a regular CPU hotplug stress test happens to race with the freezer due
278 * Then freezer gets to work and freezes userspace.
282 * Now the freezer continues and tries to freeze the remaining tasks. But
283 due to this wait mentioned above, the freezer won't be able to freeze
H A Dbasic-pm-debugging.rst52 freezer
105 should try the test modes starting from "freezer", through "devices", "platform"
109 If the "freezer" test fails, there is a task that cannot be frozen (in that case
112 that there is a problem with the tasks freezer subsystem that should be
224 Namely, after writing "freezer", "devices", "platform", "processors", or "core"
/linux/include/linux/
H A Dcgroup_subsys.h37 SUBSYS(freezer)
H A Dcgroup-defs.h562 struct cgroup_freezer_state freezer; member
/linux/
H A DKconfig12 source "kernel/Kconfig.freezer"
H A DMAINTAINERS9330 F: include/linux/freezer.h
9331 F: kernel/freezer.c
10157 F: include/linux/freezer.h
22612 F: include/linux/freezer.h
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dsdio.h194 struct brcmf_sdiod_freezer *freezer; member
/linux/kernel/
H A DMakefile56 obj-$(CONFIG_FREEZER) += freezer.o
/linux/kernel/power/
H A DKconfig12 bool "Enable freezer for suspend to RAM/standby" \
17 This allows you to turn off the freezer for suspend. If this is
/linux/Documentation/admin-guide/
H A Ddynamic-debug-howto.rst152 file kernel/freezer.c # ie column 1 of control file