Searched refs:vm_swap_full (Results 1 – 4 of 4) sorted by relevance
208 #define vm_swap_full() (nr_swap_pages*2 < total_swap_pages) macro
291 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()
1002 if (PageSwapCache(page) && vm_swap_full()) in shrink_page_list()
3075 if (vm_swap_full() || (vma->vm_flags & VM_LOCKED) || PageMlocked(page)) in do_swap_page()