Lines Matching refs:allocated_clusters
3902 unsigned int allocated_clusters = 0; in get_reserved_cluster_alloc() local
3908 allocated_clusters = alloc_cluster_end - alloc_cluster_start + 1; in get_reserved_cluster_alloc()
3919 allocated_clusters--; in get_reserved_cluster_alloc()
3924 if (allocated_clusters && c_offset) { in get_reserved_cluster_alloc()
3929 allocated_clusters--; in get_reserved_cluster_alloc()
3932 return allocated_clusters; in get_reserved_cluster_alloc()
4284 unsigned int allocated_clusters = 0; in ext4_ext_map_blocks() local
4472 allocated_clusters = ar.len; in ext4_ext_map_blocks()
4520 EXT4_C2B(sbi, allocated_clusters), fb_flags); in ext4_ext_map_blocks()
4543 BUG_ON(allocated_clusters < reserved_clusters); in ext4_ext_map_blocks()
4544 if (reserved_clusters < allocated_clusters) { in ext4_ext_map_blocks()
4546 int reservation = allocated_clusters - in ext4_ext_map_blocks()
4601 ext4_da_update_reserve_space(inode, allocated_clusters, in ext4_ext_map_blocks()