Home
last modified time | relevance | path

Searched refs:nr_swap_pages (Results 1 – 9 of 9) sorted by relevance

/linux-3.4.99/include/linux/
Dswap.h208 #define vm_swap_full() (nr_swap_pages*2 < total_swap_pages)
338 extern long nr_swap_pages;
388 #define nr_swap_pages 0L macro
/linux-3.4.99/mm/
Dswapfile.c47 long nr_swap_pages; variable
419 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()
Dswap_state.c61 printk("Free swap = %ldkB\n", nr_swap_pages << (PAGE_SHIFT - 10)); in show_swap_cache_info()
Dvmscan.c1235 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()
Dnommu.c1941 free += nr_swap_pages; in __vm_enough_memory()
Dmmap.c137 free += nr_swap_pages; in __vm_enough_memory()
/linux-3.4.99/arch/sparc/mm/
Dinit_32.c80 nr_swap_pages << (PAGE_SHIFT-10)); in show_mem()
/linux-3.4.99/arch/tile/mm/
Dpgtable.c64 nr_swap_pages); in show_mem()
/linux-3.4.99/Documentation/vm/
Dlocking90 The #free swaphandles is maintained in "nr_swap_pages". These two together