Home
last modified time | relevance | path

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

/kernel/cgroup/
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 …]
Dfreezer.c27 cgrp->freezer.nr_frozen_descendants += desc; in cgroup_propagate_frozen()
30 cgrp->freezer.nr_frozen_descendants == in cgroup_propagate_frozen()
38 cgrp->freezer.nr_frozen_descendants -= desc; in cgroup_propagate_frozen()
65 cgrp->freezer.nr_frozen_tasks == __cgroup_task_count(cgrp); in cgroup_update_frozen()
92 cgrp->freezer.nr_frozen_tasks++; in cgroup_inc_frozen_cnt()
100 cgrp->freezer.nr_frozen_tasks--; in cgroup_dec_frozen_cnt()
101 WARN_ON_ONCE(cgrp->freezer.nr_frozen_tasks < 0); in cgroup_dec_frozen_cnt()
218 if (cgrp->nr_descendants == cgrp->freezer.nr_frozen_descendants) in cgroup_do_freeze()
276 if (cgrp->freezer.freeze == freeze) in cgroup_freeze()
279 cgrp->freezer.freeze = freeze; in cgroup_freeze()
[all …]
DMakefile2 obj-y := cgroup.o rstat.o namespace.o cgroup-v1.o freezer.o
Dcgroup.c3926 seq_printf(seq, "%d\n", cgrp->freezer.freeze); in cgroup_freeze_show()
5655 cgrp->freezer.e_freeze = parent->freezer.e_freeze; in cgroup_create()
5656 if (cgrp->freezer.e_freeze) { in cgroup_create()
5679 if (cgrp->freezer.e_freeze) in cgroup_create()
5680 tcgrp->freezer.nr_frozen_descendants++; in cgroup_create()
5961 tcgrp->freezer.nr_frozen_descendants--; in cgroup_destroy_locked()
/kernel/
DMakefile56 obj-$(CONFIG_FREEZER) += freezer.o
/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