Lines Matching defs:extent_io_tree

95 struct extent_io_tree {
130 struct btrfs_inode *extent_io_tree_to_inode(struct extent_io_tree *tree);
131 const struct btrfs_inode *extent_io_tree_to_inode_const(const struct extent_io_tree *tree);
132 const struct btrfs_fs_info *extent_io_tree_to_fs_info(const struct extent_io_tree *tree);
135 struct extent_io_tree *tree, unsigned int owner);
136 void extent_io_tree_release(struct extent_io_tree *tree);
138 int lock_extent(struct extent_io_tree *tree, u64 start, u64 end,
141 int try_lock_extent(struct extent_io_tree *tree, u64 start, u64 end,
147 u64 count_range_bits(struct extent_io_tree *tree,
153 bool test_range_bit(struct extent_io_tree *tree, u64 start, u64 end, u32 bit,
155 bool test_range_bit_exists(struct extent_io_tree *tree, u64 start, u64 end, u32 bit);
156 int clear_record_extent_bits(struct extent_io_tree *tree, u64 start, u64 end,
158 int __clear_extent_bit(struct extent_io_tree *tree, u64 start, u64 end,
162 static inline int clear_extent_bit(struct extent_io_tree *tree, u64 start,
169 static inline int unlock_extent(struct extent_io_tree *tree, u64 start, u64 end,
175 static inline int clear_extent_bits(struct extent_io_tree *tree, u64 start,
181 int set_record_extent_bits(struct extent_io_tree *tree, u64 start, u64 end,
183 int set_extent_bit(struct extent_io_tree *tree, u64 start, u64 end,
186 static inline int clear_extent_uptodate(struct extent_io_tree *tree, u64 start,
193 static inline int clear_extent_dirty(struct extent_io_tree *tree, u64 start,
201 int convert_extent_bit(struct extent_io_tree *tree, u64 start, u64 end,
205 bool find_first_extent_bit(struct extent_io_tree *tree, u64 start,
208 void find_first_clear_extent_bit(struct extent_io_tree *tree, u64 start,
210 int find_contiguous_extent_bit(struct extent_io_tree *tree, u64 start,
212 bool btrfs_find_delalloc_range(struct extent_io_tree *tree, u64 *start,