Home
last modified time | relevance | path

Searched refs:frozen (Results 1 – 9 of 9) sorted by relevance

/kernel/cgroup/
Dfreezer.c14 static void cgroup_propagate_frozen(struct cgroup *cgrp, bool frozen) in cgroup_propagate_frozen() argument
25 if (frozen) { in cgroup_propagate_frozen()
54 bool frozen; in cgroup_update_frozen() local
63 frozen = test_bit(CGRP_FREEZE, &cgrp->flags) && in cgroup_update_frozen()
66 if (frozen) { in cgroup_update_frozen()
80 TRACE_CGROUP_PATH(notify_frozen, cgrp, frozen); in cgroup_update_frozen()
83 cgroup_propagate_frozen(cgrp, frozen); in cgroup_update_frozen()
111 if (current->frozen) in cgroup_enter_frozen()
115 current->frozen = true; in cgroup_enter_frozen()
140 WARN_ON_ONCE(!current->frozen); in cgroup_leave_frozen()
[all …]
Dlegacy_freezer.c281 if (!frozen(task) && !freezer_should_skip(task)) in update_if_frozen()
Dcgroup.c6046 WARN_ON_ONCE(child->frozen); in cgroup_post_fork()
/kernel/power/
Duser.c36 bool frozen; member
99 data->frozen = false; in snapshot_open()
118 if (data->frozen) { in snapshot_release()
225 if (data->frozen) in snapshot_ioctl()
238 data->frozen = true; in snapshot_ioctl()
243 if (!data->frozen || data->ready) in snapshot_ioctl()
249 data->frozen = false; in snapshot_ioctl()
253 if (data->mode != O_RDONLY || !data->frozen || data->ready) { in snapshot_ioctl()
268 if (data->mode != O_WRONLY || !data->frozen || in snapshot_ioctl()
334 if (!data->frozen) { in snapshot_ioctl()
Dprocess.c115 && freezing(p) && !frozen(p)) in try_to_freeze_tasks()
DKconfig18 done, no tasks are frozen for suspend to RAM/standby.
/kernel/
Dfreezer.c132 if (!freezing(p) || frozen(p)) { in freeze_task()
151 if (frozen(p)) in __thaw_task()
Dkthread.c141 bool frozen = false; in kthread_freezable_should_stop() local
146 frozen = __refrigerator(true); in kthread_freezable_should_stop()
149 *was_frozen = frozen; in kthread_freezable_should_stop()
/kernel/bpf/
Dsyscall.c366 if (READ_ONCE(map->frozen)) in map_get_sys_perms()
401 READ_ONCE(map->frozen)); in bpf_map_show_fdinfo()
1178 if (READ_ONCE(map->frozen)) { in map_freeze()
1187 WRITE_ONCE(map->frozen, true); in map_freeze()