Searched refs:cluster_nr (Results 1 – 3 of 3) sorted by relevance
2926 int cluster_nr) in get_cluster_boundary_end() argument2929 if (cluster_nr >= cluster->nr - 1) in get_cluster_boundary_end()2933 return cluster->boundary[cluster_nr + 1] - 1; in get_cluster_boundary_end()2938 int *cluster_nr, unsigned long page_index) in relocate_one_page() argument2984 cur = max(page_start, cluster->boundary[*cluster_nr] - offset); in relocate_one_page()2986 u64 extent_start = cluster->boundary[*cluster_nr] - offset; in relocate_one_page()2988 *cluster_nr) - offset; in relocate_one_page()3023 if (in_range(cluster->boundary[*cluster_nr] - offset, in relocate_one_page()3025 u64 boundary_start = cluster->boundary[*cluster_nr] - in relocate_one_page()3040 (*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()2852 p->cluster_nr = 0; in read_swap_header()
290 unsigned int cluster_nr; /* countdown to next cluster search */ member