Lines Matching refs:hole_em
2157 struct extent_map *hole_em; in fill_holes() local
2216 hole_em = alloc_extent_map(); in fill_holes()
2217 if (!hole_em) { in fill_holes()
2222 hole_em->start = offset; in fill_holes()
2223 hole_em->len = end - offset; in fill_holes()
2224 hole_em->ram_bytes = hole_em->len; in fill_holes()
2225 hole_em->orig_start = offset; in fill_holes()
2227 hole_em->block_start = EXTENT_MAP_HOLE; in fill_holes()
2228 hole_em->block_len = 0; in fill_holes()
2229 hole_em->orig_block_len = 0; in fill_holes()
2230 hole_em->bdev = root->fs_info->fs_devices->latest_bdev; in fill_holes()
2231 hole_em->compress_type = BTRFS_COMPRESS_NONE; in fill_holes()
2232 hole_em->generation = trans->transid; in fill_holes()
2237 ret = add_extent_mapping(em_tree, hole_em, 1); in fill_holes()
2240 free_extent_map(hole_em); in fill_holes()