Lines Matching refs:extent_buffer
69 struct extent_buffer *eb; in btrfs_extent_buffer_leak_debug_check()
82 struct extent_buffer, leak_list); in btrfs_extent_buffer_leak_debug_check()
238 sizeof(struct extent_buffer), 0, in extent_io_init()
2371 int btrfs_repair_eb_io_failure(const struct extent_buffer *eb, int mirror_num) in btrfs_repair_eb_io_failure()
2944 static struct extent_buffer *find_extent_buffer_readpage( in find_extent_buffer_readpage()
2947 struct extent_buffer *eb; in find_extent_buffer_readpage()
2955 return (struct extent_buffer *)page->private; in find_extent_buffer_readpage()
3069 struct extent_buffer *eb; in end_bio_extent_readpage()
3444 static int attach_extent_buffer_page(struct extent_buffer *eb, in attach_extent_buffer_page()
4164 void wait_on_extent_buffer_writeback(struct extent_buffer *eb) in wait_on_extent_buffer_writeback()
4170 static void end_extent_buffer_writeback(struct extent_buffer *eb) in end_extent_buffer_writeback()
4187 static noinline_for_stack int lock_extent_buffer_for_io(struct extent_buffer *eb, in lock_extent_buffer_for_io()
4293 static void set_btree_ioerr(struct page *page, struct extent_buffer *eb) in set_btree_ioerr()
4371 static struct extent_buffer *find_extent_buffer_nolock( in find_extent_buffer_nolock()
4374 struct extent_buffer *eb; in find_extent_buffer_nolock()
4413 struct extent_buffer *eb; in end_bio_subpage_eb_writepage()
4453 struct extent_buffer *eb; in end_bio_extent_buffer_writepage()
4461 eb = (struct extent_buffer *)page->private; in end_bio_extent_buffer_writepage()
4482 static void prepare_eb_write(struct extent_buffer *eb) in prepare_eb_write()
4511 static int write_one_subpage_eb(struct extent_buffer *eb, in write_one_subpage_eb()
4556 static noinline_for_stack int write_one_eb(struct extent_buffer *eb, in write_one_eb()
4632 struct extent_buffer *eb; in submit_eb_subpage()
4717 struct extent_buffer **eb_context) in submit_eb_page()
4721 struct extent_buffer *eb; in submit_eb_page()
4736 eb = (struct extent_buffer *)page->private; in submit_eb_page()
4791 struct extent_buffer *eb_context = NULL; in btree_write_cache_pages()
5710 static void __free_extent_buffer(struct extent_buffer *eb) in __free_extent_buffer()
5715 int extent_buffer_under_io(const struct extent_buffer *eb) in extent_buffer_under_io()
5742 static void detach_extent_buffer_page(struct extent_buffer *eb, struct page *page) in detach_extent_buffer_page()
5807 static void btrfs_release_extent_buffer_pages(struct extent_buffer *eb) in btrfs_release_extent_buffer_pages()
5831 static inline void btrfs_release_extent_buffer(struct extent_buffer *eb) in btrfs_release_extent_buffer()
5838 static struct extent_buffer *
5842 struct extent_buffer *eb = NULL; in __alloc_extent_buffer()
5864 struct extent_buffer *btrfs_clone_extent_buffer(const struct extent_buffer *src) in btrfs_clone_extent_buffer()
5868 struct extent_buffer *new; in btrfs_clone_extent_buffer()
5905 struct extent_buffer *__alloc_dummy_extent_buffer(struct btrfs_fs_info *fs_info, in __alloc_dummy_extent_buffer()
5908 struct extent_buffer *eb; in __alloc_dummy_extent_buffer()
5941 struct extent_buffer *alloc_dummy_extent_buffer(struct btrfs_fs_info *fs_info, in alloc_dummy_extent_buffer()
5947 static void check_buffer_tree_ref(struct extent_buffer *eb) in check_buffer_tree_ref()
5983 static void mark_extent_buffer_accessed(struct extent_buffer *eb, in mark_extent_buffer_accessed()
5999 struct extent_buffer *find_extent_buffer(struct btrfs_fs_info *fs_info, in find_extent_buffer()
6002 struct extent_buffer *eb; in find_extent_buffer()
6029 struct extent_buffer *alloc_test_extent_buffer(struct btrfs_fs_info *fs_info, in alloc_test_extent_buffer()
6032 struct extent_buffer *eb, *exists = NULL; in alloc_test_extent_buffer()
6070 static struct extent_buffer *grab_extent_buffer( in grab_extent_buffer()
6073 struct extent_buffer *exists; in grab_extent_buffer()
6093 exists = (struct extent_buffer *)page->private; in grab_extent_buffer()
6102 struct extent_buffer *alloc_extent_buffer(struct btrfs_fs_info *fs_info, in alloc_extent_buffer()
6109 struct extent_buffer *eb; in alloc_extent_buffer()
6110 struct extent_buffer *exists = NULL; in alloc_extent_buffer()
6272 struct extent_buffer *eb = in btrfs_release_extent_buffer_rcu()
6273 container_of(head, struct extent_buffer, rcu_head); in btrfs_release_extent_buffer_rcu()
6278 static int release_extent_buffer(struct extent_buffer *eb) in release_extent_buffer()
6315 void free_extent_buffer(struct extent_buffer *eb) in free_extent_buffer()
6347 void free_extent_buffer_stale(struct extent_buffer *eb) in free_extent_buffer_stale()
6373 static void clear_subpage_extent_buffer_dirty(const struct extent_buffer *eb) in clear_subpage_extent_buffer_dirty()
6389 void clear_extent_buffer_dirty(const struct extent_buffer *eb) in clear_extent_buffer_dirty()
6412 bool set_extent_buffer_dirty(struct extent_buffer *eb) in set_extent_buffer_dirty()
6456 void clear_extent_buffer_uptodate(struct extent_buffer *eb) in clear_extent_buffer_uptodate()
6473 void set_extent_buffer_uptodate(struct extent_buffer *eb) in set_extent_buffer_uptodate()
6488 static int read_extent_buffer_subpage(struct extent_buffer *eb, int wait, in read_extent_buffer_subpage()
6556 int read_extent_buffer_pages(struct extent_buffer *eb, int wait, int mirror_num) in read_extent_buffer_pages()
6685 static bool report_eb_range(const struct extent_buffer *eb, unsigned long start, in report_eb_range()
6703 static inline int check_eb_range(const struct extent_buffer *eb, in check_eb_range()
6715 void read_extent_buffer(const struct extent_buffer *eb, void *dstv, in read_extent_buffer()
6750 int read_extent_buffer_to_user_nofault(const struct extent_buffer *eb, in read_extent_buffer_to_user_nofault()
6786 int memcmp_extent_buffer(const struct extent_buffer *eb, const void *ptrv, in memcmp_extent_buffer()
6826 static void assert_eb_page_uptodate(const struct extent_buffer *eb, in assert_eb_page_uptodate()
6852 void write_extent_buffer_chunk_tree_uuid(const struct extent_buffer *eb, in write_extent_buffer_chunk_tree_uuid()
6864 void write_extent_buffer_fsid(const struct extent_buffer *eb, const void *srcv) in write_extent_buffer_fsid()
6874 void write_extent_buffer(const struct extent_buffer *eb, const void *srcv, in write_extent_buffer()
6906 void memzero_extent_buffer(const struct extent_buffer *eb, unsigned long start, in memzero_extent_buffer()
6934 void copy_extent_buffer_full(const struct extent_buffer *dst, in copy_extent_buffer_full()
6935 const struct extent_buffer *src) in copy_extent_buffer_full()
6958 void copy_extent_buffer(const struct extent_buffer *dst, in copy_extent_buffer()
6959 const struct extent_buffer *src, in copy_extent_buffer()
7007 static inline void eb_bitmap_offset(const struct extent_buffer *eb, in eb_bitmap_offset()
7032 int extent_buffer_test_bit(const struct extent_buffer *eb, unsigned long start, in extent_buffer_test_bit()
7054 void extent_buffer_bitmap_set(const struct extent_buffer *eb, unsigned long start, in extent_buffer_bitmap_set()
7096 void extent_buffer_bitmap_clear(const struct extent_buffer *eb, in extent_buffer_bitmap_clear()
7159 void memcpy_extent_buffer(const struct extent_buffer *dst, in memcpy_extent_buffer()
7194 void memmove_extent_buffer(const struct extent_buffer *dst, in memmove_extent_buffer()
7232 static struct extent_buffer *get_next_extent_buffer( in get_next_extent_buffer()
7235 struct extent_buffer *gang[BTRFS_SUBPAGE_BITMAP_SIZE]; in get_next_extent_buffer()
7236 struct extent_buffer *found = NULL; in get_next_extent_buffer()
7269 struct extent_buffer *eb = NULL; in try_release_subpage_extent_buffer()
7333 struct extent_buffer *eb; in try_release_extent_buffer()
7348 eb = (struct extent_buffer *)page->private; in try_release_extent_buffer()
7391 struct extent_buffer *eb; in btrfs_readahead_tree_block()
7418 void btrfs_readahead_node_child(struct extent_buffer *node, int slot) in btrfs_readahead_node_child()