H A D | oom_kill.c | 153 * @totalpages: total present RAM allowed for page allocation 160 const nodemask_t *nodemask, unsigned long totalpages) oom_badness() 194 adj *= totalpages / 1000; oom_badness() 209 unsigned long *totalpages) constrained_alloc() 218 *totalpages = totalram_pages + total_swap_pages; constrained_alloc() 237 *totalpages = total_swap_pages; constrained_alloc() 239 *totalpages += node_spanned_pages(nid); constrained_alloc() 250 *totalpages = total_swap_pages; constrained_alloc() 252 *totalpages += node_spanned_pages(nid); constrained_alloc() 259 unsigned long *totalpages) constrained_alloc() 261 *totalpages = totalram_pages + total_swap_pages; constrained_alloc() 267 struct task_struct *task, unsigned long totalpages) oom_scan_process_thread() 301 unsigned int *ppoints, unsigned long totalpages) select_bad_process() 311 switch (oom_scan_process_thread(oc, p, totalpages)) { for_each_process_thread() 324 points = oom_badness(p, NULL, oc->nodemask, totalpages); for_each_process_thread() 338 *ppoints = chosen_points * 1000 / totalpages; 510 unsigned int points, unsigned long totalpages, oom_kill_process() 557 totalpages); for_each_thread() 676 unsigned long totalpages; out_of_memory() local 707 constraint = constrained_alloc(oc, &totalpages); out_of_memory() 716 oom_kill_process(oc, current, 0, totalpages, NULL, out_of_memory() 721 p = select_bad_process(oc, &points, totalpages); out_of_memory() 728 oom_kill_process(oc, p, points, totalpages, NULL, out_of_memory() 159 oom_badness(struct task_struct *p, struct mem_cgroup *memcg, const nodemask_t *nodemask, unsigned long totalpages) oom_badness() argument 208 constrained_alloc(struct oom_control *oc, unsigned long *totalpages) constrained_alloc() argument 258 constrained_alloc(struct oom_control *oc, unsigned long *totalpages) constrained_alloc() argument 266 oom_scan_process_thread(struct oom_control *oc, struct task_struct *task, unsigned long totalpages) oom_scan_process_thread() argument 300 select_bad_process(struct oom_control *oc, unsigned int *ppoints, unsigned long totalpages) select_bad_process() argument 509 oom_kill_process(struct oom_control *oc, struct task_struct *p, unsigned int points, unsigned long totalpages, struct mem_cgroup *memcg, const char *message) oom_kill_process() argument
|