Lines Matching refs:p
32 struct task_struct *g, *p; in try_to_freeze_tasks() local
53 for_each_process_thread(g, p) { in try_to_freeze_tasks()
54 if (p == current || !freeze_task(p)) in try_to_freeze_tasks()
100 for_each_process_thread(g, p) { in try_to_freeze_tasks()
101 if (p != current && freezing(p) && !frozen(p)) in try_to_freeze_tasks()
102 sched_show_task(p); in try_to_freeze_tasks()
181 struct task_struct *g, *p; in thaw_processes() local
200 for_each_process_thread(g, p) { in thaw_processes()
202 WARN_ON((p != curr) && (p->flags & PF_SUSPEND_TASK)); in thaw_processes()
203 __thaw_task(p); in thaw_processes()
219 struct task_struct *g, *p; in thaw_kernel_threads() local
227 for_each_process_thread(g, p) { in thaw_kernel_threads()
228 if (p->flags & PF_KTHREAD) in thaw_kernel_threads()
229 __thaw_task(p); in thaw_kernel_threads()