Home
last modified time | relevance | path

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

/linux/kernel/cgroup/
H A Dlegacy_freezer.c37 struct freezer { struct
44 static inline struct freezer *css_freezer(struct cgroup_subsys_state *css) in css_freezer() argument
46 return css ? container_of(css, struct freezer, css) : NULL; in css_freezer()
49 static inline struct freezer *task_freezer(struct task_struct *task) in task_freezer()
54 static struct freezer *parent_freezer(struct freezer *freezer) in parent_freezer() argument
56 return css_freezer(freezer->css.parent); in parent_freezer()
82 struct freezer *freezer; in freezer_css_alloc() local
84 freezer = kzalloc_obj(struct freezer); in freezer_css_alloc()
85 if (!freezer) in freezer_css_alloc()
88 return &freezer->css; in freezer_css_alloc()
[all …]
H A Dfreezer.c48 cgrp->freezer.nr_frozen_descendants += desc; in cgroup_propagate_frozen()
50 (cgrp->freezer.nr_frozen_descendants != in cgroup_propagate_frozen()
54 cgrp->freezer.nr_frozen_descendants -= desc; in cgroup_propagate_frozen()
76 cgrp->freezer.nr_frozen_tasks == __cgroup_task_count(cgrp); in cgroup_update_frozen()
88 cgrp->freezer.nr_frozen_tasks++; in cgroup_inc_frozen_cnt()
96 cgrp->freezer.nr_frozen_tasks--; in cgroup_dec_frozen_cnt()
97 WARN_ON_ONCE(cgrp->freezer.nr_frozen_tasks < 0); in cgroup_dec_frozen_cnt()
182 write_seqcount_begin(&cgrp->freezer.freeze_seq); in cgroup_do_freeze()
185 cgrp->freezer.freeze_start_nsec = ts_nsec; in cgroup_do_freeze()
188 cgrp->freezer.frozen_nsec += (ts_nsec - in cgroup_do_freeze()
[all …]
H A DMakefile2 obj-y := cgroup.o rstat.o namespace.o cgroup-v1.o freezer.o
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dbcmsdh.c797 sdiodev->freezer = kzalloc_obj(*sdiodev->freezer); in brcmf_sdiod_freezer_attach()
798 if (!sdiodev->freezer) in brcmf_sdiod_freezer_attach()
800 atomic_set(&sdiodev->freezer->thread_count, 0); in brcmf_sdiod_freezer_attach()
801 atomic_set(&sdiodev->freezer->freezing, 0); in brcmf_sdiod_freezer_attach()
802 init_waitqueue_head(&sdiodev->freezer->thread_freeze); in brcmf_sdiod_freezer_attach()
803 init_completion(&sdiodev->freezer->resumed); in brcmf_sdiod_freezer_attach()
809 if (sdiodev->freezer) { in brcmf_sdiod_freezer_detach()
810 WARN_ON(atomic_read(&sdiodev->freezer->freezing)); in brcmf_sdiod_freezer_detach()
811 kfree(sdiodev->freezer); in brcmf_sdiod_freezer_detach()
812 sdiodev->freezer = NULL; in brcmf_sdiod_freezer_detach()
[all …]
H A Dsdio.h194 struct brcmf_sdiod_freezer *freezer; member
/linux/include/linux/
H A Dcgroup_subsys.h37 SUBSYS(freezer)
/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 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/Documentation/
H A D.renames.txt129 cgroup-v1/freezer-subsystem admin-guide/cgroup-v1/freezer-subsystem