Searched refs:hole_em (Results 1 – 2 of 2) sorted by relevance
2046 struct extent_map *hole_em; in fill_holes() local2124 hole_em = btrfs_alloc_extent_map(); in fill_holes()2125 if (!hole_em) { in fill_holes()2129 hole_em->start = offset; in fill_holes()2130 hole_em->len = end - offset; in fill_holes()2131 hole_em->ram_bytes = hole_em->len; in fill_holes()2133 hole_em->disk_bytenr = EXTENT_MAP_HOLE; in fill_holes()2134 hole_em->disk_num_bytes = 0; in fill_holes()2135 hole_em->generation = trans->transid; in fill_holes()2137 ret = btrfs_replace_extent_map_range(inode, hole_em, true); in fill_holes()[all …]
5341 struct extent_map *hole_em; in btrfs_cont_expand() local5352 hole_em = btrfs_alloc_extent_map(); in btrfs_cont_expand()5353 if (!hole_em) { in btrfs_cont_expand()5360 hole_em->start = cur_offset; in btrfs_cont_expand()5361 hole_em->len = hole_size; in btrfs_cont_expand()5363 hole_em->disk_bytenr = EXTENT_MAP_HOLE; in btrfs_cont_expand()5364 hole_em->disk_num_bytes = 0; in btrfs_cont_expand()5365 hole_em->ram_bytes = hole_size; in btrfs_cont_expand()5366 hole_em->generation = btrfs_get_fs_generation(fs_info); in btrfs_cont_expand()5368 ret = btrfs_replace_extent_map_range(inode, hole_em, true); in btrfs_cont_expand()[all …]