Lines Matching refs:extent_buffer
93 struct extent_buffer { struct
130 struct extent_buffer *eb; argument
135 static inline unsigned long offset_in_eb_folio(const struct extent_buffer *eb, in offset_in_eb_folio()
150 static inline size_t get_eb_offset_in_folio(const struct extent_buffer *eb, in get_eb_offset_in_folio()
171 static inline unsigned long get_eb_folio_index(const struct extent_buffer *eb, in get_eb_folio_index()
254 struct extent_buffer *alloc_extent_buffer(struct btrfs_fs_info *fs_info,
256 struct extent_buffer *__alloc_dummy_extent_buffer(struct btrfs_fs_info *fs_info,
258 struct extent_buffer *alloc_dummy_extent_buffer(struct btrfs_fs_info *fs_info,
260 struct extent_buffer *btrfs_clone_extent_buffer(const struct extent_buffer *src);
261 struct extent_buffer *find_extent_buffer(struct btrfs_fs_info *fs_info,
263 void free_extent_buffer(struct extent_buffer *eb);
264 void free_extent_buffer_stale(struct extent_buffer *eb);
268 int read_extent_buffer_pages(struct extent_buffer *eb, int wait, int mirror_num,
270 void wait_on_extent_buffer_writeback(struct extent_buffer *eb);
273 void btrfs_readahead_node_child(struct extent_buffer *node, int slot);
275 static inline int num_extent_pages(const struct extent_buffer *eb) in num_extent_pages()
294 static inline int num_extent_folios(const struct extent_buffer *eb) in num_extent_folios()
301 static inline int extent_buffer_uptodate(const struct extent_buffer *eb) in extent_buffer_uptodate()
306 int memcmp_extent_buffer(const struct extent_buffer *eb, const void *ptrv,
308 void read_extent_buffer(const struct extent_buffer *eb, void *dst,
311 int read_extent_buffer_to_user_nofault(const struct extent_buffer *eb,
314 void write_extent_buffer(const struct extent_buffer *eb, const void *src,
318 const struct extent_buffer *eb, const void *chunk_tree_uuid) in write_extent_buffer_chunk_tree_uuid()
325 static inline void write_extent_buffer_fsid(const struct extent_buffer *eb, in write_extent_buffer_fsid()
332 void copy_extent_buffer_full(const struct extent_buffer *dst,
333 const struct extent_buffer *src);
334 void copy_extent_buffer(const struct extent_buffer *dst,
335 const struct extent_buffer *src,
338 void memcpy_extent_buffer(const struct extent_buffer *dst,
341 void memmove_extent_buffer(const struct extent_buffer *dst,
344 void memzero_extent_buffer(const struct extent_buffer *eb, unsigned long start,
346 int extent_buffer_test_bit(const struct extent_buffer *eb, unsigned long start,
348 void extent_buffer_bitmap_set(const struct extent_buffer *eb, unsigned long start,
350 void extent_buffer_bitmap_clear(const struct extent_buffer *eb,
353 void set_extent_buffer_dirty(struct extent_buffer *eb);
354 void set_extent_buffer_uptodate(struct extent_buffer *eb);
355 void clear_extent_buffer_uptodate(struct extent_buffer *eb);
363 struct extent_buffer *buf);
374 struct extent_buffer *alloc_test_extent_buffer(struct btrfs_fs_info *fs_info,