Lines Matching refs:allocated_clusters
3930 unsigned int allocated_clusters = 0; in get_reserved_cluster_alloc() local
3936 allocated_clusters = alloc_cluster_end - alloc_cluster_start + 1; in get_reserved_cluster_alloc()
3947 allocated_clusters--; in get_reserved_cluster_alloc()
3952 if (allocated_clusters && c_offset) { in get_reserved_cluster_alloc()
3957 allocated_clusters--; in get_reserved_cluster_alloc()
3960 return allocated_clusters; in get_reserved_cluster_alloc()
4309 unsigned int allocated_clusters = 0; in ext4_ext_map_blocks() local
4506 allocated_clusters = ar.len; in ext4_ext_map_blocks()
4537 EXT4_C2B(sbi, allocated_clusters), fb_flags); in ext4_ext_map_blocks()
4560 BUG_ON(allocated_clusters < reserved_clusters); in ext4_ext_map_blocks()
4561 if (reserved_clusters < allocated_clusters) { in ext4_ext_map_blocks()
4563 int reservation = allocated_clusters - in ext4_ext_map_blocks()
4618 ext4_da_update_reserve_space(inode, allocated_clusters, in ext4_ext_map_blocks()