Searched refs:hole_em (Results 1 – 2 of 2) sorted by relevance
2094 struct extent_map *hole_em; in fill_holes() local2157 hole_em = btrfs_alloc_extent_map(); in fill_holes()2158 if (!hole_em) { in fill_holes()2162 hole_em->start = offset; in fill_holes()2163 hole_em->len = end - offset; in fill_holes()2164 hole_em->ram_bytes = hole_em->len; in fill_holes()2166 hole_em->disk_bytenr = EXTENT_MAP_HOLE; in fill_holes()2167 hole_em->disk_num_bytes = 0; in fill_holes()2168 hole_em->generation = trans->transid; in fill_holes()2170 ret = btrfs_replace_extent_map_range(inode, hole_em, true); in fill_holes()[all …]
5338 struct extent_map *hole_em; in btrfs_cont_expand() local5349 hole_em = btrfs_alloc_extent_map(); in btrfs_cont_expand()5350 if (!hole_em) { in btrfs_cont_expand()5357 hole_em->start = cur_offset; in btrfs_cont_expand()5358 hole_em->len = hole_size; in btrfs_cont_expand()5360 hole_em->disk_bytenr = EXTENT_MAP_HOLE; in btrfs_cont_expand()5361 hole_em->disk_num_bytes = 0; in btrfs_cont_expand()5362 hole_em->ram_bytes = hole_size; in btrfs_cont_expand()5363 hole_em->generation = btrfs_get_fs_generation(fs_info); in btrfs_cont_expand()5365 ret = btrfs_replace_extent_map_range(inode, hole_em, true); in btrfs_cont_expand()[all …]