Searched refs:freeze (Results 1 – 3 of 3) sorted by relevance
/kernel/cgroup/ |
D | freezer.c | 156 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 …]
|
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 | 3794 seq_printf(seq, "%d\n", cgrp->freezer.freeze); in cgroup_freeze_show() 3804 int freeze; in cgroup_freeze_write() local 3806 ret = kstrtoint(strstrip(buf), 0, &freeze); in cgroup_freeze_write() 3810 if (freeze < 0 || freeze > 1) in cgroup_freeze_write() 3817 cgroup_freeze(cgrp, freeze); in cgroup_freeze_write()
|