Lines Matching refs:existing
5981 struct extent_map *existing, in merge_extent_mapping() argument
6296 struct extent_map *existing; in btrfs_get_extent() local
6300 existing = lookup_extent_mapping(em_tree, start, len); in btrfs_get_extent()
6301 if (existing && (existing->start > start || in btrfs_get_extent()
6302 existing->start + existing->len <= start)) { in btrfs_get_extent()
6303 free_extent_map(existing); in btrfs_get_extent()
6304 existing = NULL; in btrfs_get_extent()
6306 if (!existing) { in btrfs_get_extent()
6307 existing = lookup_extent_mapping(em_tree, em->start, in btrfs_get_extent()
6309 if (existing) { in btrfs_get_extent()
6310 err = merge_extent_mapping(em_tree, existing, in btrfs_get_extent()
6313 free_extent_map(existing); in btrfs_get_extent()
6325 em = existing; in btrfs_get_extent()