Lines Matching refs:hole_em
2134 struct extent_map *hole_em; in fill_holes() local
2193 hole_em = alloc_extent_map(); in fill_holes()
2194 if (!hole_em) { in fill_holes()
2199 hole_em->start = offset; in fill_holes()
2200 hole_em->len = end - offset; in fill_holes()
2201 hole_em->ram_bytes = hole_em->len; in fill_holes()
2202 hole_em->orig_start = offset; in fill_holes()
2204 hole_em->block_start = EXTENT_MAP_HOLE; in fill_holes()
2205 hole_em->block_len = 0; in fill_holes()
2206 hole_em->orig_block_len = 0; in fill_holes()
2207 hole_em->bdev = root->fs_info->fs_devices->latest_bdev; in fill_holes()
2208 hole_em->compress_type = BTRFS_COMPRESS_NONE; in fill_holes()
2209 hole_em->generation = trans->transid; in fill_holes()
2214 ret = add_extent_mapping(em_tree, hole_em, 1); in fill_holes()
2217 free_extent_map(hole_em); in fill_holes()