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 …]
5360 struct extent_map *hole_em; in btrfs_cont_expand() local 5371 hole_em = btrfs_alloc_extent_map(); in btrfs_cont_expand() 5372 if (!hole_em) { in btrfs_cont_expand() 5379 hole_em->start = cur_offset; in btrfs_cont_expand() 5380 hole_em->len = hole_size; in btrfs_cont_expand() 5382 hole_em->disk_bytenr = EXTENT_MAP_HOLE; in btrfs_cont_expand() 5383 hole_em->disk_num_bytes = 0; in btrfs_cont_expand() 5384 hole_em->ram_bytes = hole_size; in btrfs_cont_expand() 5385 hole_em->generation = btrfs_get_fs_generation(fs_info); in btrfs_cont_expand() 5387 ret = btrfs_replace_extent_map_range(inode, hole_em, tru in btrfs_cont_expand() [all...]