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

/linux-master/mm/
H A Dswapfile.c120 return ent & ~SWAP_HAS_CACHE; /* may include COUNT_CONTINUED flag */
797 if (vm_swap_full() && READ_ONCE(si->swap_map[offset]) == SWAP_HAS_CACHE) {
903 if (vm_swap_full() && si->swap_map[offset] == SWAP_HAS_CACHE) {
1032 memset(si->swap_map + offset, SWAP_HAS_CACHE, SWAPFILE_CLUSTER);
1103 n_ret = scan_swap_map_slots(si, SWAP_HAS_CACHE,
1196 has_cache = count & SWAP_HAS_CACHE;
1197 count &= ~SWAP_HAS_CACHE;
1199 if (usage == SWAP_HAS_CACHE) {
1222 WRITE_ONCE(p->swap_map[offset], SWAP_HAS_CACHE);
1326 VM_BUG_ON(count != SWAP_HAS_CACHE);
[all...]
/linux-master/include/linux/
H A Dswap.h229 #define SWAP_HAS_CACHE 0x40 /* Flag page is cached, in first swap_map */ macro

Completed in 113 milliseconds