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()650 if (!si->swap_map[tmp]) in scan_swap_map_try_ssd_cluster()829 if (si->swap_map[offset]) in scan_swap_map_slots()869 if (vm_swap_full() && si->swap_map[offset] == SWAP_HAS_CACHE) { in scan_swap_map_slots()881 if (si->swap_map[offset]) { in scan_swap_map_slots()888 WRITE_ONCE(si->swap_map[offset], usage); in scan_swap_map_slots()915 } else if (si->cluster_nr && !si->swap_map[++offset]) { in scan_swap_map_slots()935 if (!si->swap_map[offset]) in scan_swap_map_slots()948 if (data_race(!si->swap_map[offset])) { in scan_swap_map_slots()[all …]
246 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,