Home
last modified time | relevance | path

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

/linux/mm/
H A Dswapfile.c129 return ent & ~SWAP_HAS_CACHE; /* may include COUNT_CONTINUED flag */ in swap_count()
151 VM_BUG_ON(!(*map & SWAP_HAS_CACHE)); in swap_is_has_cache()
152 if (*map != SWAP_HAS_CACHE) in swap_is_has_cache()
174 *has_cache = !!(count & SWAP_HAS_CACHE); in swap_is_last_map()
616 case SWAP_HAS_CACHE: in cluster_reclaim_range()
651 case SWAP_HAS_CACHE: in cluster_scan_range()
763 if (READ_ONCE(map[offset]) == SWAP_HAS_CACHE) { in swap_reclaim_full_clusters()
1040 if (vm_swap_full() && READ_ONCE(si->swap_map[offset]) == SWAP_HAS_CACHE) { in swap_offset_available_and_locked()
1168 if (vm_swap_full() && si->swap_map[offset] == SWAP_HAS_CACHE) { in scan_swap_map_slots()
1311 n_ret = scan_swap_map_slots(si, SWAP_HAS_CACHE, in get_swap_pages()
[all …]
H A Dmemory.c4059 if ((si->swap_map[offset + i] & SWAP_HAS_CACHE)) in non_swapcache_batch()
/linux/include/linux/
H A Dswap.h229 #define SWAP_HAS_CACHE 0x40 /* Flag page is cached, in first swap_map */ macro