Lines Matching refs:totalpages
150 const nodemask_t *nodemask, unsigned long totalpages) in oom_badness() argument
184 adj *= totalpages / 1000; in oom_badness()
200 unsigned long *totalpages) in constrained_alloc() argument
209 *totalpages = totalram_pages + total_swap_pages; in constrained_alloc()
227 *totalpages = total_swap_pages; in constrained_alloc()
229 *totalpages += node_spanned_pages(nid); in constrained_alloc()
240 *totalpages = total_swap_pages; in constrained_alloc()
242 *totalpages += node_spanned_pages(nid); in constrained_alloc()
250 unsigned long *totalpages) in constrained_alloc() argument
252 *totalpages = totalram_pages + total_swap_pages; in constrained_alloc()
258 unsigned long totalpages, const nodemask_t *nodemask, in oom_scan_process_thread() argument
295 unsigned long totalpages, const nodemask_t *nodemask, in select_bad_process() argument
306 switch (oom_scan_process_thread(p, totalpages, nodemask, in select_bad_process()
320 points = oom_badness(p, NULL, nodemask, totalpages); in select_bad_process()
334 *ppoints = chosen_points * 1000 / totalpages; in select_bad_process()
502 unsigned int points, unsigned long totalpages, in oom_kill_process() argument
552 totalpages); in oom_kill_process()
712 unsigned long totalpages; in __out_of_memory() local
742 &totalpages); in __out_of_memory()
750 oom_kill_process(current, gfp_mask, order, 0, totalpages, NULL, in __out_of_memory()
756 p = select_bad_process(&points, totalpages, mpol_mask, force_kill); in __out_of_memory()
763 oom_kill_process(p, gfp_mask, order, points, totalpages, NULL, in __out_of_memory()