Lines Matching refs:totalpages

160 			  const nodemask_t *nodemask, unsigned long totalpages)  in oom_badness()  argument
194 adj *= totalpages / 1000; in oom_badness()
209 unsigned long *totalpages) in constrained_alloc() argument
218 *totalpages = totalram_pages + total_swap_pages; in constrained_alloc()
237 *totalpages = total_swap_pages; in constrained_alloc()
239 *totalpages += node_spanned_pages(nid); in constrained_alloc()
250 *totalpages = total_swap_pages; in constrained_alloc()
252 *totalpages += node_spanned_pages(nid); in constrained_alloc()
259 unsigned long *totalpages) in constrained_alloc() argument
261 *totalpages = totalram_pages + total_swap_pages; in constrained_alloc()
267 struct task_struct *task, unsigned long totalpages) in oom_scan_process_thread() argument
301 unsigned int *ppoints, unsigned long totalpages) in select_bad_process() argument
311 switch (oom_scan_process_thread(oc, p, totalpages)) { in select_bad_process()
324 points = oom_badness(p, NULL, oc->nodemask, totalpages); in select_bad_process()
338 *ppoints = chosen_points * 1000 / totalpages; in select_bad_process()
510 unsigned int points, unsigned long totalpages, in oom_kill_process() argument
557 totalpages); in oom_kill_process()
676 unsigned long totalpages; in out_of_memory() local
707 constraint = constrained_alloc(oc, &totalpages); in out_of_memory()
716 oom_kill_process(oc, current, 0, totalpages, NULL, in out_of_memory()
721 p = select_bad_process(oc, &points, totalpages); in out_of_memory()
728 oom_kill_process(oc, p, points, totalpages, NULL, in out_of_memory()