/linux/kernel/cgroup/ |
A D | legacy_freezer.c | 60 static struct freezer *parent_freezer(struct freezer *freezer) in parent_freezer() argument 88 struct freezer *freezer; in freezer_css_alloc() local 107 struct freezer *freezer = css_freezer(css); in freezer_css_online() local 108 struct freezer *parent = parent_freezer(freezer); in freezer_css_online() 132 struct freezer *freezer = css_freezer(css); in freezer_css_offline() local 176 struct freezer *freezer = css_freezer(new_css); in freezer_attach() local 185 freezer = parent_freezer(freezer); in freezer_attach() 205 struct freezer *freezer; in freezer_fork() local 246 struct freezer *freezer = css_freezer(css); in update_if_frozen() local 440 struct freezer *freezer = css_freezer(css); in freezer_self_freezing_read() local [all …]
|
A D | freezer.c | 26 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() 91 cgrp->freezer.nr_frozen_tasks++; in cgroup_inc_frozen_cnt() 99 cgrp->freezer.nr_frozen_tasks--; in cgroup_dec_frozen_cnt() 271 if (cgrp->freezer.freeze == freeze) in cgroup_freeze() 274 cgrp->freezer.freeze = freeze; in cgroup_freeze() 286 dsct->freezer.e_freeze++; in cgroup_freeze() 290 if (dsct->freezer.e_freeze > 1) in cgroup_freeze() 293 dsct->freezer.e_freeze--; in cgroup_freeze() [all …]
|
A D | built-in.a | 7 freezer.o/
|
A D | Makefile | 2 obj-y := cgroup.o rstat.o namespace.o cgroup-v1.o freezer.o
|
A D | .built-in.a.cmd | 1 …stat.o kernel/cgroup/namespace.o kernel/cgroup/cgroup-v1.o kernel/cgroup/freezer.o kernel/cgroup/p…
|
A D | .freezer.o.cmd | 1 …freezer.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/bin/… 3 source_kernel/cgroup/freezer.o := kernel/cgroup/freezer.c 5 deps_kernel/cgroup/freezer.o := \ 1140 kernel/cgroup/freezer.o: $(deps_kernel/cgroup/freezer.o) 1142 $(deps_kernel/cgroup/freezer.o):
|
A D | cgroup.c | 3712 seq_printf(seq, "%d\n", cgrp->freezer.freeze); in cgroup_freeze_show() 5388 cgrp->freezer.e_freeze = parent->freezer.e_freeze; in cgroup_create() 5389 if (cgrp->freezer.e_freeze) { in cgroup_create() 5412 if (cgrp->freezer.e_freeze) in cgroup_create() 5413 tcgrp->freezer.nr_frozen_descendants++; in cgroup_create() 5694 tcgrp->freezer.nr_frozen_descendants--; in cgroup_destroy_locked()
|
/linux/Documentation/admin-guide/cgroup-v1/ |
A D | freezer-subsystem.rst | 51 In contrast, the cgroup freezer uses the kernel freezer code to 64 * freezer.state: Read-write. 87 * freezer.self_freezing: Read only. 102 # mkdir /sys/fs/cgroup/freezer 103 # mount -t cgroup -ofreezer freezer /sys/fs/cgroup/freezer 109 # cat /sys/fs/cgroup/freezer/0/freezer.state 114 # echo FROZEN > /sys/fs/cgroup/freezer/0/freezer.state 115 # cat /sys/fs/cgroup/freezer/0/freezer.state 117 # cat /sys/fs/cgroup/freezer/0/freezer.state 122 # echo THAWED > /sys/fs/cgroup/freezer/0/freezer.state [all …]
|
A D | index.rst | 16 freezer-subsystem
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
A D | bcmsdh.c | 790 sdiodev->freezer = kzalloc(sizeof(*sdiodev->freezer), GFP_KERNEL); in brcmf_sdiod_freezer_attach() 791 if (!sdiodev->freezer) in brcmf_sdiod_freezer_attach() 794 atomic_set(&sdiodev->freezer->freezing, 0); in brcmf_sdiod_freezer_attach() 802 if (sdiodev->freezer) { in brcmf_sdiod_freezer_detach() 804 kfree(sdiodev->freezer); in brcmf_sdiod_freezer_detach() 813 sdiodev->freezer->frozen_count = 0; in brcmf_sdiod_freezer_on() 815 atomic_set(&sdiodev->freezer->freezing, 1); in brcmf_sdiod_freezer_on() 817 wait_event(sdiodev->freezer->thread_freeze, in brcmf_sdiod_freezer_on() 831 complete_all(&sdiodev->freezer->resumed); in brcmf_sdiod_freezer_off() 843 sdiodev->freezer->frozen_count++; in brcmf_sdiod_try_freeze() [all …]
|
A D | sdio.h | 191 struct brcmf_sdiod_freezer *freezer; member
|
/linux/Documentation/power/ |
A D | freezing-of-tasks.rst | 31 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
|
A D | suspend-and-cpuhotplug.rst | 17 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
|
A D | basic-pm-debugging.rst | 52 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/ |
A D | cgroup_subsys.h | 37 SUBSYS(freezer)
|
A D | cgroup-defs.h | 487 struct cgroup_freezer_state freezer; member
|
/linux/ |
A D | Kconfig | 12 source "kernel/Kconfig.freezer"
|
/linux/kernel/ |
A D | built-in.a | 115 freezer.o/ 161 cgroup/freezer.o/
|
A D | .freezer.o.cmd | 1 …freezer.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/bin/… 3 source_kernel/freezer.o := kernel/freezer.c 5 deps_kernel/freezer.o := \ 1206 include/linux/freezer.h \ 1258 kernel/freezer.o: $(deps_kernel/freezer.o) 1260 $(deps_kernel/freezer.o):
|
A D | .built-in.a.cmd | 1 …-in.a kernel/dma/built-in.a kernel/entry/built-in.a kernel/kcmp.o kernel/freezer.o kernel/profile.…
|
A D | Makefile | 58 obj-$(CONFIG_FREEZER) += freezer.o
|
/linux/kernel/power/ |
A D | Kconfig | 12 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/ |
A D | dynamic-debug-howto.rst | 175 file kernel/freezer.c # ie column 1 of control file
|
/linux/kernel/futex/ |
A D | .waitwake.o.cmd | 746 include/linux/freezer.h \
|
/linux/drivers/tty/hvc/ |
A D | .hvc_console.o.cmd | 1049 include/linux/freezer.h \
|