Searched refs:total_swap_pages (Results 1 – 7 of 7) sorted by relevance
272 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()
939 allowed += total_swap_pages; in vm_commit_limit()998 if (pages > totalram_pages() + total_swap_pages) in __vm_enough_memory()
63 long total_swap_pages; variable2461 total_swap_pages += p->pages; in _enable_swap_info()2589 total_swap_pages -= p->pages; in SYSCALL_DEFINE1()3421 val->totalswap = total_swap_pages + nr_to_be_unused; in si_swapinfo()
81 printk("Total swap = %lukB\n", total_swap_pages << (PAGE_SHIFT - 10)); in show_swap_cache_info()
1639 (unsigned long)total_swap_pages); in mem_cgroup_get_max()1645 max += min(swap, (unsigned long)total_swap_pages); in mem_cgroup_get_max()
1373 if (!total_swap_pages) in shmem_writepage()
2937 if (total_swap_pages > 0) in can_age_anon_pages()