| /linux/drivers/android/binder/ |
| H A D | freeze.rs | 28 /// The cookie of this freeze listener. 49 /// Under some scenarios, userspace may delete a freeze listener and immediately recreate it 60 /// Represents a notification that the freeze state has changed. 95 let freeze = freeze_entry.get_mut(); in do_work() localVariable 97 if freeze.num_cleared_duplicates > 0 { in do_work() 98 freeze.num_cleared_duplicates -= 1; in do_work() 105 if freeze.is_pending { in do_work() 108 if freeze.is_clearing { in do_work() 109 kernel::warn_on!(freeze.num_cleared_duplicates != 0); in do_work() 110 if freeze.num_pending_duplicates > 0 { in do_work() [all …]
|
| /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 …]
|
| /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/include/linux/fs/ |
| H A D | super.h | 33 * __sb_write_started - check if sb freeze level is held 35 * @level: the freeze level 37 * * > 0 - sb freeze level is held 38 * * 0 - sb freeze level is not held 73 * wanting to freeze the filesystem. 85 * Wake up possible waiters wanting to freeze the filesystem. 97 * waiters wanting to freeze the filesystem. 115 * Since freeze protection behaves as a lock, users have to preserve 116 * ordering of freeze protection and other filesystem locks. Generally, 117 * freeze protection should be the outermost lock. In particular, we have: [all …]
|
| H A D | super_types.h | 54 int freeze_kcount; /* How many kernel freeze requests? */ 55 int freeze_ucount; /* How many userspace freeze requests? */ 56 const void *freeze_owner; /* Owner of the freeze */ 61 * enum freeze_holder - holder of the freeze 62 * @FREEZE_HOLDER_KERNEL: kernel wants to freeze or thaw filesystem 63 * @FREEZE_HOLDER_USERSPACE: userspace wants to freeze or thaw filesystem 64 * @FREEZE_MAY_NEST: whether nesting freeze and thaw requests is allowed 65 * @FREEZE_EXCL: a freeze that can only be undone by the owner 67 * Indicate who the owner of the freeze or thaw request is and whether 68 * the freeze needs to be exclusive or can nest. [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/kernel/liveupdate/ |
| H A D | luo_file.c | 34 * - freeze(): A final pre-reboot opportunity to prepare the state for kexec. 37 * - unfreeze(): Undoes the actions of .freeze(), called if the live update 38 * is aborted after the freeze phase. 51 * 2. Freeze (Pre-Reboot): Just before the kexec, luo_file_freeze() is called. 52 * It iterates through all preserved files, calls their respective .freeze() 82 * 2. Freeze Failure: During the reboot() syscall, if any handler's .freeze() 129 * This handle is passed back to the handler's .freeze(), 154 * during the .freeze() callback before being serialized for the next kernel. 374 if (luo_file->fh->ops->freeze) { in luo_file_freeze_one() 382 err = luo_file->fh->ops->freeze(&args); in luo_file_freeze_one() [all …]
|
| /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/include/linux/ |
| H A D | liveupdate.h | 28 * @serialized_data: The opaque u64 handle, preserve/prepare/freeze may update 52 * @freeze: Optional. Final actions just before kernel transition. 53 * @unfreeze: Optional. Undo freeze operations. 70 int (*freeze)(struct liveupdate_file_op_args *args); member
|
| /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/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() 3913 struct binder_ref_freeze *freeze; in binder_request_freeze_notification() local 3916 freeze = kzalloc(sizeof(*freeze), GFP_KERNEL); in binder_request_freeze_notification() 3917 if (!freeze) in binder_request_freeze_notification() 3925 kfree(freeze); in binder_request_freeze_notification() 3930 if (ref->freeze) { in binder_request_freeze_notification() 3935 kfree(freeze); in binder_request_freeze_notification() 3940 INIT_LIST_HEAD(&freeze->work.entry); in binder_request_freeze_notification() [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/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/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()
|