Home
last modified time | relevance | path

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

/linux/fs/btrfs/
A Drelocation.c2930 int cluster_nr) in get_cluster_boundary_end() argument
2933 if (cluster_nr >= cluster->nr - 1) in get_cluster_boundary_end()
2937 return cluster->boundary[cluster_nr + 1] - 1; in get_cluster_boundary_end()
2942 int *cluster_nr, unsigned long page_index) in relocate_one_page() argument
2991 *cluster_nr) - offset; in relocate_one_page()
3025 if (in_range(cluster->boundary[*cluster_nr] - offset, in relocate_one_page()
3027 u64 boundary_start = cluster->boundary[*cluster_nr] - in relocate_one_page()
3042 (*cluster_nr)++; in relocate_one_page()
3044 if (*cluster_nr >= cluster->nr) in relocate_one_page()
3070 int cluster_nr = 0; in relocate_file_extent_cluster() local
[all …]
/linux/mm/
A Dswapfile.c816 } else if (unlikely(!si->cluster_nr--)) { in scan_swap_map_slots()
818 si->cluster_nr = SWAPFILE_CLUSTER - 1; in scan_swap_map_slots()
841 si->cluster_nr = SWAPFILE_CLUSTER - 1; in scan_swap_map_slots()
852 si->cluster_nr = SWAPFILE_CLUSTER - 1; in scan_swap_map_slots()
921 } else if (si->cluster_nr && !si->swap_map[++offset]) { in scan_swap_map_slots()
923 --si->cluster_nr; in scan_swap_map_slots()
2989 p->cluster_nr = 0; in read_swap_header()
/linux/include/linux/
A Dswap.h261 unsigned int cluster_nr; /* countdown to next cluster search */ member

Completed in 20 milliseconds