Home
last modified time | relevance | path

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

/linux-6.1.9/fs/btrfs/
Drelocation.c2926 int cluster_nr) in get_cluster_boundary_end() argument
2929 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() argument
2984 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 …]
/linux-6.1.9/mm/
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()
2852 p->cluster_nr = 0; in read_swap_header()
/linux-6.1.9/include/linux/
Dswap.h290 unsigned int cluster_nr; /* countdown to next cluster search */ member