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

/linux-master/include/linux/
H A Dswap.h229 #define SWAP_HAS_CACHE 0x40 /* Flag page is cached, in first swap_map */ macro
/linux-master/mm/
H A Dswapfile.c120 return ent & ~SWAP_HAS_CACHE; /* may include COUNT_CONTINUED flag */
817 if (vm_swap_full() && READ_ONCE(si->swap_map[offset]) == SWAP_HAS_CACHE) {
949 if (vm_swap_full() && si->swap_map[offset] == SWAP_HAS_CACHE) {
1115 n_ret = scan_swap_map_slots(si, SWAP_HAS_CACHE,
1208 has_cache = count & SWAP_HAS_CACHE;
1209 count &= ~SWAP_HAS_CACHE;
1211 if (usage == SWAP_HAS_CACHE) {
1234 WRITE_ONCE(p->swap_map[offset], SWAP_HAS_CACHE);
1337 VM_BUG_ON(count != SWAP_HAS_CACHE);
1382 VM_BUG_ON(!(val & SWAP_HAS_CACHE));
[all...]

Completed in 327 milliseconds