Lines Matching refs:p
35 struct task_struct *g, *p; in try_to_freeze_tasks() local
54 for_each_process_thread(g, p) { in try_to_freeze_tasks()
55 if (p == current || !freeze_task(p)) in try_to_freeze_tasks()
58 if (!freezer_should_skip(p)) in try_to_freeze_tasks()
106 for_each_process_thread(g, p) { in try_to_freeze_tasks()
107 if (p != current && !freezer_should_skip(p) in try_to_freeze_tasks()
108 && freezing(p) && !frozen(p)) { in try_to_freeze_tasks()
109 sched_show_task(p); in try_to_freeze_tasks()
110 trace_android_vh_try_to_freeze_todo_unfrozen(p); in try_to_freeze_tasks()
200 struct task_struct *g, *p; in thaw_processes() local
219 for_each_process_thread(g, p) { in thaw_processes()
221 WARN_ON((p != curr) && (p->flags & PF_SUSPEND_TASK)); in thaw_processes()
222 __thaw_task(p); in thaw_processes()
238 struct task_struct *g, *p; in thaw_kernel_threads() local
246 for_each_process_thread(g, p) { in thaw_kernel_threads()
247 if (p->flags & (PF_KTHREAD | PF_WQ_WORKER)) in thaw_kernel_threads()
248 __thaw_task(p); in thaw_kernel_threads()