Lines Matching refs:extent_buffer
121 static inline void btrfs_assert_spinning_writers_get(struct extent_buffer *eb) in btrfs_assert_spinning_writers_get()
127 static inline void btrfs_assert_spinning_writers_put(struct extent_buffer *eb) in btrfs_assert_spinning_writers_put()
133 static inline void btrfs_assert_no_spinning_writers(struct extent_buffer *eb) in btrfs_assert_no_spinning_writers()
138 static inline void btrfs_assert_spinning_readers_get(struct extent_buffer *eb) in btrfs_assert_spinning_readers_get()
143 static inline void btrfs_assert_spinning_readers_put(struct extent_buffer *eb) in btrfs_assert_spinning_readers_put()
149 static inline void btrfs_assert_tree_read_locks_get(struct extent_buffer *eb) in btrfs_assert_tree_read_locks_get()
154 static inline void btrfs_assert_tree_read_locks_put(struct extent_buffer *eb) in btrfs_assert_tree_read_locks_put()
159 static inline void btrfs_assert_tree_read_locked(struct extent_buffer *eb) in btrfs_assert_tree_read_locked()
164 static inline void btrfs_assert_tree_write_locks_get(struct extent_buffer *eb) in btrfs_assert_tree_write_locks_get()
169 static inline void btrfs_assert_tree_write_locks_put(struct extent_buffer *eb) in btrfs_assert_tree_write_locks_put()
175 static void btrfs_assert_spinning_writers_get(struct extent_buffer *eb) { } in btrfs_assert_spinning_writers_get()
176 static void btrfs_assert_spinning_writers_put(struct extent_buffer *eb) { } in btrfs_assert_spinning_writers_put()
177 static void btrfs_assert_no_spinning_writers(struct extent_buffer *eb) { } in btrfs_assert_no_spinning_writers()
178 static void btrfs_assert_spinning_readers_put(struct extent_buffer *eb) { } in btrfs_assert_spinning_readers_put()
179 static void btrfs_assert_spinning_readers_get(struct extent_buffer *eb) { } in btrfs_assert_spinning_readers_get()
180 static void btrfs_assert_tree_read_locked(struct extent_buffer *eb) { } in btrfs_assert_tree_read_locked()
181 static void btrfs_assert_tree_read_locks_get(struct extent_buffer *eb) { } in btrfs_assert_tree_read_locks_get()
182 static void btrfs_assert_tree_read_locks_put(struct extent_buffer *eb) { } in btrfs_assert_tree_read_locks_put()
183 static void btrfs_assert_tree_write_locks_get(struct extent_buffer *eb) { } in btrfs_assert_tree_write_locks_get()
184 static void btrfs_assert_tree_write_locks_put(struct extent_buffer *eb) { } in btrfs_assert_tree_write_locks_put()
196 void btrfs_set_lock_blocking_read(struct extent_buffer *eb) in btrfs_set_lock_blocking_read()
220 void btrfs_set_lock_blocking_write(struct extent_buffer *eb) in btrfs_set_lock_blocking_write()
247 void __btrfs_tree_read_lock(struct extent_buffer *eb, enum btrfs_lock_nesting nest, in __btrfs_tree_read_lock()
284 void btrfs_tree_read_lock(struct extent_buffer *eb) in btrfs_tree_read_lock()
295 int btrfs_tree_read_lock_atomic(struct extent_buffer *eb) in btrfs_tree_read_lock_atomic()
317 int btrfs_try_tree_read_lock(struct extent_buffer *eb) in btrfs_try_tree_read_lock()
342 int btrfs_try_tree_write_lock(struct extent_buffer *eb) in btrfs_try_tree_write_lock()
366 void btrfs_tree_read_unlock(struct extent_buffer *eb) in btrfs_tree_read_unlock()
392 void btrfs_tree_read_unlock_blocking(struct extent_buffer *eb) in btrfs_tree_read_unlock_blocking()
419 void __btrfs_tree_lock(struct extent_buffer *eb, enum btrfs_lock_nesting nest) in __btrfs_tree_lock()
444 void btrfs_tree_lock(struct extent_buffer *eb) in btrfs_tree_lock()
457 void btrfs_tree_unlock(struct extent_buffer *eb) in btrfs_tree_unlock()
546 struct extent_buffer *btrfs_lock_root_node(struct btrfs_root *root) in btrfs_lock_root_node()
548 struct extent_buffer *eb; in btrfs_lock_root_node()
567 struct extent_buffer *__btrfs_read_lock_root_node(struct btrfs_root *root, in __btrfs_read_lock_root_node()
570 struct extent_buffer *eb; in __btrfs_read_lock_root_node()