Home
last modified time | relevance | path

Searched refs:freeze (Results 1 – 4 of 4) sorted by relevance

/kernel/cgroup/
Dfreezer.c156 static void cgroup_freeze_task(struct task_struct *task, bool freeze) in cgroup_freeze_task() argument
166 if (freeze) { in cgroup_freeze_task()
182 static void cgroup_do_freeze(struct cgroup *cgrp, bool freeze) in cgroup_do_freeze() argument
190 if (freeze) in cgroup_do_freeze()
196 if (freeze) in cgroup_do_freeze()
197 TRACE_CGROUP_PATH(freeze, cgrp); in cgroup_do_freeze()
209 cgroup_freeze_task(task, freeze); in cgroup_do_freeze()
265 void cgroup_freeze(struct cgroup *cgrp, bool freeze) in cgroup_freeze() argument
276 if (cgrp->freezer.freeze == freeze) in cgroup_freeze()
279 cgrp->freezer.freeze = freeze; in cgroup_freeze()
[all …]
Dlegacy_freezer.c353 static void freezer_apply_state(struct freezer *freezer, bool freeze, in freezer_apply_state() argument
362 if (freeze) { in freezer_apply_state()
389 static void freezer_change_state(struct freezer *freezer, bool freeze) in freezer_change_state() argument
410 freezer_apply_state(pos_f, freeze, in freezer_change_state()
428 bool freeze; in freezer_write() local
433 freeze = false; in freezer_write()
435 freeze = true; in freezer_write()
439 freezer_change_state(css_freezer(of_css(of)), freeze); in freezer_write()
Dcgroup.c3926 seq_printf(seq, "%d\n", cgrp->freezer.freeze); in cgroup_freeze_show()
3936 int freeze; in cgroup_freeze_write() local
3938 ret = kstrtoint(strstrip(buf), 0, &freeze); in cgroup_freeze_write()
3942 if (freeze < 0 || freeze > 1) in cgroup_freeze_write()
3949 cgroup_freeze(cgrp, freeze); in cgroup_freeze_write()
/kernel/
Dfreezer.c75 bool freeze; in __refrigerator() local
84 freeze = freezing(current) && !(check_kthr_stop && kthread_should_stop()); in __refrigerator()
88 if (!freeze) in __refrigerator()