Lines Matching refs:has_cache
1131 unsigned char has_cache; in __swap_entry_free_locked() local
1135 has_cache = count & SWAP_HAS_CACHE; in __swap_entry_free_locked()
1139 VM_BUG_ON(!has_cache); in __swap_entry_free_locked()
1140 has_cache = 0; in __swap_entry_free_locked()
1157 usage = count | has_cache; in __swap_entry_free_locked()
3368 unsigned char has_cache; in __swap_duplicate() local
3395 has_cache = count & SWAP_HAS_CACHE; in __swap_duplicate()
3402 if (!has_cache && count) in __swap_duplicate()
3403 has_cache = SWAP_HAS_CACHE; in __swap_duplicate()
3404 else if (has_cache) /* someone else added cache */ in __swap_duplicate()
3409 } else if (count || has_cache) { in __swap_duplicate()
3422 p->swap_map[offset] = count | has_cache; in __swap_duplicate()