Lines Matching full:freeze
152 * Freeze or unfreeze the task by setting or clearing the JOBCTL_TRAP_FREEZE
155 static void cgroup_freeze_task(struct task_struct *task, bool freeze) in cgroup_freeze_task() argument
163 if (freeze) { in cgroup_freeze_task()
175 * Freeze or unfreeze all tasks in the given cgroup.
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()
219 * Adjust the task state (freeze or unfreeze) and revisit the state of
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()
285 if (freeze) { in cgroup_freeze()
304 * Do change actual state: freeze or unfreeze. in cgroup_freeze()
306 cgroup_do_freeze(dsct, freeze); in cgroup_freeze()