Home
last modified time | relevance | path

Searched refs:total_swap_pages (Results 1 – 7 of 7) sorted by relevance

/mm/
Doom_kill.c272 oc->totalpages = totalram_pages() + total_swap_pages; in constrained_alloc()
294 oc->totalpages = total_swap_pages; in constrained_alloc()
307 oc->totalpages = total_swap_pages; in constrained_alloc()
Dutil.c939 allowed += total_swap_pages; in vm_commit_limit()
998 if (pages > totalram_pages() + total_swap_pages) in __vm_enough_memory()
Dswapfile.c62 long total_swap_pages; variable
2460 total_swap_pages += p->pages; in _enable_swap_info()
2587 total_swap_pages -= p->pages; in SYSCALL_DEFINE1()
3411 val->totalswap = total_swap_pages + nr_to_be_unused; in si_swapinfo()
Dswap_state.c81 printk("Total swap = %lukB\n", total_swap_pages << (PAGE_SHIFT - 10)); in show_swap_cache_info()
Dmemcontrol.c1618 (unsigned long)total_swap_pages); in mem_cgroup_get_max()
1624 max += min(swap, (unsigned long)total_swap_pages); in mem_cgroup_get_max()
Dshmem.c1373 if (!total_swap_pages) in shmem_writepage()
Dvmscan.c2915 if (total_swap_pages > 0) in can_age_anon_pages()