Lines Matching refs:extent_buffer
162 void __btrfs_tree_lock(struct extent_buffer *eb, enum btrfs_lock_nesting nest);
163 void btrfs_tree_lock(struct extent_buffer *eb);
164 void btrfs_tree_unlock(struct extent_buffer *eb);
166 void __btrfs_tree_read_lock(struct extent_buffer *eb, enum btrfs_lock_nesting nest);
167 void btrfs_tree_read_lock(struct extent_buffer *eb);
168 void btrfs_tree_read_unlock(struct extent_buffer *eb);
169 int btrfs_try_tree_read_lock(struct extent_buffer *eb);
170 int btrfs_try_tree_write_lock(struct extent_buffer *eb);
171 struct extent_buffer *btrfs_lock_root_node(struct btrfs_root *root);
172 struct extent_buffer *btrfs_read_lock_root_node(struct btrfs_root *root);
173 struct extent_buffer *btrfs_try_read_lock_root_node(struct btrfs_root *root);
176 static inline void btrfs_assert_tree_write_locked(struct extent_buffer *eb) in btrfs_assert_tree_write_locked()
181 static inline void btrfs_assert_tree_write_locked(struct extent_buffer *eb) { } in btrfs_assert_tree_write_locked()
186 static inline void btrfs_tree_unlock_rw(struct extent_buffer *eb, int rw) in btrfs_tree_unlock_rw()
211 void btrfs_set_buffer_lockdep_class(u64 objectid, struct extent_buffer *eb, int level);
212 void btrfs_maybe_reset_lockdep_class(struct btrfs_root *root, struct extent_buffer *eb);
215 struct extent_buffer *eb, int level) in btrfs_set_buffer_lockdep_class()
219 struct extent_buffer *eb) in btrfs_maybe_reset_lockdep_class()