totalpages 550 fs/proc/base.c unsigned long totalpages = totalram_pages() + total_swap_pages; totalpages 553 fs/proc/base.c points = oom_badness(task, totalpages) * 1000 / totalpages; totalpages 49 include/linux/oom.h unsigned long totalpages; totalpages 111 include/linux/oom.h unsigned long totalpages); totalpages 373 mm/frontswap.c unsigned long totalpages = 0; totalpages 378 mm/frontswap.c totalpages += atomic_read(&si->frontswap_pages); totalpages 379 mm/frontswap.c return totalpages; totalpages 472 mm/frontswap.c unsigned long totalpages = 0; totalpages 475 mm/frontswap.c totalpages = __frontswap_curr_pages(); totalpages 478 mm/frontswap.c return totalpages; totalpages 198 mm/oom_kill.c unsigned long oom_badness(struct task_struct *p, unsigned long totalpages) totalpages 232 mm/oom_kill.c adj *= totalpages / 1000; totalpages 261 mm/oom_kill.c oc->totalpages = mem_cgroup_get_max(oc->memcg) ?: 1; totalpages 266 mm/oom_kill.c oc->totalpages = totalram_pages() + total_swap_pages; totalpages 288 mm/oom_kill.c oc->totalpages = total_swap_pages; totalpages 290 mm/oom_kill.c oc->totalpages += node_present_pages(nid); totalpages 301 mm/oom_kill.c oc->totalpages = total_swap_pages; totalpages 303 mm/oom_kill.c oc->totalpages += node_present_pages(nid); totalpages 342 mm/oom_kill.c points = oom_badness(task, oc->totalpages); totalpages 6545 mm/page_alloc.c unsigned long realtotalpages = 0, totalpages = 0; totalpages 6569 mm/page_alloc.c totalpages += size; totalpages 6573 mm/page_alloc.c pgdat->node_spanned_pages = totalpages; totalpages 7085 mm/page_alloc.c unsigned long totalpages = 0; totalpages 7092 mm/page_alloc.c totalpages += pages; totalpages 7096 mm/page_alloc.c return totalpages; totalpages 7112 mm/page_alloc.c unsigned long totalpages = early_calculate_totalpages(); totalpages 7174 mm/page_alloc.c required_kernelcore = (totalpages * 100 * required_kernelcore_percent) / totalpages 7177 mm/page_alloc.c required_movablecore = (totalpages * 100 * required_movablecore_percent) / totalpages 7197 mm/page_alloc.c required_movablecore = min(totalpages, required_movablecore); totalpages 7198 mm/page_alloc.c corepages = totalpages - required_movablecore; totalpages 7207 mm/page_alloc.c if (!required_kernelcore || required_kernelcore >= totalpages)