Searched refs:swap_map (Results 1 – 3 of 3) sorted by relevance
462 memset(si->swap_map + idx * SWAPFILE_CLUSTER, in swap_cluster_schedule_discard()499 memset(si->swap_map + idx * SWAPFILE_CLUSTER, in swap_do_scheduled_discard()658 if (!si->swap_map[tmp]) in scan_swap_map_try_ssd_cluster()782 if (data_race(!si->swap_map[offset])) { in swap_offset_available_and_locked()787 if (vm_swap_full() && READ_ONCE(si->swap_map[offset]) == SWAP_HAS_CACHE) { in swap_offset_available_and_locked()853 if (si->swap_map[offset]) in scan_swap_map_slots()893 if (vm_swap_full() && si->swap_map[offset] == SWAP_HAS_CACHE) { in scan_swap_map_slots()905 if (si->swap_map[offset]) { in scan_swap_map_slots()912 WRITE_ONCE(si->swap_map[offset], usage); in scan_swap_map_slots()939 } else if (si->cluster_nr && !si->swap_map[++offset]) { in scan_swap_map_slots()[all …]
278 unsigned char *swap_map; /* vmalloc'ed array of usage counts */ member
94 in the swap_map goes to 0) the swap code calls the zswap invalidate function,