Searched refs:count_max_extents (Results 1 – 3 of 3) sorted by relevance
286 u64 nr_extents = count_max_extents(num_bytes); in calc_inode_reservations()360 nr_extents = count_max_extents(num_bytes); in btrfs_delalloc_reserve_metadata()430 num_extents = count_max_extents(num_bytes); in btrfs_delalloc_release_extents()
1843 num_extents = count_max_extents(new_size); in btrfs_split_delalloc_extent()1845 num_extents += count_max_extents(new_size); in btrfs_split_delalloc_extent()1846 if (count_max_extents(size) >= num_extents) in btrfs_split_delalloc_extent()1902 num_extents = count_max_extents(old_size); in btrfs_merge_delalloc_extent()1904 num_extents += count_max_extents(old_size); in btrfs_merge_delalloc_extent()1905 if (count_max_extents(new_size) >= num_extents) in btrfs_merge_delalloc_extent()1984 u32 num_extents = count_max_extents(len); in btrfs_set_delalloc_extent()2026 u32 num_extents = count_max_extents(len); in btrfs_clear_delalloc_extent()
107 static inline u32 count_max_extents(u64 size) in count_max_extents() function