Lines Matching refs:eb
86 void __btrfs_tree_lock(struct extent_buffer *eb, enum btrfs_lock_nesting nest);
87 void btrfs_tree_lock(struct extent_buffer *eb);
88 void btrfs_tree_unlock(struct extent_buffer *eb);
90 void __btrfs_tree_read_lock(struct extent_buffer *eb, enum btrfs_lock_nesting nest);
91 void btrfs_tree_read_lock(struct extent_buffer *eb);
92 void btrfs_tree_read_unlock(struct extent_buffer *eb);
93 int btrfs_try_tree_read_lock(struct extent_buffer *eb);
94 int btrfs_try_tree_write_lock(struct extent_buffer *eb);
100 static inline void btrfs_assert_tree_write_locked(struct extent_buffer *eb) in btrfs_assert_tree_write_locked() argument
102 lockdep_assert_held_write(&eb->lock); in btrfs_assert_tree_write_locked()
105 static inline void btrfs_assert_tree_write_locked(struct extent_buffer *eb) { } in btrfs_assert_tree_write_locked() argument
110 static inline void btrfs_tree_unlock_rw(struct extent_buffer *eb, int rw) in btrfs_tree_unlock_rw() argument
113 btrfs_tree_unlock(eb); in btrfs_tree_unlock_rw()
115 btrfs_tree_read_unlock(eb); in btrfs_tree_unlock_rw()
136 void btrfs_set_buffer_lockdep_class(u64 objectid, struct extent_buffer *eb, int level);
137 void btrfs_maybe_reset_lockdep_class(struct btrfs_root *root, struct extent_buffer *eb);
140 struct extent_buffer *eb, int level) in btrfs_set_buffer_lockdep_class() argument
144 struct extent_buffer *eb) in btrfs_maybe_reset_lockdep_class() argument