Lines Matching refs:p
34 struct task_struct *g, *p; in try_to_freeze_tasks() local
55 for_each_process_thread(g, p) { in try_to_freeze_tasks()
56 if (p == current || !freeze_task(p)) in try_to_freeze_tasks()
104 for_each_process_thread(g, p) { in try_to_freeze_tasks()
105 if (p != current && freezing(p) && !frozen(p)) { in try_to_freeze_tasks()
106 sched_show_task(p); in try_to_freeze_tasks()
107 trace_android_vh_try_to_freeze_todo_unfrozen(p); in try_to_freeze_tasks()
189 struct task_struct *g, *p; in thaw_processes() local
208 for_each_process_thread(g, p) { in thaw_processes()
210 WARN_ON((p != curr) && (p->flags & PF_SUSPEND_TASK)); in thaw_processes()
211 __thaw_task(p); in thaw_processes()
227 struct task_struct *g, *p; in thaw_kernel_threads() local
235 for_each_process_thread(g, p) { in thaw_kernel_threads()
236 if (p->flags & PF_KTHREAD) in thaw_kernel_threads()
237 __thaw_task(p); in thaw_kernel_threads()