Lines Matching +full:s +full:- +full:merged
1 /* SPDX-License-Identifier: GPL-2.0 */
9 #define EXTENT_MAP_LAST_BYTE ((u64)-4)
10 #define EXTENT_MAP_HOLE ((u64)-3)
11 #define EXTENT_MAP_INLINE ((u64)-2)
13 #define EXTENT_MAP_DELALLOC ((u64)-1)
20 /* pre-allocated extent */
28 /* This em is merged from two or more physically adjacent ems */
47 * Generation of the extent map, for merged em it's the highest
48 * generation of all merged ems.
49 * For non-merged extents, it's from btrfs_file_extent_item::generation.
70 return !RB_EMPTY_NODE(&em->rb_node); in extent_map_in_tree()
75 if (em->start + em->len < em->start) in extent_map_end()
76 return (u64)-1; in extent_map_end()
77 return em->start + em->len; in extent_map_end()
82 if (em->block_start + em->block_len < em->block_start) in extent_map_block_end()
83 return (u64)-1; in extent_map_block_end()
84 return em->block_start + em->block_len; in extent_map_block_end()