Home
last modified time | relevance | path

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

1234

/OK3568_Linux_fs/kernel/kernel/cgroup/
H A 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 …]
/OK3568_Linux_fs/kernel/kernel/power/
H A Duser.c35 bool frozen; member
95 data->frozen = false; in snapshot_open()
116 if (data->frozen) { in snapshot_release()
274 if (data->frozen) in snapshot_ioctl()
287 data->frozen = true; in snapshot_ioctl()
292 if (!data->frozen || data->ready) in snapshot_ioctl()
298 data->frozen = false; in snapshot_ioctl()
302 if (data->mode != O_RDONLY || !data->frozen || data->ready) { in snapshot_ioctl()
317 if (data->mode != O_WRONLY || !data->frozen || in snapshot_ioctl()
383 if (!data->frozen) { in snapshot_ioctl()
H A Dprocess.c108 && freezing(p) && !frozen(p)) { in try_to_freeze_tasks()
/OK3568_Linux_fs/kernel/fs/
H A Dsuper.c798 if (!s || s->s_writers.frozen == SB_UNFROZEN) in __get_super_thawed()
805 s->s_writers.frozen == SB_UNFROZEN); in __get_super_thawed()
913 if (sb->s_writers.frozen != SB_UNFROZEN) in reconfigure_super()
936 if (sb->s_writers.frozen != SB_UNFROZEN) in reconfigure_super()
1716 if (sb->s_writers.frozen != SB_UNFROZEN) { in freeze_super()
1728 sb->s_writers.frozen = SB_FREEZE_COMPLETE; in freeze_super()
1733 sb->s_writers.frozen = SB_FREEZE_WRITE; in freeze_super()
1740 sb->s_writers.frozen = SB_FREEZE_PAGEFAULT; in freeze_super()
1746 sb->s_writers.frozen = SB_UNFROZEN; in freeze_super()
1754 sb->s_writers.frozen = SB_FREEZE_FS; in freeze_super()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/usb/gspca/
H A Dfinepix.c89 if (gspca_dev->frozen) in dostream()
100 if (gspca_dev->frozen) in dostream()
119 if (gspca_dev->frozen) in dostream()
H A Dgspca.h205 char frozen; /* suspend - resume */ member
/OK3568_Linux_fs/kernel/Documentation/power/
H A 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 …]
H A Duserland-swsusp.rst38 not frozen); this is required for SNAPSHOT_CREATE_IMAGE
42 thaw user space processes frozen by SNAPSHOT_FREEZE
133 unfreeze user space processes frozen by SNAPSHOT_UNFREEZE if they are
134 still frozen when the device is being closed).
H A Dsuspend-and-cpuhotplug.rst157 argument. But during suspend, since the tasks are already frozen by the time
267 tasks could have been frozen by an out-of-band event such as a suspend
269 reflect the frozen state and the CPU hotplug callbacks which evaluate
280 it will now start waiting on the frozen userspace in the
/OK3568_Linux_fs/kernel/kernel/
H A Dfreezer.c137 if (!freezing(p) || frozen(p)) { in freeze_task()
163 if (frozen(p) || (frozen_or_skipped(p) && mask != cpu_possible_mask)) in __thaw_task()
H A Dkthread.c168 bool frozen = false; in kthread_freezable_should_stop() local
173 frozen = __refrigerator(true); in kthread_freezable_should_stop()
176 *was_frozen = frozen; in kthread_freezable_should_stop()
/OK3568_Linux_fs/kernel/Documentation/driver-api/pm/
H A 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
/OK3568_Linux_fs/kernel/include/linux/
H A Dfreezer.h25 static inline bool frozen(struct task_struct *p) in frozen() function
277 static inline bool frozen(struct task_struct *p) { return false; } in frozen() function
/OK3568_Linux_fs/kernel/Documentation/admin-guide/cgroup-v1/
H A 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.
/OK3568_Linux_fs/kernel/tools/testing/selftests/cgroup/
H A 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()
117 bool frozen) in cg_enter_and_wait_for_frozen() argument
135 ret = cg_check_frozen(cgroup, frozen); in cg_enter_and_wait_for_frozen()
/OK3568_Linux_fs/kernel/drivers/mfd/
H A 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()
/OK3568_Linux_fs/kernel/tools/bpf/bpftool/
H A Dmap.c486 int frozen = 0; in show_map_close_json() local
529 frozen = atoi(frozen_str); in show_map_close_json()
532 jsonw_int_field(json_wtr, "frozen", frozen); in show_map_close_json()
575 int frozen = 0; in show_map_close_plain() local
623 frozen = atoi(frozen_str); in show_map_close_plain()
627 if (!info->btf_id && !frozen) in show_map_close_plain()
635 if (frozen) in show_map_close_plain()
/OK3568_Linux_fs/kernel/Documentation/admin-guide/pm/
H A Dsuspend-flows.rst58 Tasks are frozen primarily in order to avoid unchecked hardware accesses
68 The kernel threads that choose to be frozen during system suspend for
69 specific reasons are frozen subsequently, but they are not intercepted.
71 to be frozen and to put themselves into uninterruptible sleep if so. [Note,
152 Tasks frozen in step 2 of the preceding `suspend <s2idle_suspend_>`_
/OK3568_Linux_fs/kernel/security/selinux/ss/
H A Dsidtab.c42 s->frozen = false; in sidtab_init()
285 if (unlikely(s->frozen)) { in sidtab_context_to_sid()
490 s->frozen = true; in sidtab_freeze_begin()
H A Dsidtab.h89 bool frozen; member
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/dvb/
H A Dvideo-freeze.rst50 and playing are frozen. It is then possible to restart the decoding and
/OK3568_Linux_fs/kernel/fs/gfs2/
H A 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()
/OK3568_Linux_fs/kernel/Documentation/driver-api/nvdimm/
H A Dsecurity.rst23 frozen, and overwrite. If security is not supported, the sysfs attribute
86 frozen by a user with root privelege.
/OK3568_Linux_fs/kernel/Documentation/riscv/
H A Dpatch-acceptance.rst33 have been officially frozen or ratified by the RISC-V Foundation.
/OK3568_Linux_fs/kernel/mm/
H A Dslub.c1860 page->frozen = 1; in allocate_slab()
1987 VM_BUG_ON(new.frozen); in acquire_slab()
1988 new.frozen = 1; in acquire_slab()
2251 VM_BUG_ON(!new.frozen); in deactivate_slab()
2279 VM_BUG_ON(!old.frozen); in deactivate_slab()
2290 new.frozen = 0; in deactivate_slab()
2390 VM_BUG_ON(!old.frozen); in unfreeze_partials()
2395 new.frozen = 0; in unfreeze_partials()
2686 VM_BUG_ON(!new.frozen); in get_freelist()
2689 new.frozen = freelist != NULL; in get_freelist()
[all …]

1234