Home
last modified time | relevance | path

Searched refs:has_cache (Results 1 – 1 of 1) sorted by relevance

/linux/mm/
H A Dswapfile.c198 unsigned long offset, int nr_pages, bool *has_cache) in swap_is_last_map() argument
212 *has_cache = !!(count & SWAP_HAS_CACHE); in swap_is_last_map()
1516 unsigned char has_cache; in swap_entry_put_locked() local
1520 has_cache = count & SWAP_HAS_CACHE; in swap_entry_put_locked()
1524 VM_BUG_ON(!has_cache); in swap_entry_put_locked()
1525 has_cache = 0; in swap_entry_put_locked()
1542 usage = count | has_cache; in swap_entry_put_locked()
1638 bool has_cache = false; in swap_entries_put_map() local
1649 if (!swap_is_last_map(si, offset, nr, &has_cache)) { in swap_entries_put_map()
1652 if (!has_cache) in swap_entries_put_map()
[all …]