Lines Matching refs:has_cache
1182 unsigned char has_cache; in __swap_entry_free_locked() local
1186 has_cache = count & SWAP_HAS_CACHE; in __swap_entry_free_locked()
1190 VM_BUG_ON(!has_cache); in __swap_entry_free_locked()
1191 has_cache = 0; in __swap_entry_free_locked()
1208 usage = count | has_cache; in __swap_entry_free_locked()
3384 unsigned char has_cache; in __swap_duplicate() local
3405 has_cache = count & SWAP_HAS_CACHE; in __swap_duplicate()
3412 if (!has_cache && count) in __swap_duplicate()
3413 has_cache = SWAP_HAS_CACHE; in __swap_duplicate()
3414 else if (has_cache) /* someone else added cache */ in __swap_duplicate()
3419 } else if (count || has_cache) { in __swap_duplicate()
3432 p->swap_map[offset] = count | has_cache; in __swap_duplicate()