Searched refs:swap_map (Results 1 – 1 of 1) sorted by relevance
461 memset(si->swap_map + idx * SWAPFILE_CLUSTER, in swap_cluster_schedule_discard()498 memset(si->swap_map + idx * SWAPFILE_CLUSTER, in swap_do_scheduled_discard()657 if (!si->swap_map[tmp]) in scan_swap_map_try_ssd_cluster()837 if (si->swap_map[offset]) in scan_swap_map_slots()877 if (vm_swap_full() && si->swap_map[offset] == SWAP_HAS_CACHE) { in scan_swap_map_slots()889 if (si->swap_map[offset]) { in scan_swap_map_slots()896 WRITE_ONCE(si->swap_map[offset], usage); in scan_swap_map_slots()923 } else if (si->cluster_nr && !si->swap_map[++offset]) { in scan_swap_map_slots()943 if (!si->swap_map[offset]) in scan_swap_map_slots()956 if (data_race(!si->swap_map[offset])) { in scan_swap_map_slots()[all …]