Home
last modified time | relevance | path

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

/linux-5.19.10/fs/btrfs/
Drelocation.c2934 int cluster_nr) in get_cluster_boundary_end() argument
2937 if (cluster_nr >= cluster->nr - 1) in get_cluster_boundary_end()
2941 return cluster->boundary[cluster_nr + 1] - 1; in get_cluster_boundary_end()
2946 int *cluster_nr, unsigned long page_index) in relocate_one_page() argument
2992 cur = max(page_start, cluster->boundary[*cluster_nr] - offset); in relocate_one_page()
2994 u64 extent_start = cluster->boundary[*cluster_nr] - offset; in relocate_one_page()
2996 *cluster_nr) - offset; in relocate_one_page()
3031 if (in_range(cluster->boundary[*cluster_nr] - offset, in relocate_one_page()
3033 u64 boundary_start = cluster->boundary[*cluster_nr] - in relocate_one_page()
3048 (*cluster_nr)++; in relocate_one_page()
[all …]
/linux-5.19.10/mm/
Dswapfile.c834 } else if (unlikely(!si->cluster_nr--)) { in scan_swap_map_slots()
836 si->cluster_nr = SWAPFILE_CLUSTER - 1; in scan_swap_map_slots()
859 si->cluster_nr = SWAPFILE_CLUSTER - 1; in scan_swap_map_slots()
870 si->cluster_nr = SWAPFILE_CLUSTER - 1; in scan_swap_map_slots()
939 } else if (si->cluster_nr && !si->swap_map[++offset]) { in scan_swap_map_slots()
941 --si->cluster_nr; in scan_swap_map_slots()
2858 p->cluster_nr = 0; in read_swap_header()
/linux-5.19.10/include/linux/
Dswap.h286 unsigned int cluster_nr; /* countdown to next cluster search */ member