Searched refs:cluster_nr (Results 1 – 3 of 3) sorted by relevance
2947 int cluster_nr) in get_cluster_boundary_end() argument2950 if (cluster_nr >= cluster->nr - 1) in get_cluster_boundary_end()2954 return cluster->boundary[cluster_nr + 1] - 1; in get_cluster_boundary_end()2959 int *cluster_nr, unsigned long page_index) in relocate_one_page() argument3010 *cluster_nr) - offset; in relocate_one_page()3047 if (in_range(cluster->boundary[*cluster_nr] - offset, in relocate_one_page()3049 u64 boundary_start = cluster->boundary[*cluster_nr] - in relocate_one_page()3065 (*cluster_nr)++; in relocate_one_page()3067 if (*cluster_nr >= cluster->nr) in relocate_one_page()3093 int cluster_nr = 0; in relocate_file_extent_cluster() local[all …]
837 } else if (unlikely(!si->cluster_nr--)) { in scan_swap_map_slots()839 si->cluster_nr = SWAPFILE_CLUSTER - 1; in scan_swap_map_slots()862 si->cluster_nr = SWAPFILE_CLUSTER - 1; in scan_swap_map_slots()873 si->cluster_nr = SWAPFILE_CLUSTER - 1; in scan_swap_map_slots()942 } else if (si->cluster_nr && !si->swap_map[++offset]) { in scan_swap_map_slots()944 --si->cluster_nr; in scan_swap_map_slots()2859 p->cluster_nr = 0; in read_swap_header()
282 unsigned int cluster_nr; /* countdown to next cluster search */ member
Completed in 17 milliseconds