Lines Matching refs:insert_extent
15 static void insert_extent(struct btrfs_root *root, u64 start, u64 len, in insert_extent() function
94 insert_extent(root, offset, 5, 5, 0, 0, 0, BTRFS_FILE_EXTENT_REG, 0, in setup_file_extents()
105 insert_extent(root, offset, 1, 1, 0, 0, 0, BTRFS_FILE_EXTENT_INLINE, 0, in setup_file_extents()
111 insert_extent(root, offset, 4, 4, 0, 0, 0, BTRFS_FILE_EXTENT_REG, 0, in setup_file_extents()
117 insert_extent(root, offset, sectorsize - 1, sectorsize - 1, 0, in setup_file_extents()
127 insert_extent(root, offset, sectorsize, 4 * sectorsize, 0, disk_bytenr, in setup_file_extents()
131 insert_extent(root, offset, sectorsize, sectorsize, 0, 0, 0, in setup_file_extents()
135 insert_extent(root, offset, 2 * sectorsize, 4 * sectorsize, in setup_file_extents()
143 insert_extent(root, offset, sectorsize, sectorsize, 0, disk_bytenr, in setup_file_extents()
159 insert_extent(root, offset, sectorsize, 4 * sectorsize, 0, disk_bytenr, in setup_file_extents()
163 insert_extent(root, offset, sectorsize, 4 * sectorsize, sectorsize, in setup_file_extents()
168 insert_extent(root, offset, 2 * sectorsize, 4 * sectorsize, in setup_file_extents()
176 insert_extent(root, offset, 2 * sectorsize, 2 * sectorsize, 0, in setup_file_extents()
185 insert_extent(root, offset, sectorsize, 4 * sectorsize, 0, disk_bytenr, in setup_file_extents()
190 insert_extent(root, offset, sectorsize, sectorsize, 0, in setup_file_extents()
195 insert_extent(root, offset, 2 * sectorsize, 4 * sectorsize, in setup_file_extents()
203 insert_extent(root, offset, sectorsize, sectorsize, 0, disk_bytenr, in setup_file_extents()
208 insert_extent(root, offset, sectorsize, sectorsize, 0, disk_bytenr, in setup_file_extents()
861 insert_extent(root, sectorsize, sectorsize, sectorsize, 0, sectorsize, in test_hole_first()