Home
last modified time | relevance | path

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

/linux/fs/btrfs/
H A Drelocation.c2944 int cluster_nr) in get_cluster_boundary_end() argument
2947 if (cluster_nr >= cluster->nr - 1) in get_cluster_boundary_end()
2951 return cluster->boundary[cluster_nr + 1] - 1; in get_cluster_boundary_end()
2956 int *cluster_nr, unsigned long index) in relocate_one_folio() argument
3025 cur = max(folio_start, cluster->boundary[*cluster_nr] - offset); in relocate_one_folio()
3028 u64 extent_start = cluster->boundary[*cluster_nr] - offset; in relocate_one_folio()
3030 *cluster_nr) - offset; in relocate_one_folio()
3067 if (in_range(cluster->boundary[*cluster_nr] - offset, folio_start, PAGE_SIZE)) { in relocate_one_folio()
3068 u64 boundary_start = cluster->boundary[*cluster_nr] - in relocate_one_folio()
3084 (*cluster_nr)++; in relocate_one_folio()
[all …]
/linux/mm/
H A Dswapfile.c887 } else if (unlikely(!si->cluster_nr--)) { in scan_swap_map_slots()
889 si->cluster_nr = SWAPFILE_CLUSTER - 1; in scan_swap_map_slots()
912 si->cluster_nr = SWAPFILE_CLUSTER - 1; in scan_swap_map_slots()
923 si->cluster_nr = SWAPFILE_CLUSTER - 1; in scan_swap_map_slots()
997 } else if (si->cluster_nr && !si->swap_map[++offset]) { in scan_swap_map_slots()
999 --si->cluster_nr; in scan_swap_map_slots()
2958 p->cluster_nr = 0; in read_swap_header()
/linux/include/linux/
H A Dswap.h309 unsigned int cluster_nr; /* countdown to next cluster search */ member