Searched refs:cluster_nr (Results 1 – 3 of 3) sorted by relevance
2977 int cluster_nr) in get_cluster_boundary_end() argument2980 if (cluster_nr >= cluster->nr - 1) in get_cluster_boundary_end()2984 return cluster->boundary[cluster_nr + 1] - 1; in get_cluster_boundary_end()2989 int *cluster_nr, unsigned long page_index) in relocate_one_page() argument3041 cur = max(page_start, cluster->boundary[*cluster_nr] - offset); in relocate_one_page()3044 u64 extent_start = cluster->boundary[*cluster_nr] - offset; in relocate_one_page()3046 *cluster_nr) - offset; in relocate_one_page()3083 if (in_range(cluster->boundary[*cluster_nr] - offset, in relocate_one_page()3085 u64 boundary_start = cluster->boundary[*cluster_nr] - in relocate_one_page()3101 (*cluster_nr)++; in relocate_one_page()[all …]
838 } else if (unlikely(!si->cluster_nr--)) { in scan_swap_map_slots()840 si->cluster_nr = SWAPFILE_CLUSTER - 1; in scan_swap_map_slots()863 si->cluster_nr = SWAPFILE_CLUSTER - 1; in scan_swap_map_slots()874 si->cluster_nr = SWAPFILE_CLUSTER - 1; in scan_swap_map_slots()943 } else if (si->cluster_nr && !si->swap_map[++offset]) { in scan_swap_map_slots()945 --si->cluster_nr; in scan_swap_map_slots()2855 p->cluster_nr = 0; in read_swap_header()
297 unsigned int cluster_nr; /* countdown to next cluster search */ member