Home
last modified time | relevance | path

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

/mm/
Dswapfile.c460 memset(si->swap_map + idx * SWAPFILE_CLUSTER, in swap_cluster_schedule_discard()
497 memset(si->swap_map + idx * SWAPFILE_CLUSTER, in swap_do_scheduled_discard()
656 if (!si->swap_map[tmp]) in scan_swap_map_try_ssd_cluster()
836 if (si->swap_map[offset]) in scan_swap_map_slots()
876 if (vm_swap_full() && si->swap_map[offset] == SWAP_HAS_CACHE) { in scan_swap_map_slots()
888 if (si->swap_map[offset]) { in scan_swap_map_slots()
895 WRITE_ONCE(si->swap_map[offset], usage); in scan_swap_map_slots()
922 } else if (si->cluster_nr && !si->swap_map[++offset]) { in scan_swap_map_slots()
942 if (!si->swap_map[offset]) in scan_swap_map_slots()
955 if (data_race(!si->swap_map[offset])) { in scan_swap_map_slots()
[all …]