Lines Matching refs:SWAP_HAS_CACHE
68 return ent & ~SWAP_HAS_CACHE; /* may include SWAP_HAS_CONT flag */ in swap_count()
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()
439 offset = scan_swap_map(si, SWAP_HAS_CACHE); in get_swap_page()
519 has_cache = count & SWAP_HAS_CACHE; in swap_entry_free()
520 count &= ~SWAP_HAS_CACHE; in swap_entry_free()
522 if (usage == SWAP_HAS_CACHE) { in swap_entry_free()
592 count = swap_entry_free(p, entry, SWAP_HAS_CACHE); in swapcache_free()
695 if (swap_entry_free(p, entry, 1) == SWAP_HAS_CACHE) { in free_swap_and_cache()
2222 has_cache = count & SWAP_HAS_CACHE; in __swap_duplicate()
2223 count &= ~SWAP_HAS_CACHE; in __swap_duplicate()
2226 if (usage == SWAP_HAS_CACHE) { in __swap_duplicate()
2230 has_cache = SWAP_HAS_CACHE; in __swap_duplicate()
2296 return __swap_duplicate(entry, SWAP_HAS_CACHE); in swapcache_prepare()
2392 count = si->swap_map[offset] & ~SWAP_HAS_CACHE; in add_swap_count_continuation()