Home
last modified time | relevance | path

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

123

/Linux-v5.4/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 …]
/Linux-v5.4/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.c103 && freezing(p) && !frozen(p)) in try_to_freeze_tasks()
/Linux-v5.4/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()
/Linux-v5.4/drivers/media/usb/gspca/
Dfinepix.c89 if (gspca_dev->frozen) in dostream()
100 if (gspca_dev->frozen) in dostream()
119 if (gspca_dev->frozen) in dostream()
Dgspca.h204 char frozen; /* suspend - resume */ member
Dbenq.c153 if (gspca_dev->frozen) in sd_isoc_irq()
Dsq905c.c140 if (gspca_dev->frozen) in sq905c_dostream()
/Linux-v5.4/fs/
Dsuper.c795 if (!s || s->s_writers.frozen == SB_UNFROZEN) in __get_super_thawed()
802 s->s_writers.frozen == SB_UNFROZEN); in __get_super_thawed()
910 if (sb->s_writers.frozen != SB_UNFROZEN) in reconfigure_super()
933 if (sb->s_writers.frozen != SB_UNFROZEN) in reconfigure_super()
1764 if (sb->s_writers.frozen != SB_UNFROZEN) { in freeze_super()
1776 sb->s_writers.frozen = SB_FREEZE_COMPLETE; in freeze_super()
1781 sb->s_writers.frozen = SB_FREEZE_WRITE; in freeze_super()
1788 sb->s_writers.frozen = SB_FREEZE_PAGEFAULT; in freeze_super()
1795 sb->s_writers.frozen = SB_FREEZE_FS; in freeze_super()
1803 sb->s_writers.frozen = SB_UNFROZEN; in freeze_super()
[all …]
/Linux-v5.4/Documentation/power/
Dfreezing-of-tasks.rst34 'frozen' and therefore the set of functions handling this mechanism is referred
37 frozen before kernel threads.
41 if the task is to be frozen and makes the task enter __refrigerator().
47 that combine interruptible sleep with checking if the task is to be frozen and
69 order to clear the PF_FROZEN flag for each frozen task. Then, the tasks that
70 have been frozen leave __refrigerator() and continue running.
156 be frozen before the driver's .suspend() callback is executed and it will be
168 if this process is not frozen, it may notice that the number of CPUs has
179 and B is frozen in the meantime, then A will be blocked until B is thawed, which
200 fail, because the user land process that should respond to the request is frozen
[all …]
Duserland-swsusp.rst38 not frozen); this is required for SNAPSHOT_CREATE_IMAGE
42 thaw user space processes frozen by SNAPSHOT_FREEZE
131 unfreeze user space processes frozen by SNAPSHOT_UNFREEZE if they are
132 still frozen when the device is being closed).
Dsuspend-and-cpuhotplug.rst157 argument. But during suspend, since the tasks are already frozen by the time
266 tasks could have been frozen by an out-of-band event such as a suspend
268 reflect the frozen state and the CPU hotplug callbacks which evaluate
279 it will now start waiting on the frozen userspace in the
/Linux-v5.4/include/linux/
Dfreezer.h25 static inline bool frozen(struct task_struct *p) in frozen() function
261 static inline bool frozen(struct task_struct *p) { return false; } in frozen() function
/Linux-v5.4/Documentation/driver-api/pm/
Dnotifiers.rst22 processes are frozen at these points). The solution may be to load the firmware
23 into memory before processes are frozen and upload it from there in the
30 The system is going to hibernate, tasks will be frozen immediately. This
/Linux-v5.4/Documentation/admin-guide/cgroup-v1/
Dfreezer-subsystem.rst53 being frozen. This allows the bash example above and gdb to run as
71 belonging to the cgroup and its descendants become frozen. Note that
74 frozen.
95 frozen; otherwise, 1.
/Linux-v5.4/tools/testing/selftests/cgroup/
Dtest_freezer.c29 static int cg_check_frozen(const char *cgroup, bool frozen) in cg_check_frozen() argument
31 if (frozen) { in cg_check_frozen()
116 bool frozen) in cg_enter_and_wait_for_frozen() argument
134 ret = cg_check_frozen(cgroup, frozen); in cg_enter_and_wait_for_frozen()
/Linux-v5.4/drivers/mfd/
Ducb1x00-ts.c208 bool frozen, ignore = false; in ucb1x00_thread() local
213 while (!kthread_freezable_should_stop(&frozen)) { in ucb1x00_thread()
217 if (frozen) in ucb1x00_thread()
/Linux-v5.4/tools/bpf/bpftool/
Dmap.c485 int frozen = 0; in show_map_close_json() local
539 frozen = atoi(frozen_str); in show_map_close_json()
542 jsonw_int_field(json_wtr, "frozen", frozen); in show_map_close_json()
567 int frozen = 0; in show_map_close_plain() local
626 frozen = atoi(frozen_str); in show_map_close_plain()
630 if (!info->btf_id && !frozen) in show_map_close_plain()
638 if (frozen) in show_map_close_plain()
/Linux-v5.4/Documentation/media/uapi/dvb/
Dvideo-freeze.rst58 and playing are frozen. It is then possible to restart the decoding and
/Linux-v5.4/fs/gfs2/
Dsys.c84 int frozen = (sb->s_writers.frozen == SB_UNFROZEN) ? 0 : 1; in freeze_show() local
86 return snprintf(buf, PAGE_SIZE, "%d\n", frozen); in freeze_show()
/Linux-v5.4/Documentation/devicetree/bindings/
DABI.txt10 frozen for all time. Grant said there are ways to change bindings that
/Linux-v5.4/Documentation/driver-api/nvdimm/
Dsecurity.rst23 frozen, and overwrite. If security is not supported, the sysfs attribute
86 frozen by a user with root privelege.
/Linux-v5.4/mm/
Dslub.c1683 page->frozen = 1; in allocate_slab()
1815 VM_BUG_ON(new.frozen); in acquire_slab()
1816 new.frozen = 1; in acquire_slab()
2073 VM_BUG_ON(!new.frozen); in deactivate_slab()
2101 VM_BUG_ON(!old.frozen); in deactivate_slab()
2112 new.frozen = 0; in deactivate_slab()
2209 VM_BUG_ON(!old.frozen); in unfreeze_partials()
2214 new.frozen = 0; in unfreeze_partials()
2507 VM_BUG_ON(!new.frozen); in get_freelist()
2510 new.frozen = freelist != NULL; in get_freelist()
[all …]
/Linux-v5.4/fs/ext4/
Dext4_jbd2.c53 WARN_ON(sb->s_writers.frozen == SB_FREEZE_COMPLETE); in ext4_journal_check_start()

123