• Home
  • Raw
  • Download

Lines Matching refs:tree

103 			 struct extent_io_tree *tree, unsigned int owner,
105 void extent_io_tree_release(struct extent_io_tree *tree);
107 int lock_extent_bits(struct extent_io_tree *tree, u64 start, u64 end,
110 static inline int lock_extent(struct extent_io_tree *tree, u64 start, u64 end) in lock_extent() argument
112 return lock_extent_bits(tree, start, end, NULL); in lock_extent()
115 int try_lock_extent(struct extent_io_tree *tree, u64 start, u64 end);
120 u64 count_range_bits(struct extent_io_tree *tree,
125 int test_range_bit(struct extent_io_tree *tree, u64 start, u64 end,
127 int clear_record_extent_bits(struct extent_io_tree *tree, u64 start, u64 end,
129 int clear_extent_bit(struct extent_io_tree *tree, u64 start, u64 end,
132 int __clear_extent_bit(struct extent_io_tree *tree, u64 start, u64 end,
137 static inline int unlock_extent(struct extent_io_tree *tree, u64 start, u64 end) in unlock_extent() argument
139 return clear_extent_bit(tree, start, end, EXTENT_LOCKED, 1, 0, NULL); in unlock_extent()
142 static inline int unlock_extent_cached(struct extent_io_tree *tree, u64 start, in unlock_extent_cached() argument
145 return __clear_extent_bit(tree, start, end, EXTENT_LOCKED, 1, 0, cached, in unlock_extent_cached()
149 static inline int unlock_extent_cached_atomic(struct extent_io_tree *tree, in unlock_extent_cached_atomic() argument
152 return __clear_extent_bit(tree, start, end, EXTENT_LOCKED, 1, 0, cached, in unlock_extent_cached_atomic()
156 static inline int clear_extent_bits(struct extent_io_tree *tree, u64 start, in clear_extent_bits() argument
164 return clear_extent_bit(tree, start, end, bits, wake, 0, NULL); in clear_extent_bits()
167 int set_record_extent_bits(struct extent_io_tree *tree, u64 start, u64 end,
169 int set_extent_bit(struct extent_io_tree *tree, u64 start, u64 end,
173 int set_extent_bits_nowait(struct extent_io_tree *tree, u64 start, u64 end,
176 static inline int set_extent_bits(struct extent_io_tree *tree, u64 start, in set_extent_bits() argument
179 return set_extent_bit(tree, start, end, bits, 0, NULL, NULL, GFP_NOFS, in set_extent_bits()
183 static inline int clear_extent_uptodate(struct extent_io_tree *tree, u64 start, in clear_extent_uptodate() argument
186 return __clear_extent_bit(tree, start, end, EXTENT_UPTODATE, 0, 0, in clear_extent_uptodate()
190 static inline int set_extent_dirty(struct extent_io_tree *tree, u64 start, in set_extent_dirty() argument
193 return set_extent_bit(tree, start, end, EXTENT_DIRTY, 0, NULL, NULL, in set_extent_dirty()
197 static inline int clear_extent_dirty(struct extent_io_tree *tree, u64 start, in clear_extent_dirty() argument
200 return clear_extent_bit(tree, start, end, in clear_extent_dirty()
205 int convert_extent_bit(struct extent_io_tree *tree, u64 start, u64 end,
209 static inline int set_extent_delalloc(struct extent_io_tree *tree, u64 start, in set_extent_delalloc() argument
213 return set_extent_bit(tree, start, end, in set_extent_delalloc()
218 static inline int set_extent_defrag(struct extent_io_tree *tree, u64 start, in set_extent_defrag() argument
221 return set_extent_bit(tree, start, end, in set_extent_defrag()
226 static inline int set_extent_new(struct extent_io_tree *tree, u64 start, in set_extent_new() argument
229 return set_extent_bit(tree, start, end, EXTENT_NEW, 0, NULL, NULL, in set_extent_new()
233 static inline int set_extent_uptodate(struct extent_io_tree *tree, u64 start, in set_extent_uptodate() argument
236 return set_extent_bit(tree, start, end, EXTENT_UPTODATE, 0, NULL, in set_extent_uptodate()
240 int find_first_extent_bit(struct extent_io_tree *tree, u64 start,
243 void find_first_clear_extent_bit(struct extent_io_tree *tree, u64 start,
245 int find_contiguous_extent_bit(struct extent_io_tree *tree, u64 start,
247 int extent_invalidatepage(struct extent_io_tree *tree,
249 bool btrfs_find_delalloc_range(struct extent_io_tree *tree, u64 *start,
254 struct io_failure_record *get_state_failrec(struct extent_io_tree *tree, u64 start);
255 int set_state_failrec(struct extent_io_tree *tree, u64 start,