Searched refs:nr_swap_pages (Results 1 – 9 of 9) sorted by relevance
208 #define vm_swap_full() (nr_swap_pages*2 < total_swap_pages)338 extern long nr_swap_pages;388 #define nr_swap_pages 0L macro
47 long nr_swap_pages; variable419 if (nr_swap_pages <= 0) in get_swap_page()421 nr_swap_pages--; in get_swap_page()447 nr_swap_pages++; in get_swap_page()462 nr_swap_pages--; in get_swap_page_of_type()469 nr_swap_pages++; in get_swap_page_of_type()557 nr_swap_pages++; in swap_entry_free()1531 nr_swap_pages += p->pages; in enable_swap_info()1613 nr_swap_pages -= p->pages; in SYSCALL_DEFINE1()2176 val->freeswap = nr_swap_pages + nr_to_be_unused; in si_swapinfo()
61 printk("Free swap = %ldkB\n", nr_swap_pages << (PAGE_SHIFT - 10)); in show_swap_cache_info()
1235 if (nr_swap_pages <= 0 && PageSwapBacked(cursor_page) && in isolate_lru_pages()1927 if (!sc->may_swap || (nr_swap_pages <= 0)) { in get_scan_count()2060 if (nr_swap_pages > 0) in should_continue_reclaim()3188 if (nr_swap_pages > 0) in global_reclaimable_pages()3202 if (nr_swap_pages > 0) in zone_reclaimable_pages()
1941 free += nr_swap_pages; in __vm_enough_memory()
137 free += nr_swap_pages; in __vm_enough_memory()
80 nr_swap_pages << (PAGE_SHIFT-10)); in show_mem()
64 nr_swap_pages); in show_mem()
90 The #free swaphandles is maintained in "nr_swap_pages". These two together