| /Linux-v5.4/kernel/cgroup/ |
| D | freezer.c | 14 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/ |
| D | user.c | 36 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()
|
| D | process.c | 103 && freezing(p) && !frozen(p)) in try_to_freeze_tasks()
|
| /Linux-v5.4/kernel/ |
| D | freezer.c | 132 if (!freezing(p) || frozen(p)) { in freeze_task() 151 if (frozen(p)) in __thaw_task()
|
| D | kthread.c | 141 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/ |
| D | finepix.c | 89 if (gspca_dev->frozen) in dostream() 100 if (gspca_dev->frozen) in dostream() 119 if (gspca_dev->frozen) in dostream()
|
| D | gspca.h | 204 char frozen; /* suspend - resume */ member
|
| D | benq.c | 153 if (gspca_dev->frozen) in sd_isoc_irq()
|
| D | sq905c.c | 140 if (gspca_dev->frozen) in sq905c_dostream()
|
| /Linux-v5.4/fs/ |
| D | super.c | 795 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/ |
| D | freezing-of-tasks.rst | 34 '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 …]
|
| D | userland-swsusp.rst | 38 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).
|
| D | suspend-and-cpuhotplug.rst | 157 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/ |
| D | freezer.h | 25 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/ |
| D | notifiers.rst | 22 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/ |
| D | freezer-subsystem.rst | 53 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/ |
| D | test_freezer.c | 29 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/ |
| D | ucb1x00-ts.c | 208 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/ |
| D | map.c | 485 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/ |
| D | video-freeze.rst | 58 and playing are frozen. It is then possible to restart the decoding and
|
| /Linux-v5.4/fs/gfs2/ |
| D | sys.c | 84 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/ |
| D | ABI.txt | 10 frozen for all time. Grant said there are ways to change bindings that
|
| /Linux-v5.4/Documentation/driver-api/nvdimm/ |
| D | security.rst | 23 frozen, and overwrite. If security is not supported, the sysfs attribute 86 frozen by a user with root privelege.
|
| /Linux-v5.4/mm/ |
| D | slub.c | 1683 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/ |
| D | ext4_jbd2.c | 53 WARN_ON(sb->s_writers.frozen == SB_FREEZE_COMPLETE); in ext4_journal_check_start()
|