Home
last modified time | relevance | path

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

/linux/mm/
H A Dswapfile.c182 unsigned char *map = si->swap_map + offset; in swap_only_has_cache()
772 unsigned char *map = si->swap_map; in cluster_reclaim_range()
820 unsigned char *map = si->swap_map; in cluster_scan_range()
892 WARN_ON_ONCE(si->swap_map[offset]); in cluster_alloc_range()
893 si->swap_map[offset] = 1; in cluster_alloc_range()
992 unsigned char *map = si->swap_map; in swap_reclaim_full_clusters()
1441 count = si->swap_map[offset]; in swap_put_entries_cluster()
1607 count = si->swap_map[offset]; in swap_put_entry_locked()
1618 WRITE_ONCE(si->swap_map[offset], count); in swap_put_entry_locked()
1697 unsigned char *map = si->swap_map + offset; in swap_entries_free()
[all …]
H A Dswap.h33 * other than list, and swap_info_struct->swap_map
109 * swap_map, which was never IRQ safe. in __swap_cluster_lock()
H A Duserfaultfd.c
/linux/include/linux/
H A Dswap.h211 SWP_CONTINUED = (1 << 5), /* swap_map has count continuation */
226 /* Bit flag in swap_map */
227 #define COUNT_CONTINUED 0x80 /* Flag swap_map continuation for full count */
229 /* Special value in first swap_map */
233 /* Special value in each swap_map continuation */
267 unsigned int max; /* extent of the swap_map */
268 unsigned char *swap_map; /* vmalloc'ed array of usage counts */
287 * swap_map, inuse_pages and all cluster
270 unsigned char *swap_map; /* vmalloc'ed array of usage counts */ global() 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