Searched refs:swap_map (Results 1 – 4 of 4) sorted by relevance
147 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 …]
4042 if ((si->swap_map[offset + i] & SWAP_HAS_CACHE)) in non_swapcache_batch()
298 unsigned char *swap_map; /* vmalloc'ed array of usage counts */ member
84 in the swap_map goes to 0) the swap code calls the zswap invalidate function