Home
last modified time | relevance | path

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

/linux/mm/
H A Dswapfile.c185 unsigned char *map = si->swap_map + offset; in swap_only_has_cache()
200 unsigned char *map = si->swap_map + offset; in swap_is_last_map()
784 unsigned char *map = si->swap_map; in cluster_reclaim_range()
824 unsigned char *map = si->swap_map; in cluster_scan_range()
884 memset(si->swap_map + start, usage, nr_pages); in cluster_alloc_range()
978 unsigned char *map = si->swap_map; in swap_reclaim_full_clusters()
1490 if (data_race(!si->swap_map[swp_offset(entry)])) in _swap_info_get()
1518 count = si->swap_map[offset]; in swap_entry_put_locked()
1544 WRITE_ONCE(si->swap_map[offset], usage); in swap_entry_put_locked()
1644 count = swap_count(data_race(si->swap_map[offset])); in swap_entries_put_map()
[all …]
H A Dswap.h316 if ((si->swap_map[offset + i] & SWAP_HAS_CACHE)) in non_swapcache_batch()
H A Duserfaultfd.c1203 if (READ_ONCE(si->swap_map[swp_offset(entry)]) & SWAP_HAS_CACHE) { in move_swap_pte()
/linux/include/linux/
H A Dswap.h270 unsigned char *swap_map; /* vmalloc'ed array of usage counts */ member
/linux/Documentation/admin-guide/mm/
H A Dzswap.rst73 in the swap_map goes to 0) the swap code calls the zswap invalidate function