Home
last modified time | relevance | path

Searched refs:hole_em (Results 1 – 2 of 2) sorted by relevance

/linux-6.15/fs/btrfs/
H A Dfile.c1981 struct extent_map *hole_em; in fill_holes() local
2044 hole_em = alloc_extent_map(); in fill_holes()
2045 if (!hole_em) { in fill_holes()
2049 hole_em->start = offset; in fill_holes()
2050 hole_em->len = end - offset; in fill_holes()
2051 hole_em->ram_bytes = hole_em->len; in fill_holes()
2053 hole_em->disk_bytenr = EXTENT_MAP_HOLE; in fill_holes()
2054 hole_em->disk_num_bytes = 0; in fill_holes()
2055 hole_em->generation = trans->transid; in fill_holes()
2057 ret = btrfs_replace_extent_map_range(inode, hole_em, true); in fill_holes()
[all …]
H A Dinode.c5042 struct extent_map *hole_em; in btrfs_cont_expand() local
5053 hole_em = alloc_extent_map(); in btrfs_cont_expand()
5054 if (!hole_em) { in btrfs_cont_expand()
5061 hole_em->start = cur_offset; in btrfs_cont_expand()
5062 hole_em->len = hole_size; in btrfs_cont_expand()
5064 hole_em->disk_bytenr = EXTENT_MAP_HOLE; in btrfs_cont_expand()
5065 hole_em->disk_num_bytes = 0; in btrfs_cont_expand()
5066 hole_em->ram_bytes = hole_size; in btrfs_cont_expand()
5067 hole_em->generation = btrfs_get_fs_generation(fs_info); in btrfs_cont_expand()
5069 ret = btrfs_replace_extent_map_range(inode, hole_em, true); in btrfs_cont_expand()
[all …]