| /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 | 332 * @freeze: whether to freeze or unfreeze 335 * Set or clear @state on @cgroup according to @freeze, and perform 338 static void freezer_apply_state(struct freezer *freezer, bool freeze, in freezer_apply_state() argument 347 if (freeze) { in freezer_apply_state() 369 * @freeze: whether to freeze or thaw 371 * Freeze or thaw @freezer according to @freeze. The operations are 374 static void freezer_change_state(struct freezer *freezer, bool freeze) in freezer_change_state() argument 395 freezer_apply_state(pos_f, freeze, in freezer_change_state() 413 bool freeze; in freezer_write() local 418 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
|
| /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/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/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/drivers/fpga/ |
| H A D | altera-freeze-bridge.c | 3 * FPGA Freeze Bridge Controller 29 #define FREEZE_BRIDGE_NAME "freeze" 202 { .compatible = "altr,freeze-bridge-controller", }, 273 MODULE_DESCRIPTION("Altera Freeze Bridge");
|
| /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/drivers/android/ |
| H A D | binder.c | 1225 if (ref->freeze) { in binder_cleanup_ref_olocked() 1226 binder_dequeue_work(ref->proc, &ref->freeze->work); in binder_cleanup_ref_olocked() 1357 kfree(ref->freeze); in binder_free_ref() 3941 struct binder_ref_freeze *freeze; in binder_request_freeze_notification() local 3944 freeze = kzalloc_obj(*freeze); in binder_request_freeze_notification() 3945 if (!freeze) in binder_request_freeze_notification() 3953 kfree(freeze); in binder_request_freeze_notification() 3958 if (ref->freeze) { in binder_request_freeze_notification() 3963 kfree(freeze); in binder_request_freeze_notification() 3968 INIT_LIST_HEAD(&freeze->work.entry); in binder_request_freeze_notification() [all …]
|
| /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/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/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/drivers/scsi/ |
| H A D | scsi_pm.c | 29 return pm && pm->freeze ? pm->freeze(dev) : 0; in do_scsi_freeze() 265 .freeze = scsi_bus_freeze,
|
| /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()
|
| /linux/fs/ |
| H A D | super.c | 1553 * fs_bdev_freeze - freeze every superblock using a block device 1556 * Freeze each live superblock using @bdev. A superblock owning several block 1587 * of them failed to freeze and swallow the error: rolling the rest back in fs_bdev_freeze() 1639 .freeze = fs_bdev_freeze, 1703 * removal/sync/freeze/thaw are propagated to @sb (and any other superblock 1736 * uses it, so device removal/sync/freeze/thaw are propagated to @sb (and any 2135 /* This freeze already has a specific owner. */ in may_freeze() 2140 * going to take a reference count and mark the freeze as in may_freeze() 2183 * exclusive freeze. in may_unfreeze() 2210 * @who: context that wants to freeze [all …]
|