| /linux/kernel/cgroup/ |
| H A D | freezer.c | 149 * Freeze or unfreeze the task by setting or clearing the JOBCTL_TRAP_FREEZE 152 static void cgroup_freeze_task(struct task_struct *task, bool freeze) in cgroup_freeze_task() argument 160 if (freeze) { in cgroup_freeze_task() 172 * Freeze or unfreeze all tasks in the given cgroup. 174 static void cgroup_do_freeze(struct cgroup *cgrp, bool freeze, u64 ts_nsec) in cgroup_do_freeze() argument 183 if (freeze) { in cgroup_do_freeze() 194 if (freeze) in cgroup_do_freeze() 195 TRACE_CGROUP_PATH(freeze, cgrp); in cgroup_do_freeze() 207 cgroup_freeze_task(task, freeze); in cgroup_do_freeze() 222 * Adjust the task state (freeze or unfreeze) and revisit the state of [all …]
|
| H A D | legacy_freezer.c | 339 * @freeze: whether to freeze or unfreeze 342 * Set or clear @state on @cgroup according to @freeze, and perform 345 static void freezer_apply_state(struct freezer *freezer, bool freeze, in freezer_apply_state() argument 354 if (freeze) { in freezer_apply_state() 376 * @freeze: whether to freeze or thaw 378 * Freeze or thaw @freezer according to @freeze. The operations are 381 static void freezer_change_state(struct freezer *freezer, bool freeze) in freezer_change_state() argument 402 freezer_apply_state(pos_f, freeze, in freezer_change_state() 420 bool freeze; in freezer_write() local 425 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/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/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
|
| H A D | reg.h | 813 #define TBCTL_FREEZE 0x0000000000000000ull /* Freeze all tbs */ 858 #define MMCR0_FC 0x80000000UL /* freeze counters */ 859 #define MMCR0_FCS 0x40000000UL /* freeze in supervisor state */ 861 #define MMCR0_FCP 0x20000000UL /* freeze in problem state */ 863 #define MMCR0_FCM1 0x10000000UL /* freeze counters while MSR mark = 1 */ 864 #define MMCR0_FCM0 0x08000000UL /* freeze counters while MSR mark = 0 */ 866 #define MMCR0_FCECE ASM_CONST(0x02000000) /* freeze ctrs on enabled cond or event */ 880 #define MMCR0_SHRFC 0x00000040UL /* SHRre freeze conditions between threads */ 881 #define MMCR0_FC56 0x00000010UL /* freeze counters 5 and 6 */ 882 #define MMCR0_FCTI 0x00000008UL /* freeze counters in tags inactive mode */ [all …]
|
| /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/kernel/ |
| H A D | freezer.c | 3 * kernel/freezer.c - Function to freeze a process 73 bool freeze; in __refrigerator() local 82 freeze = freezing(current) && !(check_kthr_stop && kthread_should_stop()); in __refrigerator() 85 if (!freeze) in __refrigerator() 136 * It's dangerous to freeze with locks held; there be dragons there. in __set_task_frozen() 154 * freeze_task - send a freeze request to given task 157 * 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 | 75 * followed by one of the suspend callbacks: @suspend(), @freeze(), or 100 * fails before the driver's suspend callback: @suspend(), @freeze() or 144 * @freeze: Hibernation-specific, executed before creating a hibernation image. 148 * @freeze() to save the device settings in memory to be used by @restore() 150 * Subsystem-level @freeze() is executed for all devices after invoking 153 * @freeze_late: Continue operations started by @freeze(). Analogous to 160 * Undo the changes made by the preceding @freeze(), so the device can be 161 * operated in the same way as immediately before the call to @freeze(). 164 * directly after @freeze() in case of a transition error. 202 * @freeze_noirq: Complete the actions started by @freeze(). Carry out any [all …]
|
| /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/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/fs/ |
| H A D | super.c | 1510 * fs_bdev_freeze - freeze owning filesystem of block device 1513 * Freeze the filesystem that owns this block device if it is still 1518 * unfrozen. Each block device can only freeze the filesystem once as we 1521 * Return: If the freeze was successful zero is returned. If the freeze 1555 * unfrozen. Each block device can only freeze the filesystem once as we 1562 * freeze or might be frozen from other block devices). 1597 .freeze = fs_bdev_freeze, 1939 /* This freeze already has a specific owner. */ in may_freeze() 1944 * going to take a reference count and mark the freeze as in may_freeze() 1987 * exclusive freeze. in may_unfreeze() [all …]
|
| /linux/tools/power/pm-graph/ |
| 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
|
| 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
|
| /linux/fs/xfs/scrub/ |
| H A D | fscounters.c | 38 * While we /could/ freeze the filesystem and scramble around the AGs counting 137 /* This should always succeed, we have a kernel freeze */ in xchk_fsthaw() 147 * freeze levels to put userspace to sleep, and the third freeze level to 163 /* Try to grab a kernel freeze. */ in xchk_fscounters_freeze() 580 * frozen, we treat the discrepancy as a corruption because the freeze in xchk_fscounters() 582 * userspace to call us back having granted us freeze permission. in xchk_fscounters()
|
| /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/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/arch/powerpc/platforms/85xx/ |
| H A D | mpc85xx_pm_ops.c | 57 static void mpc85xx_freeze_time_base(bool freeze) in mpc85xx_freeze_time_base() argument 62 if (freeze) in mpc85xx_freeze_time_base()
|
| /linux/tools/hv/ |
| H A D | hv_vss_daemon.c | 45 * FREEZE/THAW can succeed and the later ones will get in vss_do_freeze() 192 syslog(LOG_ERR, "FREEZE of %s failed; error:%d %s", in vss_operate() 195 syslog(LOG_ERR, "FREEZE of / failed; error:%d %s", save_errno, in vss_operate() 322 op == VSS_OP_FREEZE ? "FREEZE" : "THAW", in main()
|