Lines Matching refs:chosen
346 if (oc->chosen) in oom_evaluate_task()
347 put_task_struct(oc->chosen); in oom_evaluate_task()
349 oc->chosen = task; in oom_evaluate_task()
354 if (oc->chosen) in oom_evaluate_task()
355 put_task_struct(oc->chosen); in oom_evaluate_task()
356 oc->chosen = (void *)-1UL; in oom_evaluate_task()
1012 struct task_struct *victim = oc->chosen; in oom_kill_process()
1150 oc->chosen = current; in out_of_memory()
1157 if (!oc->chosen) { in out_of_memory()
1168 if (oc->chosen && oc->chosen != (void *)-1UL) in out_of_memory()
1171 return !!oc->chosen; in out_of_memory()