Searched refs:freeze (Results 1 – 3 of 3) sorted by relevance
/kernel/cgroup/ |
D | freezer.c | 155 static void cgroup_freeze_task(struct task_struct *task, bool freeze) in cgroup_freeze_task() argument 163 if (freeze) { in cgroup_freeze_task() 177 static void cgroup_do_freeze(struct cgroup *cgrp, bool freeze) in cgroup_do_freeze() argument 185 if (freeze) in cgroup_do_freeze() 191 if (freeze) in cgroup_do_freeze() 192 TRACE_CGROUP_PATH(freeze, cgrp); in cgroup_do_freeze() 204 cgroup_freeze_task(task, freeze); in cgroup_do_freeze() 260 void cgroup_freeze(struct cgroup *cgrp, bool freeze) in cgroup_freeze() argument 271 if (cgrp->freezer.freeze == freeze) in cgroup_freeze() 274 cgrp->freezer.freeze = freeze; in cgroup_freeze() [all …]
|
D | legacy_freezer.c | 349 static void freezer_apply_state(struct freezer *freezer, bool freeze, in freezer_apply_state() argument 358 if (freeze) { in freezer_apply_state() 385 static void freezer_change_state(struct freezer *freezer, bool freeze) in freezer_change_state() argument 405 freezer_apply_state(pos_f, freeze, in freezer_change_state() 422 bool freeze; in freezer_write() local 427 freeze = false; in freezer_write() 429 freeze = true; in freezer_write() 433 freezer_change_state(css_freezer(of_css(of)), freeze); in freezer_write()
|
D | cgroup.c | 3816 seq_printf(seq, "%d\n", cgrp->freezer.freeze); in cgroup_freeze_show() 3826 int freeze; in cgroup_freeze_write() local 3828 ret = kstrtoint(strstrip(buf), 0, &freeze); in cgroup_freeze_write() 3832 if (freeze < 0 || freeze > 1) in cgroup_freeze_write() 3839 cgroup_freeze(cgrp, freeze); in cgroup_freeze_write()
|