Lines Matching refs:eb
98 struct extent_buffer *eb; member
111 static inline size_t get_eb_offset_in_page(const struct extent_buffer *eb, in get_eb_offset_in_page() argument
121 return offset_in_page(offset + eb->start); in get_eb_offset_in_page()
209 void free_extent_buffer(struct extent_buffer *eb);
210 void free_extent_buffer_stale(struct extent_buffer *eb);
214 int read_extent_buffer_pages(struct extent_buffer *eb, int wait, int mirror_num,
216 void wait_on_extent_buffer_writeback(struct extent_buffer *eb);
221 static inline int num_extent_pages(const struct extent_buffer *eb) in num_extent_pages() argument
230 return (eb->len >> PAGE_SHIFT) ?: 1; in num_extent_pages()
233 static inline int extent_buffer_uptodate(const struct extent_buffer *eb) in extent_buffer_uptodate() argument
235 return test_bit(EXTENT_BUFFER_UPTODATE, &eb->bflags); in extent_buffer_uptodate()
238 int memcmp_extent_buffer(const struct extent_buffer *eb, const void *ptrv,
240 void read_extent_buffer(const struct extent_buffer *eb, void *dst,
243 int read_extent_buffer_to_user_nofault(const struct extent_buffer *eb,
246 void write_extent_buffer(const struct extent_buffer *eb, const void *src,
250 const struct extent_buffer *eb, const void *chunk_tree_uuid) in write_extent_buffer_chunk_tree_uuid() argument
252 write_extent_buffer(eb, chunk_tree_uuid, in write_extent_buffer_chunk_tree_uuid()
257 static inline void write_extent_buffer_fsid(const struct extent_buffer *eb, in write_extent_buffer_fsid() argument
260 write_extent_buffer(eb, fsid, offsetof(struct btrfs_header, fsid), in write_extent_buffer_fsid()
276 void memzero_extent_buffer(const struct extent_buffer *eb, unsigned long start,
278 int extent_buffer_test_bit(const struct extent_buffer *eb, unsigned long start,
280 void extent_buffer_bitmap_set(const struct extent_buffer *eb, unsigned long start,
282 void extent_buffer_bitmap_clear(const struct extent_buffer *eb,
285 void set_extent_buffer_dirty(struct extent_buffer *eb);
286 void set_extent_buffer_uptodate(struct extent_buffer *eb);
287 void clear_extent_buffer_uptodate(struct extent_buffer *eb);