Lines Matching refs:allocated_clusters
3897 unsigned int allocated_clusters = 0; in get_reserved_cluster_alloc() local
3903 allocated_clusters = alloc_cluster_end - alloc_cluster_start + 1; in get_reserved_cluster_alloc()
3914 allocated_clusters--; in get_reserved_cluster_alloc()
3919 if (allocated_clusters && c_offset) { in get_reserved_cluster_alloc()
3924 allocated_clusters--; in get_reserved_cluster_alloc()
3927 return allocated_clusters; in get_reserved_cluster_alloc()
4279 unsigned int allocated_clusters = 0; in ext4_ext_map_blocks() local
4465 allocated_clusters = ar.len; in ext4_ext_map_blocks()
4513 EXT4_C2B(sbi, allocated_clusters), fb_flags); in ext4_ext_map_blocks()
4536 BUG_ON(allocated_clusters < reserved_clusters); in ext4_ext_map_blocks()
4537 if (reserved_clusters < allocated_clusters) { in ext4_ext_map_blocks()
4539 int reservation = allocated_clusters - in ext4_ext_map_blocks()
4594 ext4_da_update_reserve_space(inode, allocated_clusters, in ext4_ext_map_blocks()