Lines Matching refs:extent_buffer
44 static inline void btrfs_leak_debug_add_eb(struct extent_buffer *eb) in btrfs_leak_debug_add_eb()
54 static inline void btrfs_leak_debug_del_eb(struct extent_buffer *eb) in btrfs_leak_debug_del_eb()
66 struct extent_buffer *eb; in btrfs_extent_buffer_leak_debug_check()
80 struct extent_buffer, leak_list); in btrfs_extent_buffer_leak_debug_check()
151 sizeof(struct extent_buffer), 0, in extent_buffer_init_cachep()
865 static int attach_extent_buffer_page(struct extent_buffer *eb, in attach_extent_buffer_page()
1469 void wait_on_extent_buffer_writeback(struct extent_buffer *eb) in wait_on_extent_buffer_writeback()
1482 static noinline_for_stack bool lock_extent_buffer_for_io(struct extent_buffer *eb, in lock_extent_buffer_for_io()
1518 static void set_btree_ioerr(struct extent_buffer *eb) in set_btree_ioerr()
1595 static struct extent_buffer *find_extent_buffer_nolock( in find_extent_buffer_nolock()
1598 struct extent_buffer *eb; in find_extent_buffer_nolock()
1613 struct extent_buffer *eb = bbio->private; in extent_buffer_write_end_io()
1639 static void prepare_eb_write(struct extent_buffer *eb) in prepare_eb_write()
1667 static noinline_for_stack void write_one_eb(struct extent_buffer *eb, in write_one_eb()
1737 struct extent_buffer *eb; in submit_eb_subpage()
1811 struct extent_buffer *eb; in submit_eb_page()
1826 eb = (struct extent_buffer *)page->private; in submit_eb_page()
2611 struct extent_buffer *clone; in fiemap_next_leaf_item()
2655 struct extent_buffer *clone; in fiemap_search_slot()
2841 struct extent_buffer *leaf; in fiemap_find_last_extent_offset()
2960 struct extent_buffer *leaf = path->nodes[0]; in extent_fiemap()
3140 static void __free_extent_buffer(struct extent_buffer *eb) in __free_extent_buffer()
3145 static int extent_buffer_under_io(const struct extent_buffer *eb) in extent_buffer_under_io()
3171 static void detach_extent_buffer_page(struct extent_buffer *eb, struct page *page) in detach_extent_buffer_page()
3236 static void btrfs_release_extent_buffer_pages(struct extent_buffer *eb) in btrfs_release_extent_buffer_pages()
3260 static inline void btrfs_release_extent_buffer(struct extent_buffer *eb) in btrfs_release_extent_buffer()
3267 static struct extent_buffer *
3271 struct extent_buffer *eb = NULL; in __alloc_extent_buffer()
3289 struct extent_buffer *btrfs_clone_extent_buffer(const struct extent_buffer *src) in btrfs_clone_extent_buffer()
3292 struct extent_buffer *new; in btrfs_clone_extent_buffer()
3330 struct extent_buffer *__alloc_dummy_extent_buffer(struct btrfs_fs_info *fs_info, in __alloc_dummy_extent_buffer()
3333 struct extent_buffer *eb; in __alloc_dummy_extent_buffer()
3371 struct extent_buffer *alloc_dummy_extent_buffer(struct btrfs_fs_info *fs_info, in alloc_dummy_extent_buffer()
3377 static void check_buffer_tree_ref(struct extent_buffer *eb) in check_buffer_tree_ref()
3413 static void mark_extent_buffer_accessed(struct extent_buffer *eb, in mark_extent_buffer_accessed()
3429 struct extent_buffer *find_extent_buffer(struct btrfs_fs_info *fs_info, in find_extent_buffer()
3432 struct extent_buffer *eb; in find_extent_buffer()
3459 struct extent_buffer *alloc_test_extent_buffer(struct btrfs_fs_info *fs_info, in alloc_test_extent_buffer()
3462 struct extent_buffer *eb, *exists = NULL; in alloc_test_extent_buffer()
3500 static struct extent_buffer *grab_extent_buffer( in grab_extent_buffer()
3503 struct extent_buffer *exists; in grab_extent_buffer()
3523 exists = (struct extent_buffer *)page->private; in grab_extent_buffer()
3556 struct extent_buffer *alloc_extent_buffer(struct btrfs_fs_info *fs_info, in alloc_extent_buffer()
3563 struct extent_buffer *eb; in alloc_extent_buffer()
3564 struct extent_buffer *exists = NULL; in alloc_extent_buffer()
3713 struct extent_buffer *eb = in btrfs_release_extent_buffer_rcu()
3714 container_of(head, struct extent_buffer, rcu_head); in btrfs_release_extent_buffer_rcu()
3719 static int release_extent_buffer(struct extent_buffer *eb) in release_extent_buffer()
3756 void free_extent_buffer(struct extent_buffer *eb) in free_extent_buffer()
3786 void free_extent_buffer_stale(struct extent_buffer *eb) in free_extent_buffer_stale()
3812 static void clear_subpage_extent_buffer_dirty(const struct extent_buffer *eb) in clear_subpage_extent_buffer_dirty()
3829 struct extent_buffer *eb) in btrfs_clear_buffer_dirty()
3863 void set_extent_buffer_dirty(struct extent_buffer *eb) in set_extent_buffer_dirty()
3908 void clear_extent_buffer_uptodate(struct extent_buffer *eb) in clear_extent_buffer_uptodate()
3934 void set_extent_buffer_uptodate(struct extent_buffer *eb) in set_extent_buffer_uptodate()
3960 struct extent_buffer *eb = bbio->private; in extent_buffer_read_end_io()
4001 int read_extent_buffer_pages(struct extent_buffer *eb, int wait, int mirror_num, in read_extent_buffer_pages()
4053 static bool report_eb_range(const struct extent_buffer *eb, unsigned long start, in report_eb_range()
4071 static inline int check_eb_range(const struct extent_buffer *eb, in check_eb_range()
4083 void read_extent_buffer(const struct extent_buffer *eb, void *dstv, in read_extent_buffer()
4118 int read_extent_buffer_to_user_nofault(const struct extent_buffer *eb, in read_extent_buffer_to_user_nofault()
4154 int memcmp_extent_buffer(const struct extent_buffer *eb, const void *ptrv, in memcmp_extent_buffer()
4194 static void assert_eb_page_uptodate(const struct extent_buffer *eb, in assert_eb_page_uptodate()
4219 static void __write_extent_buffer(const struct extent_buffer *eb, in __write_extent_buffer()
4258 void write_extent_buffer(const struct extent_buffer *eb, const void *srcv, in write_extent_buffer()
4264 static void memset_extent_buffer(const struct extent_buffer *eb, int c, in memset_extent_buffer()
4282 void memzero_extent_buffer(const struct extent_buffer *eb, unsigned long start, in memzero_extent_buffer()
4290 void copy_extent_buffer_full(const struct extent_buffer *dst, in copy_extent_buffer_full()
4291 const struct extent_buffer *src) in copy_extent_buffer_full()
4309 void copy_extent_buffer(const struct extent_buffer *dst, in copy_extent_buffer()
4310 const struct extent_buffer *src, in copy_extent_buffer()
4358 static inline void eb_bitmap_offset(const struct extent_buffer *eb, in eb_bitmap_offset()
4384 int extent_buffer_test_bit(const struct extent_buffer *eb, unsigned long start, in extent_buffer_test_bit()
4399 static u8 *extent_buffer_get_byte(const struct extent_buffer *eb, unsigned long bytenr) in extent_buffer_get_byte()
4416 void extent_buffer_bitmap_set(const struct extent_buffer *eb, unsigned long start, in extent_buffer_bitmap_set()
4452 void extent_buffer_bitmap_clear(const struct extent_buffer *eb, in extent_buffer_bitmap_clear()
4486 void memcpy_extent_buffer(const struct extent_buffer *dst, in memcpy_extent_buffer()
4512 void memmove_extent_buffer(const struct extent_buffer *dst, in memmove_extent_buffer()
4559 static struct extent_buffer *get_next_extent_buffer( in get_next_extent_buffer()
4562 struct extent_buffer *gang[GANG_LOOKUP_SIZE]; in get_next_extent_buffer()
4563 struct extent_buffer *found = NULL; in get_next_extent_buffer()
4604 struct extent_buffer *eb = NULL; in try_release_subpage_extent_buffer()
4668 struct extent_buffer *eb; in try_release_extent_buffer()
4683 eb = (struct extent_buffer *)page->private; in try_release_extent_buffer()
4731 struct extent_buffer *eb; in btrfs_readahead_tree_block()
4758 void btrfs_readahead_node_child(struct extent_buffer *node, int slot) in btrfs_readahead_node_child()