Lines Matching full: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()
362 * 'points'. In case scan was aborted, oc->chosen is set to -1.
1015 struct task_struct *victim = oc->chosen; in oom_kill_process()
1155 oc->chosen = current; in out_of_memory()
1162 if (!oc->chosen) { in out_of_memory()
1173 if (oc->chosen && oc->chosen != (void *)-1UL) in out_of_memory()
1176 return !!oc->chosen; in out_of_memory()