Home
last modified time | relevance | path

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

/linux-6.12.1/mm/
Dswapfile.c147 unsigned char *map = si->swap_map + offset; in swap_is_has_cache()
162 unsigned char *map = si->swap_map + offset; in swap_is_last_map()
459 memset(si->swap_map + idx * SWAPFILE_CLUSTER, in swap_cluster_schedule_discard()
502 memset(si->swap_map + idx * SWAPFILE_CLUSTER, in swap_do_scheduled_discard()
606 unsigned char *map = si->swap_map; in cluster_reclaim_range()
644 unsigned char *map = si->swap_map; in cluster_scan_range()
684 memset(si->swap_map + start, usage, nr_pages); in cluster_alloc_range()
748 unsigned char *map = si->swap_map; in swap_reclaim_full_clusters()
1035 if (data_race(!si->swap_map[offset])) { in swap_offset_available_and_locked()
1040 if (vm_swap_full() && READ_ONCE(si->swap_map[offset]) == SWAP_HAS_CACHE) { in swap_offset_available_and_locked()
[all …]
Dmemory.c4042 if ((si->swap_map[offset + i] & SWAP_HAS_CACHE)) in non_swapcache_batch()
/linux-6.12.1/include/linux/
Dswap.h298 unsigned char *swap_map; /* vmalloc'ed array of usage counts */ member
/linux-6.12.1/Documentation/admin-guide/mm/
Dzswap.rst84 in the swap_map goes to 0) the swap code calls the zswap invalidate function