Lines Matching refs:has_cache
1204 unsigned char has_cache; in __swap_entry_free_locked() local
1208 has_cache = count & SWAP_HAS_CACHE; in __swap_entry_free_locked()
1212 VM_BUG_ON(!has_cache); in __swap_entry_free_locked()
1213 has_cache = 0; in __swap_entry_free_locked()
1230 usage = count | has_cache; in __swap_entry_free_locked()
3443 unsigned char has_cache; in __swap_duplicate() local
3464 has_cache = count & SWAP_HAS_CACHE; in __swap_duplicate()
3471 if (!has_cache && count) in __swap_duplicate()
3472 has_cache = SWAP_HAS_CACHE; in __swap_duplicate()
3473 else if (has_cache) /* someone else added cache */ in __swap_duplicate()
3478 } else if (count || has_cache) { in __swap_duplicate()
3491 WRITE_ONCE(p->swap_map[offset], count | has_cache); in __swap_duplicate()