Home
last modified time | relevance | path

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

/kernel/cgroup/
Dfreezer.c15 static void cgroup_propagate_frozen(struct cgroup *cgrp, bool frozen) in cgroup_propagate_frozen() argument
26 if (frozen) { in cgroup_propagate_frozen()
55 bool frozen; in cgroup_update_frozen() local
64 frozen = test_bit(CGRP_FREEZE, &cgrp->flags) && in cgroup_update_frozen()
67 if (frozen) { in cgroup_update_frozen()
81 TRACE_CGROUP_PATH(notify_frozen, cgrp, frozen); in cgroup_update_frozen()
84 cgroup_propagate_frozen(cgrp, frozen); in cgroup_update_frozen()
112 if (current->frozen) in cgroup_enter_frozen()
116 current->frozen = true; in cgroup_enter_frozen()
141 WARN_ON_ONCE(!current->frozen); in cgroup_leave_frozen()
[all …]
Dlegacy_freezer.c286 if (freezing(task) && !frozen(task)) in update_if_frozen()
Dcgroup.c6642 WARN_ON_ONCE(child->frozen); in cgroup_post_fork()
/kernel/power/
Duser.c35 bool frozen; member
96 data->frozen = false; in snapshot_open()
118 if (data->frozen) { in snapshot_release()
278 if (data->frozen) in snapshot_ioctl()
291 data->frozen = true; in snapshot_ioctl()
296 if (!data->frozen || data->ready) in snapshot_ioctl()
302 data->frozen = false; in snapshot_ioctl()
306 if (data->mode != O_RDONLY || !data->frozen || data->ready) { in snapshot_ioctl()
321 if (data->mode != O_WRONLY || !data->frozen || in snapshot_ioctl()
387 if (!data->frozen) { in snapshot_ioctl()
Dprocess.c105 if (p != current && freezing(p) && !frozen(p)) { in try_to_freeze_tasks()
DKconfig18 done, no tasks are frozen for suspend to RAM/standby.
/kernel/
Dfreezer.c59 bool frozen(struct task_struct *p) in frozen() function
167 if (!freezing(p) || frozen(p) || __freeze_task(p)) { in freeze_task()
209 if (!frozen(p) || task_call_func(p, __restore_freezer_state, NULL)) in __thaw_task()
Dkthread.c205 bool frozen = false; in kthread_freezable_should_stop() local
210 frozen = __refrigerator(true); in kthread_freezable_should_stop()
213 *was_frozen = frozen; in kthread_freezable_should_stop()
/kernel/bpf/
Dsyscall.c680 if (READ_ONCE(map->frozen)) in map_get_sys_perms()
729 READ_ONCE(map->frozen)); in bpf_map_show_fdinfo()
793 if (map->frozen) { in bpf_map_mmap()
1903 if (READ_ONCE(map->frozen)) { in map_freeze()
1912 WRITE_ONCE(map->frozen, true); in map_freeze()
Dverifier.c4726 READ_ONCE(map->frozen) && in bpf_map_is_rdonly()