Searched refs:total_swap_pages (Results 1 – 9 of 9) sorted by relevance
443 extern long total_swap_pages;450 return atomic_long_read(&nr_swap_pages) * 2 < total_swap_pages; in vm_swap_full()507 #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()
814 allowed += total_swap_pages; in vm_commit_limit()873 if (pages > totalram_pages() + total_swap_pages) in __vm_enough_memory()
62 long total_swap_pages; variable2489 total_swap_pages += p->pages; in _enable_swap_info()2617 total_swap_pages -= p->pages; in SYSCALL_DEFINE1()3426 val->totalswap = total_swap_pages + nr_to_be_unused; in si_swapinfo()
107 printk("Total swap = %lukB\n", total_swap_pages << (PAGE_SHIFT - 10)); in show_swap_cache_info()
2534 if (total_swap_pages && inactive_is_low(lruvec, LRU_INACTIVE_ANON)) in shrink_lruvec()3363 if (!total_swap_pages) in age_active_anon()
1697 (unsigned long)total_swap_pages); in mem_cgroup_get_max()1703 max += min(swap, (unsigned long)total_swap_pages); in mem_cgroup_get_max()
1375 if (!total_swap_pages) in shmem_writepage()
552 unsigned long totalpages = totalram_pages() + total_swap_pages; in proc_oom_score()