Home
last modified time | relevance | path

Searched refs:vm_swap_full (Results 1 – 4 of 4) sorted by relevance

/linux-3.4.99/include/linux/
Dswap.h208 #define vm_swap_full() (nr_swap_pages*2 < total_swap_pages) macro
/linux-3.4.99/mm/
Dswapfile.c291 if (vm_swap_full() && si->swap_map[offset] == SWAP_HAS_CACHE) { in scan_swap_map()
380 if (vm_swap_full() && si->swap_map[offset] == SWAP_HAS_CACHE) { in scan_swap_map()
395 if (vm_swap_full() && si->swap_map[offset] == SWAP_HAS_CACHE) { in scan_swap_map()
710 (!page_mapped(page) || vm_swap_full())) { in free_swap_and_cache()
Dvmscan.c1002 if (PageSwapCache(page) && vm_swap_full()) in shrink_page_list()
Dmemory.c3075 if (vm_swap_full() || (vma->vm_flags & VM_LOCKED) || PageMlocked(page)) in do_swap_page()