Home
last modified time | relevance | path

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

/linux-4.1.27/mm/
Dswapfile.c91 return ent & ~SWAP_HAS_CACHE; /* may include SWAP_HAS_CONT flag */ in swap_count()
567 if (vm_swap_full() && si->swap_map[offset] == SWAP_HAS_CACHE) { in scan_swap_map()
607 if (vm_swap_full() && si->swap_map[offset] == SWAP_HAS_CACHE) { in scan_swap_map()
622 if (vm_swap_full() && si->swap_map[offset] == SWAP_HAS_CACHE) { in scan_swap_map()
674 offset = scan_swap_map(si, SWAP_HAS_CACHE); in get_swap_page()
769 has_cache = count & SWAP_HAS_CACHE; in swap_entry_free()
770 count &= ~SWAP_HAS_CACHE; in swap_entry_free()
772 if (usage == SWAP_HAS_CACHE) { in swap_entry_free()
852 swap_entry_free(p, entry, SWAP_HAS_CACHE); in swapcache_free()
953 if (swap_entry_free(p, entry, 1) == SWAP_HAS_CACHE) { in free_swap_and_cache()
[all …]
/linux-4.1.27/include/linux/
Dswap.h171 #define SWAP_HAS_CACHE 0x40 /* Flag page is cached, in first swap_map */ macro