Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/kernel/cgroup/
Dlegacy_freezer.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 …]
Dfreezer.c26 cgrp->freezer.nr_frozen_descendants += desc; in cgroup_propagate_frozen()
29 cgrp->freezer.nr_frozen_descendants == in cgroup_propagate_frozen()
37 cgrp->freezer.nr_frozen_descendants -= desc; in cgroup_propagate_frozen()
64 cgrp->freezer.nr_frozen_tasks == __cgroup_task_count(cgrp); in cgroup_update_frozen()
91 cgrp->freezer.nr_frozen_tasks++; in cgroup_inc_frozen_cnt()
99 cgrp->freezer.nr_frozen_tasks--; in cgroup_dec_frozen_cnt()
100 WARN_ON_ONCE(cgrp->freezer.nr_frozen_tasks < 0); in cgroup_dec_frozen_cnt()
213 if (cgrp->nr_descendants == cgrp->freezer.nr_frozen_descendants) in cgroup_do_freeze()
271 if (cgrp->freezer.freeze == freeze) in cgroup_freeze()
274 cgrp->freezer.freeze = freeze; in cgroup_freeze()
[all …]
DMakefile2 obj-y := cgroup.o rstat.o namespace.o cgroup-v1.o freezer.o
Dcgroup.c3731 seq_printf(seq, "%d\n", cgrp->freezer.freeze); in cgroup_freeze_show()
5335 cgrp->freezer.e_freeze = parent->freezer.e_freeze; in cgroup_create()
5336 if (cgrp->freezer.e_freeze) { in cgroup_create()
5359 if (cgrp->freezer.e_freeze) in cgroup_create()
5360 tcgrp->freezer.nr_frozen_descendants++; in cgroup_create()
5642 tcgrp->freezer.nr_frozen_descendants--; in cgroup_destroy_locked()
/kernel/linux/linux-5.10/Documentation/admin-guide/cgroup-v1/
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 …]
Dindex.rst16 freezer-subsystem
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dbcmsdh.c789 sdiodev->freezer = kzalloc(sizeof(*sdiodev->freezer), GFP_KERNEL); in brcmf_sdiod_freezer_attach()
790 if (!sdiodev->freezer) in brcmf_sdiod_freezer_attach()
792 atomic_set(&sdiodev->freezer->thread_count, 0); in brcmf_sdiod_freezer_attach()
793 atomic_set(&sdiodev->freezer->freezing, 0); in brcmf_sdiod_freezer_attach()
794 init_waitqueue_head(&sdiodev->freezer->thread_freeze); in brcmf_sdiod_freezer_attach()
795 init_completion(&sdiodev->freezer->resumed); in brcmf_sdiod_freezer_attach()
801 if (sdiodev->freezer) { in brcmf_sdiod_freezer_detach()
802 WARN_ON(atomic_read(&sdiodev->freezer->freezing)); in brcmf_sdiod_freezer_detach()
803 kfree(sdiodev->freezer); in brcmf_sdiod_freezer_detach()
809 atomic_t *expect = &sdiodev->freezer->thread_count; in brcmf_sdiod_freezer_on()
[all …]
Dsdio.h191 struct brcmf_sdiod_freezer *freezer; member
/kernel/linux/linux-5.10/Documentation/power/
Dfreezing-of-tasks.rst31 results in a call to __refrigerator() (defined in kernel/freezer.c), which sets
35 to as 'the freezer' (these functions are defined in kernel/power/process.c,
36 kernel/freezer.c & include/linux/freezer.h). User space processes are generally
40 try_to_freeze() function (defined in include/linux/freezer.h), that checks
46 wait_event_freezable_timeout() macros (defined in include/linux/freezer.h)
61 If a freezable kernel thread fails to call try_to_freeze() after the freezer has
230 consequence, the freezer would not be able to freeze that task, leading to
234 since they ask the freezer to skip freezing this task, since it is anyway
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
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"
/kernel/linux/linux-5.10/include/linux/
Dcgroup_subsys.h37 SUBSYS(freezer)
Dcgroup-defs.h484 struct cgroup_freezer_state freezer; member
/kernel/linux/linux-5.10/
DKconfig12 source "kernel/Kconfig.freezer"
DMAINTAINERS7162 F: include/linux/freezer.h
7163 F: kernel/freezer.c
7853 F: include/linux/freezer.h
16775 F: include/linux/freezer.h
/kernel/linux/linux-5.10/kernel/
DMakefile55 obj-$(CONFIG_FREEZER) += freezer.o
/kernel/linux/linux-5.10/kernel/power/
DKconfig12 bool "Enable freezer for suspend to RAM/standby" \
17 This allows you to turn off the freezer for suspend. If this is
/kernel/linux/linux-5.10/Documentation/admin-guide/
Ddynamic-debug-howto.rst175 file kernel/freezer.c # ie column 1 of control file
Dcgroup-v2.rst2409 type controllers such as freezer which can be useful in all
/kernel/linux/patches/linux-5.10/zhiyuan_patch/
Dkernel.patch46 source "kernel/Kconfig.freezer"
1079 +#include <linux/freezer.h>
1299 +#include <linux/freezer.h>
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dinclude.patch1471 diff --git a/include/linux/freezer.h b/include/linux/freezer.h
1473 --- a/include/linux/freezer.h
1474 +++ b/include/linux/freezer.h
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0016_linux_drivers_crypto.patch10326 +#include <linux/freezer.h>
D0020_linux_drivers_gpu.patch3621 +#include <linux/freezer.h>
/kernel/liteos_a/fs/jffs2/
Djffs2.patch355 -#include <linux/freezer.h>
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0009_linux_sound.patch10584 +#include <linux/freezer.h>

12