Searched refs:count_max_extents (Results 1 – 3 of 3) sorted by relevance
271 u64 nr_extents = count_max_extents(num_bytes); in calc_inode_reservations()345 nr_extents = count_max_extents(num_bytes); in btrfs_delalloc_reserve_metadata()407 num_extents = count_max_extents(num_bytes); in btrfs_delalloc_release_extents()
1863 num_extents = count_max_extents(new_size); in btrfs_split_delalloc_extent()1865 num_extents += count_max_extents(new_size); in btrfs_split_delalloc_extent()1866 if (count_max_extents(size) >= num_extents) in btrfs_split_delalloc_extent()1922 num_extents = count_max_extents(old_size); in btrfs_merge_delalloc_extent()1924 num_extents += count_max_extents(old_size); in btrfs_merge_delalloc_extent()1925 if (count_max_extents(new_size) >= num_extents) in btrfs_merge_delalloc_extent()2004 u32 num_extents = count_max_extents(len); in btrfs_set_delalloc_extent()2046 u32 num_extents = count_max_extents(len); in btrfs_clear_delalloc_extent()
117 static inline u32 count_max_extents(u64 size) in count_max_extents() function