Searched refs:freeze (Results 1 – 4 of 4) 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 | 353 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()
|
D | cgroup.c | 3926 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/ |
D | freezer.c | 75 bool freeze; in __refrigerator() local 84 freeze = freezing(current) && !(check_kthr_stop && kthread_should_stop()); in __refrigerator() 88 if (!freeze) in __refrigerator()
|