Lines Matching refs:extent_end
776 u64 extent_end; in btrfs_account_dev_extents_size() local
828 extent_end = key.offset + btrfs_dev_extent_length(l, in btrfs_account_dev_extents_size()
830 if (key.offset <= start && extent_end > end) { in btrfs_account_dev_extents_size()
833 } else if (key.offset <= start && extent_end > start) in btrfs_account_dev_extents_size()
834 *length += extent_end - start; in btrfs_account_dev_extents_size()
835 else if (key.offset > start && extent_end <= end) in btrfs_account_dev_extents_size()
836 *length += extent_end - key.offset; in btrfs_account_dev_extents_size()
882 u64 extent_end; in find_free_dev_extent() local
972 extent_end = key.offset + btrfs_dev_extent_length(l, in find_free_dev_extent()
974 if (extent_end > search_start) in find_free_dev_extent()
975 search_start = extent_end; in find_free_dev_extent()