Searched refs:em_end (Results 1 – 3 of 3) sorted by relevance
739 const u64 em_end = extent_map_end(em); in btrfs_drop_extent_map_range() local746 if (em_end < end) { in btrfs_drop_extent_map_range()757 start = em_end; in btrfs_drop_extent_map_range()759 len = start + len - em_end; in btrfs_drop_extent_map_range()771 if (em->start >= start && em_end <= end) in btrfs_drop_extent_map_range()815 if (em_end > end) { in btrfs_drop_extent_map_range()823 split->len = em_end - (start + len); in btrfs_drop_extent_map_range()889 if ((em->start < start || em_end > end) && modified) { in btrfs_drop_extent_map_range()
3193 const u64 em_end = em->start + em->len; in btrfs_zero_range() local3195 if (em_end >= offset + len) { in btrfs_zero_range()3210 alloc_start = em_end; in btrfs_zero_range()3540 u64 em_end; in find_delalloc_subrange() local3577 em_end = em ? extent_map_end(em) : 0; in find_delalloc_subrange()3584 test_bit(EXTENT_FLAG_PREALLOC, &em->flags)) && em_end < end) { in find_delalloc_subrange()3588 next_em = lookup_extent_mapping(em_tree, em_end, len - em_end); in find_delalloc_subrange()3592 em_end = next_em ? extent_map_end(next_em) : 0; in find_delalloc_subrange()3615 *delalloc_end_ret = min(end, em_end - 1); in find_delalloc_subrange()3630 if (em_end < *delalloc_start_ret) in find_delalloc_subrange()[all …]
2112 u64 em_end; in __extent_writepage_io() local2150 em_end = extent_map_end(em); in __extent_writepage_io()2151 ASSERT(cur <= em_end); in __extent_writepage_io()2163 iosize = min(min(em_end, end + 1), dirty_range_end) - cur; in __extent_writepage_io()