Lines Matching refs:task_struct

57 static bool has_intersects_mems_allowed(struct task_struct *start,  in has_intersects_mems_allowed()
60 struct task_struct *tsk; in has_intersects_mems_allowed()
88 static bool has_intersects_mems_allowed(struct task_struct *tsk, in has_intersects_mems_allowed()
101 struct task_struct *find_lock_task_mm(struct task_struct *p) in find_lock_task_mm()
103 struct task_struct *t; in find_lock_task_mm()
121 static bool oom_unkillable_task(struct task_struct *p, in oom_unkillable_task()
149 unsigned long oom_badness(struct task_struct *p, struct mem_cgroup *memcg, in oom_badness()
257 enum oom_scan_t oom_scan_process_thread(struct task_struct *task, in oom_scan_process_thread()
294 static struct task_struct *select_bad_process(unsigned int *ppoints, in select_bad_process()
298 struct task_struct *g, *p; in select_bad_process()
299 struct task_struct *chosen = NULL; in select_bad_process()
316 return (struct task_struct *)(-1UL); in select_bad_process()
351 struct task_struct *p; in dump_tasks()
352 struct task_struct *task; in dump_tasks()
382 static void dump_header(struct task_struct *p, gfp_t gfp_mask, int order, in dump_header()
417 void mark_tsk_oom_victim(struct task_struct *tsk) in mark_tsk_oom_victim()
501 void oom_kill_process(struct task_struct *p, gfp_t gfp_mask, int order, in oom_kill_process()
506 struct task_struct *victim = p; in oom_kill_process()
507 struct task_struct *child; in oom_kill_process()
508 struct task_struct *t; in oom_kill_process()
711 struct task_struct *p; in __out_of_memory()