Searched refs:total_swap_pages (Results 1 – 9 of 9) sorted by relevance
476 extern long total_swap_pages;483 return atomic_long_read(&nr_swap_pages) * 2 < total_swap_pages; in vm_swap_full()540 #define total_swap_pages 0L macro
265 oc->totalpages = totalram_pages() + total_swap_pages; in constrained_alloc()287 oc->totalpages = total_swap_pages; in constrained_alloc()300 oc->totalpages = total_swap_pages; in constrained_alloc()
944 allowed += total_swap_pages; in vm_commit_limit()1003 if (pages > totalram_pages() + total_swap_pages) in __vm_enough_memory()
64 long total_swap_pages; variable2320 total_swap_pages += p->pages; in _enable_swap_info()2448 total_swap_pages -= p->pages; in SYSCALL_DEFINE1()3259 val->totalswap = total_swap_pages + nr_to_be_unused; in si_swapinfo()
69 printk("Total swap = %lukB\n", total_swap_pages << (PAGE_SHIFT - 10)); in show_swap_cache_info()
1669 max += min(swap, (unsigned long)total_swap_pages); in mem_cgroup_get_max()1674 (unsigned long)total_swap_pages); in mem_cgroup_get_max()
1357 if (!total_swap_pages) in shmem_writepage()
3103 if (total_swap_pages > 0) in can_age_anon_pages()
552 unsigned long totalpages = totalram_pages() + total_swap_pages; in proc_oom_score()