Home
last modified time | relevance | path

Searched refs:SWAP_HAS_CACHE (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/mm/
Dswapfile.c68 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()
[all …]
/linux-2.6.39/include/linux/
Dswap.h169 #define SWAP_HAS_CACHE 0x40 /* Flag page is cached, in first swap_map */ macro