Home
last modified time | relevance | path

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

/linux/fs/btrfs/
H A Drelocation.c2767 int cluster_nr) in get_cluster_boundary_end() argument
2770 if (cluster_nr >= cluster->nr - 1) in get_cluster_boundary_end()
2774 return cluster->boundary[cluster_nr + 1] - 1; in get_cluster_boundary_end()
2779 int *cluster_nr, u64 *file_offset_ret) in relocate_one_folio() argument
2854 cur = max(folio_start, cluster->boundary[*cluster_nr] - offset); in relocate_one_folio()
2857 u64 extent_start = cluster->boundary[*cluster_nr] - offset; in relocate_one_folio()
2859 *cluster_nr) - offset; in relocate_one_folio()
2896 if (in_range(cluster->boundary[*cluster_nr] - offset, in relocate_one_folio()
2898 u64 boundary_start = cluster->boundary[*cluster_nr] - in relocate_one_folio()
2914 (*cluster_nr)++; in relocate_one_folio()
[all …]
/linux/mm/
H A Dswapfile.c1681 int cluster_nr, cluster_rest; in swap_entries_put_map_nr() local
1687 cluster_nr = min(nr, cluster_rest); in swap_entries_put_map_nr()
1688 has_cache |= swap_entries_put_map(si, entry, cluster_nr); in swap_entries_put_map_nr()
1690 nr -= cluster_nr; in swap_entries_put_map_nr()
1691 entry.val += cluster_nr; in swap_entries_put_map_nr()