/linux/kernel/cgroup/ |
H A D | freezer.c | 152 * Freeze or unfreeze the task by setting or clearing the JOBCTL_TRAP_FREEZE 155 static void cgroup_freeze_task(struct task_struct *task, bool freeze) in cgroup_freeze_task() argument 163 if (freeze) { in cgroup_freeze_task() 175 * Freeze or unfreeze all tasks in the given cgroup. 177 static void cgroup_do_freeze(struct cgroup *cgrp, bool freeze) in cgroup_do_freeze() argument 185 if (freeze) in cgroup_do_freeze() 191 if (freeze) in cgroup_do_freeze() 192 TRACE_CGROUP_PATH(freeze, cgrp); in cgroup_do_freeze() 204 cgroup_freeze_task(task, freeze); in cgroup_do_freeze() 219 * Adjust the task state (freeze or unfreeze) and revisit the state of [all …]
|
H A D | legacy_freezer.c | 346 * @freeze: whether to freeze or unfreeze 349 * Set or clear @state on @cgroup according to @freeze, and perform 352 static void freezer_apply_state(struct freezer *freezer, bool freeze, in freezer_apply_state() argument 361 if (freeze) { in freezer_apply_state() 383 * @freeze: whether to freeze or thaw 385 * Freeze or thaw @freezer according to @freeze. The operations are 388 static void freezer_change_state(struct freezer *freezer, bool freeze) in freezer_change_state() argument 409 freezer_apply_state(pos_f, freeze, in freezer_change_state() 427 bool freeze; in freezer_write() local 432 freeze = false; in freezer_write() [all …]
|
/linux/Documentation/devicetree/bindings/fpga/ |
H A D | altr,freeze-bridge-controller.yaml | 4 $id: http://devicetree.org/schemas/fpga/altr,freeze-bridge-controller.yaml# 7 title: Altera Freeze Bridge Controller 10 The Altera Freeze Bridge Controller manages one or more freeze bridges. 11 The controller can freeze/disable the bridges which prevents signal 24 const: altr,freeze-bridge-controller 38 compatible = "altr,freeze-bridge-controller";
|
/linux/arch/powerpc/include/asm/ |
H A D | reg_fsl_emb.h | 51 #define PMLCA_FC 0x80000000 /* Freeze Counter */ 52 #define PMLCA_FCS 0x40000000 /* Freeze in Supervisor */ 53 #define PMLCA_FCU 0x20000000 /* Freeze in User */ 54 #define PMLCA_FCM1 0x10000000 /* Freeze when PMM==1 */ 55 #define PMLCA_FCM0 0x08000000 /* Freeze when PMM==0 */ 57 #define PMLCA_FGCS1 0x00000002 /* Freeze in guest state */ 58 #define PMLCA_FGCS0 0x00000001 /* Freeze in hypervisor state */ 78 #define PMGC0_FAC 0x80000000 /* Freeze all Counters */ 80 #define PMGC0_FCECE 0x20000000 /* Freeze countes on
|
/linux/tools/power/pm-graph/config/ |
H A D | freeze-dev.cfg | 2 # Dev S2 (Freeze) test - includes src calls / kernel threads 9 # sudo ./sleepgraph.py -config config/freeze-dev.cfg 21 # e.g. standby, mem, freeze, disk (default: mem) 22 mode: freeze 26 output-dir: freeze-{hostname}-{date}-{time}-dev 42 # Command to execute in lieu of freeze (default: "") 43 # command: echo freeze > /sys/power/state
|
H A D | freeze-callgraph.cfg | 2 # Full Callgraph for S2 (Freeze) test 9 # sudo ./sleepgraph.py -config config/freeze-callgraph.cfg 22 # e.g. standby, mem, freeze, disk (default: mem) 23 mode: freeze 27 output-dir: freeze-{hostname}-{date}-{time}-cg 43 # Command to execute in lieu of freeze (default: "") 44 # command: echo freeze > /sys/power/state
|
H A D | freeze.cfg | 2 # Generic S2 (Freeze) test 9 # sudo ./sleepgraph.py -config config/freeze.cfg 21 # e.g. standby, mem, freeze, disk (default: mem) 22 mode: freeze 26 output-dir: freeze-{hostname}-{date}-{time} 42 # Command to execute in lieu of freeze (default: "") 43 # command: echo freeze > /sys/power/state
|
/linux/tools/testing/selftests/cgroup/ |
H A D | test_freezer.c | 48 * Freeze the given cgroup. 50 static int cg_freeze_nowait(const char *cgroup, bool freeze) in cg_freeze_nowait() argument 52 return cg_write(cgroup, "cgroup.freeze", freeze ? "1" : "0"); in cg_freeze_nowait() 89 * Freeze the given cgroup and wait for the inotify signal. 93 static int cg_freeze_wait(const char *cgroup, bool freeze) in cg_freeze_wait() argument 101 ret = cg_freeze_nowait(cgroup, freeze); in cg_freeze_wait() 111 ret = cg_check_frozen(cgroup, freeze); in cg_freeze_wait() 133 * running processes and freeze it. Then unfreeze it. Then it kills all 186 * Then it tries to freeze and unfreeze the whole tree. 255 * Freeze B. in test_cgfreezer_tree() [all …]
|
/linux/kernel/ |
H A D | freezer.c | 3 * kernel/freezer.c - Function to freeze a process 72 bool freeze; in __refrigerator() local 81 freeze = freezing(current) && !(check_kthr_stop && kthread_should_stop()); in __refrigerator() 84 if (!freeze) in __refrigerator() 135 * It's dangerous to freeze with locks held; there be dragons there. in __set_task_frozen() 153 * freeze_task - send a freeze request to given task 156 * If @p is freezing, the freeze request is sent either by sending a fake
|
/linux/arch/powerpc/platforms/powermac/ |
H A D | smp.c | 66 static void (*pmac_tb_freeze)(int freeze); 350 /* This is going to freeze the timeebase, we disable interrupts */ in smp_psurge_kick_cpu() 503 static void smp_core99_cypress_tb_freeze(int freeze) in smp_core99_cypress_tb_freeze() argument 519 data = (data & 0xf3) | (freeze ? 0x00 : 0x0c); in smp_core99_cypress_tb_freeze() 529 freeze ? "freeze" : "unfreeze", rc); in smp_core99_cypress_tb_freeze() 530 panic("Timebase freeze failed !\n"); in smp_core99_cypress_tb_freeze() 535 static void smp_core99_pulsar_tb_freeze(int freeze) in smp_core99_pulsar_tb_freeze() argument 548 data = (data & 0x88) | (freeze ? 0x11 : 0x22); in smp_core99_pulsar_tb_freeze() 557 freeze ? "freeze" : "unfreeze", rc); in smp_core99_pulsar_tb_freeze() 558 panic("Timebase freeze failed !\n"); in smp_core99_pulsar_tb_freeze() [all …]
|
/linux/include/linux/ |
H A D | pm.h | 74 * followed by one of the suspend callbacks: @suspend(), @freeze(), or 99 * fails before the driver's suspend callback: @suspend(), @freeze() or 143 * @freeze: Hibernation-specific, executed before creating a hibernation image. 147 * @freeze() to save the device settings in memory to be used by @restore() 149 * Subsystem-level @freeze() is executed for all devices after invoking 152 * @freeze_late: Continue operations started by @freeze(). Analogous to 159 * Undo the changes made by the preceding @freeze(), so the device can be 160 * operated in the same way as immediately before the call to @freeze(). 163 * directly after @freeze() in case of a transition error. 201 * @freeze_noirq: Complete the actions started by @freeze(). Carry out any [all …]
|
/linux/tools/power/pm-graph/ |
H A D | sleepgraph.8 | 40 Mode to initiate for suspend e.g. standby, freeze, mem (default: mem). 57 By default, if turbostat is found and the requested mode is freeze, sleepgraph 291 Execute a freeze with no wakeup (require keypress). Change output folder name. 293 \f(CW$ sudo sleepgraph -m freeze -rtcwake off -o "freeze-{hostname}-{date}-{time}"\fR 314 \f(CW$ sudo sleepgraph -m freeze -rtcwake 15 -multi 10 30\fR 318 \f(CW$ sudo sleepgraph -m freeze -rtcwake 15 -multi 24h 0\fR
|
H A D | README | 129 ['freeze', 'mem', 'disk'] 230 Mode to initiate for suspend e.g. mem, freeze, standby (default: mem). 306 Simple suspend/resume with basic timeline (mem/freeze/standby) 308 config/freeze.cfg 311 Dev mode suspend/resume with dev timeline (mem/freeze/standby) 313 config/freeze-dev.cfg 316 Simple suspend/resume with timeline and callgraph (mem/freeze/standby) 318 config/freeze-callgraph.cfg 352 # Suspend Mode: e.g. standby, mem, freeze, disk (def: mem) 614 modes : freeze mem
|
H A D | Makefile | 41 $(INSTALL_DATA) config/freeze-callgraph.cfg $(DESTDIR)$(LIBDIR)/pm-graph/config 42 $(INSTALL_DATA) config/freeze.cfg $(DESTDIR)$(LIBDIR)/pm-graph/config 43 $(INSTALL_DATA) config/freeze-dev.cfg $(DESTDIR)$(LIBDIR)/pm-graph/config
|
/linux/Documentation/driver-api/nvdimm/ |
H A D | security.rst | 11 "unlock unit", "freeze lock", "secure erase", and "overwrite". A security_ops 30 freeze - freeze changing of security states. 83 6. Freeze 85 The freeze operation does not require any keys. The security config can be
|
/linux/drivers/base/power/ |
H A D | generic_ops.c | 107 * @dev: Device to freeze. 119 * @dev: Device to freeze. 130 * pm_generic_freeze - Generic freeze callback for subsystems. 131 * @dev: Device to freeze. 137 return pm && pm->freeze ? pm->freeze(dev) : 0; in pm_generic_freeze()
|
/linux/arch/powerpc/sysdev/ |
H A D | fsl_rcpm.c | 284 static void rcpm_common_freeze_time_base(u32 *tben_reg, int freeze) in rcpm_common_freeze_time_base() argument 288 if (freeze) { in rcpm_common_freeze_time_base() 299 static void rcpm_v1_freeze_time_base(bool freeze) in rcpm_v1_freeze_time_base() argument 301 rcpm_common_freeze_time_base(&rcpm_v1_regs->ctbenr, freeze); in rcpm_v1_freeze_time_base() 304 static void rcpm_v2_freeze_time_base(bool freeze) in rcpm_v2_freeze_time_base() argument 306 rcpm_common_freeze_time_base(&rcpm_v2_regs->pctbenr, freeze); in rcpm_v2_freeze_time_base()
|
/linux/Documentation/power/ |
H A D | freezing-of-tasks.rst | 48 that put the task to sleep (TASK_INTERRUPTIBLE) or freeze it (TASK_FROZEN) if 90 - freezes all tasks (including kernel threads) because we can't freeze 125 usually making them almost impossible to repair). We therefore freeze 150 "RJW:> Why we freeze tasks at all or why we freeze kernel threads? 160 So in practice, the 'at all' may become a 'why freeze kernel threads?' and 241 consequence, the freezer would not be able to freeze that task, leading to 254 /sys/power/pm_freeze_timeout controls how long it will cost at most to freeze
|
/linux/arch/sh/kernel/cpu/sh4/ |
H A D | perf_event.c | 67 * 0x24 Pipeline freeze by I-cache miss 68 * 0x25 Pipeline freeze by D-cache miss 69 * 0x27 Pipeline freeze by branch instruction 70 * 0x28 Pipeline freeze by CPU register 71 * 0x29 Pipeline freeze by FPU
|
/linux/drivers/ssb/ |
H A D | sprom.c | 107 struct ssb_freeze_context freeze; in ssb_attr_sprom_store() local 130 err = ssb_devices_freeze(bus, &freeze); in ssb_attr_sprom_store() 132 pr_err("SPROM write: Could not freeze all devices\n"); in ssb_attr_sprom_store() 136 err = ssb_devices_thaw(&freeze); in ssb_attr_sprom_store()
|
/linux/drivers/fpga/ |
H A D | altera-freeze-bridge.c | 3 * FPGA Freeze Bridge Controller 30 #define FREEZE_BRIDGE_NAME "freeze" 203 { .compatible = "altr,freeze-bridge-controller", }, 274 MODULE_DESCRIPTION("Altera Freeze Bridge");
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | mmap.c | 129 /* data_map freeze should fail due to R/W mmap() */ in test_mmap() 132 "data_map freeze succeeded: err=%d, errno=%d\n", err, errno)) in test_mmap() 173 /* data_map freeze should now succeed due to no R/W mapping */ in test_mmap() 175 if (CHECK(err, "freeze", "data_map freeze failed: err=%d, errno=%d\n", in test_mmap()
|
/linux/Documentation/admin-guide/cgroup-v1/ |
H A D | freezer-subsystem.rst | 25 from within the tasks we wish to freeze. While SIGSTOP cannot be caught, 52 prevent the freeze/unfreeze cycle from becoming visible to the tasks 112 to freeze all tasks in the container::
|
/linux/arch/powerpc/kvm/ |
H A D | book3s_hv_interrupts.S | 117 mtspr SPRN_MMCR2, r3 /* freeze all counters using MMCR2 */ 121 sldi r3, r3, 31 /* MMCR0_FC (freeze counters) bit */ 123 mtspr SPRN_MMCR0, r3 /* freeze all counters, disable interrupts */
|
/linux/drivers/android/ |
H A D | binder.c | 1355 kfree(ref->freeze); in binder_free_ref() 3851 struct binder_ref_freeze *freeze; in binder_request_freeze_notification() local 3855 freeze = kzalloc(sizeof(*freeze), GFP_KERNEL); in binder_request_freeze_notification() 3856 if (!freeze) in binder_request_freeze_notification() 3864 kfree(freeze); in binder_request_freeze_notification() 3870 if (ref->freeze || !ref->node->proc) { in binder_request_freeze_notification() 3873 ref->freeze ? "already set" : "dead node"); in binder_request_freeze_notification() 3876 kfree(freeze); in binder_request_freeze_notification() 3884 INIT_LIST_HEAD(&freeze->work.entry); in binder_request_freeze_notification() 3885 freeze->cookie = handle_cookie->cookie; in binder_request_freeze_notification() [all …]
|