Home
last modified time | relevance | path

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

/openbmc/linux/fs/btrfs/
H A Drelocation.c2977 int cluster_nr) in get_cluster_boundary_end() argument
2980 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() argument
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()
3103 if (*cluster_nr >= cluster->nr) in relocate_one_page()
3129 int cluster_nr = 0; in relocate_file_extent_cluster() local
[all …]
/openbmc/linux/mm/
H A Dswapfile.c838 } 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()
2866 p->cluster_nr = 0; in read_swap_header()
/openbmc/linux/include/linux/
H A Dswap.h297 unsigned int cluster_nr; /* countdown to next cluster search */ member