Lines Matching refs:task_struct

58 static bool has_intersects_mems_allowed(struct task_struct *start,  in has_intersects_mems_allowed()
61 struct task_struct *tsk; in has_intersects_mems_allowed()
89 static bool has_intersects_mems_allowed(struct task_struct *tsk, in has_intersects_mems_allowed()
102 struct task_struct *find_lock_task_mm(struct task_struct *p) in find_lock_task_mm()
104 struct task_struct *t; in find_lock_task_mm()
131 static bool oom_unkillable_task(struct task_struct *p, in oom_unkillable_task()
159 unsigned long oom_badness(struct task_struct *p, struct mem_cgroup *memcg, in oom_badness()
267 struct task_struct *task, unsigned long totalpages) in oom_scan_process_thread()
300 static struct task_struct *select_bad_process(struct oom_control *oc, in select_bad_process()
303 struct task_struct *g, *p; in select_bad_process()
304 struct task_struct *chosen = NULL; in select_bad_process()
320 return (struct task_struct *)(-1UL); in select_bad_process()
355 struct task_struct *p; in dump_tasks()
356 struct task_struct *task; in dump_tasks()
386 static void dump_header(struct oom_control *oc, struct task_struct *p, in dump_header()
418 void mark_oom_victim(struct task_struct *tsk) in mark_oom_victim()
492 static bool process_shares_mm(struct task_struct *p, struct mm_struct *mm) in process_shares_mm()
494 struct task_struct *t; in process_shares_mm()
509 void oom_kill_process(struct oom_control *oc, struct task_struct *p, in oom_kill_process()
513 struct task_struct *victim = p; in oom_kill_process()
514 struct task_struct *child; in oom_kill_process()
515 struct task_struct *t; in oom_kill_process()
675 struct task_struct *p; in out_of_memory()