Searched refs:cluster_nr (Results 1 - 5 of 5) sorted by relevance
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | relocation.c | 2977 int cluster_nr) in get_cluster_boundary_end() 2980 if (cluster_nr >= cluster->nr - 1) in get_cluster_boundary_end() 2984 return cluster->boundary[cluster_nr + 1] - 1; in get_cluster_boundary_end() 2989 int *cluster_nr, unsigned long page_index) in relocate_one_page() 3041 cur = max(page_start, cluster->boundary[*cluster_nr] - offset); in relocate_one_page() 3044 u64 extent_start = cluster->boundary[*cluster_nr] - offset; in relocate_one_page() 3046 *cluster_nr) - offset; in relocate_one_page() 3083 if (in_range(cluster->boundary[*cluster_nr] - offset, in relocate_one_page() 3085 u64 boundary_start = cluster->boundary[*cluster_nr] - in relocate_one_page() 3101 (*cluster_nr) in relocate_one_page() 2976 get_cluster_boundary_end(struct file_extent_cluster *cluster, int cluster_nr) get_cluster_boundary_end() argument 2987 relocate_one_page(struct inode *inode, struct file_ra_state *ra, struct file_extent_cluster *cluster, int *cluster_nr, unsigned long page_index) relocate_one_page() argument 3129 int cluster_nr = 0; relocate_file_extent_cluster() local [all...] |
/kernel/linux/linux-5.10/mm/ |
H A D | swapfile.c | 811 } else if (unlikely(!si->cluster_nr--)) { in scan_swap_map_slots() 813 si->cluster_nr = SWAPFILE_CLUSTER - 1; in scan_swap_map_slots() 836 si->cluster_nr = SWAPFILE_CLUSTER - 1; in scan_swap_map_slots() 847 si->cluster_nr = SWAPFILE_CLUSTER - 1; in scan_swap_map_slots() 916 } else if (si->cluster_nr && !si->swap_map[++offset]) { in scan_swap_map_slots() 918 --si->cluster_nr; in scan_swap_map_slots() 3040 p->cluster_nr = 0; in read_swap_header()
|
/kernel/linux/linux-6.6/mm/ |
H A D | swapfile.c | 839 } else if (unlikely(!si->cluster_nr--)) { in scan_swap_map_slots() 841 si->cluster_nr = SWAPFILE_CLUSTER - 1; in scan_swap_map_slots() 864 si->cluster_nr = SWAPFILE_CLUSTER - 1; in scan_swap_map_slots() 875 si->cluster_nr = SWAPFILE_CLUSTER - 1; in scan_swap_map_slots() 944 } else if (si->cluster_nr && !si->swap_map[++offset]) { in scan_swap_map_slots() 946 --si->cluster_nr; in scan_swap_map_slots() 2867 p->cluster_nr = 0; in read_swap_header()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | swap.h | 254 unsigned int cluster_nr; /* countdown to next cluster search */ member 269 * cluster_nr, lowest_alloc,
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | swap.h | 297 unsigned int cluster_nr; /* countdown to next cluster search */ member 309 * cluster_nr, lowest_alloc,
|
Completed in 16 milliseconds