Lines Matching refs:extent
1727 struct btrfs_dev_extent *extent = NULL; in btrfs_free_dev_extent() local
1745 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_free_dev_extent()
1748 btrfs_dev_extent_length(leaf, extent) < start); in btrfs_free_dev_extent()
1754 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_free_dev_extent()
1761 *dev_extent_len = btrfs_dev_extent_length(leaf, extent); in btrfs_free_dev_extent()
1783 struct btrfs_dev_extent *extent; in btrfs_alloc_dev_extent() local
1797 sizeof(*extent)); in btrfs_alloc_dev_extent()
1802 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_alloc_dev_extent()
1804 btrfs_set_dev_extent_chunk_tree(leaf, extent, in btrfs_alloc_dev_extent()
1806 btrfs_set_dev_extent_chunk_objectid(leaf, extent, in btrfs_alloc_dev_extent()
1808 btrfs_set_dev_extent_chunk_offset(leaf, extent, chunk_offset); in btrfs_alloc_dev_extent()
1810 btrfs_set_dev_extent_length(leaf, extent, num_bytes); in btrfs_alloc_dev_extent()