Searched refs:freezing (Results 1 - 24 of 24) sorted by relevance

/linux-master/include/linux/
H A Dfreezer.h16 extern bool pm_freezing; /* PM freezing in effect */
17 extern bool pm_nosig_freezing; /* PM nosig freezing in effect */
34 static inline bool freezing(struct task_struct *p) function
54 if (likely(!freezing(current)))
75 static inline bool freezing(struct task_struct *p) { return false; } function
/linux-master/kernel/
H A Dfreezer.c15 /* total number of freezing conditions in effect */
20 * indicate whether PM freezing is in effect, protected by
26 /* protects freezing and frozen transitions */
33 * This function is called by freezing() if freezer_active isn't zero
81 freeze = freezing(current) && !(check_kthr_stop && kthread_should_stop());
151 * If @p is freezing, the freeze request is sent either by sending a fake
156 * %false, if @p is not freezing or already frozen; %true, otherwise
163 if (!freezing(p) || frozen(p) || __freeze_task(p)) {
202 if (WARN_ON_ONCE(freezing(p)))
224 * freezer notices that we aren't frozen yet or the freezing
[all...]
H A Dkthread.c209 if (unlikely(freezing(current)))
795 * when they finish. There is defined a safe point for freezing when one work
847 } else if (!freezing(current))
H A Dsignal.c177 if (!recalc_sigpending_tsk(current) && !freezing(current))
2692 * Do this once, we can't return to user-mode if freezing() == T.
/linux-master/fs/jffs2/
H A Dbackground.c122 while (signal_pending(current) || freezing(current)) {
/linux-master/kernel/power/
H A Dprocess.c75 * We need to retry, but first give the freezing tasks some
101 if (p != current && freezing(p) && !frozen(p))
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dbcmsdh.c55 atomic_t freezing; member in struct:brcmf_sdiod_freezer
796 atomic_set(&sdiodev->freezer->freezing, 0);
805 WARN_ON(atomic_read(&sdiodev->freezer->freezing));
818 atomic_set(&sdiodev->freezer->freezing, 1);
833 atomic_set(&sdiodev->freezer->freezing, 0);
840 atomic_read(&sdiodev->freezer->freezing);
/linux-master/fs/bcachefs/
H A Dmovinggc.c217 if (kthread_should_stop() || freezing(current))
345 if (unlikely(freezing(current))) {
H A Dmove.c508 freezing(current) ||
512 if (unlikely(freezing(current))) {
/linux-master/fs/xfs/
H A Dxfs_discard.c298 return fatal_signal_pending(current) || freezing(current);
/linux-master/drivers/char/tpm/st33zp24/
H A Dst33zp24.c229 if (ret == -ERESTARTSYS && freezing(current))
247 } while (ret == -ERESTARTSYS && freezing(current));
/linux-master/drivers/char/tpm/
H A Dxen-tpmfront.c85 if (rc == -ERESTARTSYS && freezing(current)) {
H A Dtpm_tis_core.c103 if (rc == -ERESTARTSYS && freezing(current)) {
217 if (rc == -ERESTARTSYS && freezing(current)) {
/linux-master/kernel/cgroup/
H A Dlegacy_freezer.c28 * A cgroup is freezing if any FREEZING flags are set. FREEZING_SELF is
36 CGROUP_FREEZING_SELF = (1 << 1), /* this freezer is freezing */
37 CGROUP_FREEZING_PARENT = (1 << 2), /* the parent freezer is freezing */
109 * parent's freezing state while holding both parent's and our
241 * update_if_frozen - update whether a cgroup finished freezing
247 * cgroups finished freezing and, if so, sets FROZEN.
286 if (freezing(task) && !frozen(task))
351 * freezing or thawing as necessary.
382 * freezer_change_state - change the freezing state of a cgroup_freezer
/linux-master/drivers/tty/serial/
H A Dmax3100.c177 if (!s->force_end_work && !freezing(current) && !s->suspending)
314 !freezing(current) &&
/linux-master/kernel/time/
H A Dalarmtimer.c802 if (freezing(current))
/linux-master/fs/
H A Dcoredump.c459 * SIGKILL or freezing() interrupt the coredumping. Perhaps we
464 return fatal_signal_pending(current) || freezing(current);
/linux-master/fs/jfs/
H A Djfs_txnmgr.c2752 if (freezing(current)) {
2942 if (freezing(current)) {
H A Djfs_logmgr.c2325 if (freezing(current)) {
/linux-master/fs/jbd2/
H A Djournal.c207 if (freezing(current)) {
/linux-master/mm/
H A Dksm.c2752 while (npages-- && likely(!freezing(current))) {
H A Dvmscan.c7006 if (freezing(current) || kthread_should_stop())
/linux-master/fs/nilfs2/
H A Dsegment.c2579 if (freezing(current)) {
/linux-master/fs/ext4/
H A Dmballoc.c6772 return fatal_signal_pending(current) || freezing(current);

Completed in 343 milliseconds