Home
last modified time | relevance | path

Searched full:frozen (Results 1 – 25 of 232) sorted by relevance

12345678910

/linux/kernel/cgroup/
H A Dfreezer.c15 static bool cgroup_update_frozen_flag(struct cgroup *cgrp, bool frozen) in cgroup_update_frozen_flag() argument
20 if (test_bit(CGRP_FROZEN, &cgrp->flags) == frozen) in cgroup_update_frozen_flag()
23 if (frozen) in cgroup_update_frozen_flag()
29 TRACE_CGROUP_PATH(notify_frozen, cgrp, frozen); in cgroup_update_frozen_flag()
34 * Propagate the cgroup frozen state upwards by the cgroup tree.
36 static void cgroup_propagate_frozen(struct cgroup *cgrp, bool frozen) in cgroup_propagate_frozen() argument
41 * If the new state is frozen, some freezing ancestor cgroups may change in cgroup_propagate_frozen()
42 * their state too, depending on if all their descendants are frozen. in cgroup_propagate_frozen()
44 * Otherwise, all ancestor cgroups are forced into the non-frozen state. in cgroup_propagate_frozen()
47 if (frozen) { in cgroup_propagate_frozen()
[all …]
H A Dlegacy_freezer.c29 * set if "FROZEN" is written to freezer.state cgroupfs file, and cleared
38 CGROUP_FROZEN = (1 << 3), /* this and its descendants frozen */
80 return "FROZEN"; in freezer_state_strs()
171 * For simplicity, when migrating any task to a FROZEN cgroup, we in freezer_attach()
176 * current state before executing the following - !frozen tasks may in freezer_attach()
177 * be visible in a FROZEN cgroup and frozen tasks in a THAWED one. in freezer_attach()
185 /* clear FROZEN and propagate upwards */ in freezer_attach()
236 * Once FREEZING is initiated, transition to FROZEN is lazily updated by
237 * calling this function. If the current state is FREEZING but not FROZEN,
239 * cgroups finished freezing and, if so, sets FROZEN.
[all …]
/linux/kernel/
H A Dfreezer.c27 /* protects freezing and frozen transitions */
31 * freezing_slow_path - slow path for testing whether a task needs to be frozen
35 * and tests whether @p needs to enter and stay in frozen state. Can be
57 bool frozen(struct task_struct *p) in frozen() function
62 /* Refrigerator is place where frozen processes are stored :-). */
162 * %false, if @p is not freezing or already frozen; %true, otherwise
169 if (!freezing(p) || frozen(p) || __freeze_task(p)) { in freeze_task()
206 if (frozen(p) && !task_call_func(p, __restore_freezer_state, NULL)) in __thaw_task()
211 * thaw_process - Thaw a frozen process
238 * freezer notices that we aren't frozen yet or the freezing in set_freezable()
/linux/tools/testing/selftests/cgroup/
H A Dtest_freezer.c25 * Check if the cgroup is frozen by looking at the cgroup.events::frozen value.
27 static int cg_check_frozen(const char *cgroup, bool frozen) in cg_check_frozen() argument
29 if (frozen) { in cg_check_frozen()
30 if (cg_read_strstr(cgroup, "cgroup.events", "frozen 1") != 0) { in cg_check_frozen()
31 debug("Cgroup %s isn't frozen\n", cgroup); in cg_check_frozen()
36 * Check the cgroup.events::frozen value. in cg_check_frozen()
38 if (cg_read_strstr(cgroup, "cgroup.events", "frozen 0") != 0) { in cg_check_frozen()
39 debug("Cgroup %s is frozen\n", cgroup); in cg_check_frozen()
56 * Attach a task to the given cgroup and wait for a cgroup frozen event.
60 bool frozen) in cg_enter_and_wait_for_frozen() argument
[all …]
/linux/fs/
H A Dsuper.c1025 if (sb->s_writers.frozen != SB_UNFROZEN) in reconfigure_super()
1049 if (sb->s_writers.frozen != SB_UNFROZEN) in reconfigure_super()
1158 * emergency_thaw_all -- forcibly thaw every frozen filesystem
1516 * A filesystem that owns multiple block devices may be frozen from each
1553 * A filesystem that owns multiple block devices may be frozen from each
1561 * as it may have been frozen multiple times (kernel may hold a
1562 * freeze or might be frozen from other block devices).
1572 * The block device may have been frozen before it was claimed by a in fs_bdev_thaw()
1574 * frozen block device and has temporarily claimed the block device for in fs_bdev_thaw()
1628 * It is enough to check bdev was not frozen before we set in setup_bdev_super()
[all …]
/linux/kernel/power/
H A Duser.c35 bool frozen; member
96 data->frozen = false; in snapshot_open()
118 if (data->frozen) { in snapshot_release()
278 if (data->frozen) in snapshot_ioctl()
291 data->frozen = true; in snapshot_ioctl()
296 if (!data->frozen || data->ready) in snapshot_ioctl()
302 data->frozen = false; in snapshot_ioctl()
306 if (data->mode != O_RDONLY || !data->frozen || data->ready) { in snapshot_ioctl()
323 if (data->mode != O_WRONLY || !data->frozen || in snapshot_ioctl()
389 if (!data->frozen) { in snapshot_ioctl()
[all …]
H A Dprocess.c101 if (p != current && freezing(p) && !frozen(p)) in try_to_freeze_tasks()
116 * The current thread will not be frozen. The same process that calls
129 /* Make sure this task doesn't get frozen */ in freeze_processes()
143 * Now that the whole userspace is frozen we need to disable in freeze_processes()
/linux/Documentation/power/
H A Dfreezing-of-tasks.rst35 is regarded as 'frozen' and so the set of functions handling this mechanism is
38 tasks are generally frozen before kernel threads.
42 if the task is to be frozen and makes the task enter __refrigerator().
71 If a freezable kernel thread is not put to the frozen state after the freezer
79 order to wake up each frozen task. Then, the tasks that have been frozen leave
167 be frozen before the driver's .suspend() callback is executed and it will be
179 if this process is not frozen, it may notice that the number of CPUs has
190 and B is frozen in the meantime, then A will be blocked until B is thawed, which
211 fail, because the user land process that should respond to the request is frozen
246 "frozen enough" as it is blocked on 'system_transition_mutex', which will be
H A Duserland-swsusp.rst38 not frozen); this is required for SNAPSHOT_CREATE_IMAGE
42 thaw user space processes frozen by SNAPSHOT_FREEZE
133 unfreeze user space processes frozen by SNAPSHOT_UNFREEZE if they are
134 still frozen when the device is being closed).
/linux/fs/xfs/scrub/
H A Dfscounters.c173 fsc->frozen = true; in xchk_fscounters_freeze()
186 if (!fsc->frozen) in xchk_fscounters_cleanup()
191 xfs_emerg(sc->mp, "still frozen after scrub, err=%d", error); in xchk_fscounters_cleanup()
193 fsc->frozen = false; in xchk_fscounters_cleanup()
231 * This requires the fs to be frozen, which will disable background in xchk_setup_fscounters()
531 * If the filesystem is not frozen, the counter summation calls above in xchk_fscounters()
540 if (!fsc->frozen) in xchk_fscounters()
580 * frozen, we treat the discrepancy as a corruption because the freeze in xchk_fscounters()
586 if (fsc->frozen) in xchk_fscounters()
593 if (fsc->frozen) in xchk_fscounters()
[all …]
H A Dfscounters_repair.c39 * function is stricter when we've frozen the fs.
58 if (!fsc->frozen) { in xrep_fscounters()
59 ASSERT(fsc->frozen); in xrep_fscounters()
/linux/include/trace/events/
H A Dmptcp.h83 __field(u8, frozen)
102 __entry->frozen = mpext->frozen;
109 …u csum=%x use_map=%u dsn64=%u data_fin=%u use_ack=%u ack64=%u mpc_map=%u frozen=%u reset_transient…
115 __entry->mpc_map, __entry->frozen,
/linux/arch/powerpc/platforms/powernv/
H A Deeh-powernv.c155 * to clear frozen PE during PCI config access. in pnv_eeh_enable_phbs()
394 * the PE becomes frozen for the first time and the flag has in pnv_eeh_probe()
546 * Check PHB state. If the PHB is frozen for the in pnv_eeh_get_phb_state()
574 * We don't clobber hardware frozen state until PE in pnv_eeh_get_pe_state()
646 * If the PE is switching to frozen state for the in pnv_eeh_get_pe_state()
1047 * frozen state during PE reset. However, the good idea here from in pnv_eeh_reset()
1048 * benh is to keep frozen state before we get PE reset done completely in pnv_eeh_reset()
1049 * (until BAR restore). With the frozen state, HW drops illegal IO in pnv_eeh_reset()
1050 * or MMIO access, which can incur recursive frozen PE during PE in pnv_eeh_reset()
1051 * reset. The side effect is that EEH core has to clear the frozen in pnv_eeh_reset()
[all …]
/linux/include/linux/
H A Dfreezer.h25 * Check if a process has been frozen
27 extern bool frozen(struct task_struct *p);
75 static inline bool frozen(struct task_struct *p) { return false; } in frozen() function
H A Djournal-head.h56 * Copy of the buffer data frozen for writing to the log.
110 /* Trigger type for the committing transaction's frozen data */
/linux/Documentation/driver-api/pm/
H A Dnotifiers.rst22 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/Documentation/admin-guide/pm/
H A Dsuspend-flows.rst58 Tasks are frozen primarily in order to avoid unchecked hardware accesses
68 The kernel threads that choose to be frozen during system suspend for
69 specific reasons are frozen subsequently, but they are not intercepted.
71 to be frozen and to put themselves into uninterruptible sleep if so. [Note,
152 Tasks frozen in step 2 of the preceding `suspend <s2idle_suspend_>`_
/linux/arch/powerpc/kernel/
H A Deeh_driver.c332 eeh_edev_info(edev, "Invoking %s->error_detected(IO frozen)", in eeh_report_error()
558 * Explicitly clear PE's frozen state for PowerNV where
559 * we have frozen PE until BAR restore is completed. It's
561 * PE reset (for 3 times), we try to clear the frozen state
677 /* Clear frozen state */ in eeh_reset_device()
755 * the upstream bridge is also frozen, or the bridge is part of the same PE
824 * slot, the associated PE will be frozen. Besides, DMA's occurring
872 pr_warn("EEH: Frozen PHB#%x-PE#%x is empty!\n", in eeh_handle_normal_event()
908 pr_err("EEH: Frozen PHB#%x-PE#%x detected\n", in eeh_handle_normal_event()
949 eeh_pe_report("error_detected(IO frozen)", pe, in eeh_handle_normal_event()
[all …]
H A Deeh.c95 * EEH allowed maximal frozen times. If one particular PE's
96 * frozen count in last hour exceeds this limit, the PE will
318 * when their PEs are in frozen state. Otherwise, fenced in eeh_slot_error_detail()
354 * For that case, it's meaningless to recover frozen PE. Intead,
464 * been frozen. in eeh_dev_check_failure()
529 * put into frozen state as well. We should take care in eeh_dev_check_failure()
538 /* Frozen parent PE ? */ in eeh_dev_check_failure()
564 pr_debug("EEH: %s: Frozen PHB#%x-PE#%x detected\n", in eeh_dev_check_failure()
611 * This routine should be called to reenable frozen MMIO or DMA
1168 /* Frozen PE, check if it needs PE level reset */ in eeh_pe_change_owner()
[all …]
/linux/include/uapi/linux/android/
H A Dbinder.h229 /* process received sync transactions since last frozen
230 * bit 0: received sync transaction after being frozen
235 /* process received async transactions since last frozen */
462 * a bcATTEMPT_ACQUIRE) is frozen. No parameters.
474 * The target of the last async transaction is frozen. No parameters.
480 * transitioned into a frozen or an unfrozen state.
/linux/tools/testing/selftests/powerpc/pmu/ebb/
H A Dback_to_back_ebbs_test.c24 * counter frozen once we've taken enough EBBs.
45 /* Reset but leave counters frozen */ in ebb_callee()
H A Dcycles_with_freeze_test.c43 trace_log_string(ebb_state.trace, "frozen"); in ebb_callee()
104 printf("EBBs while frozen %d\n", ebbs_while_frozen); in cycles_with_freeze()
/linux/fs/xfs/
H A Dxfs_notify_failure.c132 xfs_emerg(mp, "already frozen by kernel, err=%d", error); in xfs_dax_notify_failure_freeze()
148 xfs_emerg(mp, "still frozen after notify failure, err=%d", in xfs_dax_notify_failure_thaw()
276 * - If kernel frozen state is hold successfully here, thaw it in xfs_dax_notify_dev_failure()
353 /* Thaw the fs if it has been frozen before. */ in xfs_dax_notify_dev_failure()
/linux/Documentation/arch/riscv/
H A Dpatch-acceptance.rst42 specifications from the RISC-V foundation this means "Frozen" or
54 - Have been officially frozen or ratified by the RISC-V Foundation, or
/linux/tools/bpf/bpftool/
H A Dmap.c471 int frozen = 0; in show_map_close_json() local
474 frozen_str = get_fdinfo(fd, "frozen"); in show_map_close_json()
516 frozen = atoi(frozen_str); in show_map_close_json()
519 jsonw_int_field(json_wtr, "frozen", frozen); in show_map_close_json()
564 int frozen = 0; in show_map_close_plain() local
567 frozen_str = get_fdinfo(fd, "frozen"); in show_map_close_plain()
610 frozen = atoi(frozen_str); in show_map_close_plain()
614 if (info->btf_id || frozen) in show_map_close_plain()
620 if (frozen) in show_map_close_plain()

12345678910