Lines Matching defs:tree
85 #define btrfs_debug_check_extent_io_range(tree, start, end) \ argument
88 struct extent_io_tree *tree, u64 start, u64 end) in __btrfs_debug_check_extent_io_range()
121 struct extent_io_tree *tree; member
155 tree_fs_info(struct extent_io_tree *tree) in tree_fs_info()
215 void extent_io_tree_init(struct extent_io_tree *tree, in extent_io_tree_init()
290 static struct rb_node *__etree_search(struct extent_io_tree *tree, u64 offset, in __etree_search()
343 tree_search_for_insert(struct extent_io_tree *tree, in tree_search_for_insert()
357 static inline struct rb_node *tree_search(struct extent_io_tree *tree, in tree_search()
363 static void merge_cb(struct extent_io_tree *tree, struct extent_state *new, in merge_cb()
380 static void merge_state(struct extent_io_tree *tree, in merge_state()
415 static void set_state_cb(struct extent_io_tree *tree, in set_state_cb()
422 static void clear_state_cb(struct extent_io_tree *tree, in clear_state_cb()
443 static int insert_state(struct extent_io_tree *tree, in insert_state()
471 static void split_cb(struct extent_io_tree *tree, struct extent_state *orig, in split_cb()
492 static int split_state(struct extent_io_tree *tree, struct extent_state *orig, in split_state()
529 static struct extent_state *clear_state_bit(struct extent_io_tree *tree, in clear_state_bit()
572 static void extent_io_tree_panic(struct extent_io_tree *tree, int err) in extent_io_tree_panic()
590 static int __clear_extent_bit(struct extent_io_tree *tree, u64 start, u64 end, in __clear_extent_bit()
745 static void wait_on_state(struct extent_io_tree *tree, in wait_on_state()
763 static void wait_extent_bit(struct extent_io_tree *tree, u64 start, u64 end, in wait_extent_bit()
809 static void set_state_bits(struct extent_io_tree *tree, in set_state_bits()
855 __set_extent_bit(struct extent_io_tree *tree, u64 start, u64 end, in __set_extent_bit()
1061 int set_extent_bit(struct extent_io_tree *tree, u64 start, u64 end, in set_extent_bit()
1088 int convert_extent_bit(struct extent_io_tree *tree, u64 start, u64 end, in convert_extent_bit()
1287 int set_record_extent_bits(struct extent_io_tree *tree, u64 start, u64 end, in set_record_extent_bits()
1302 int clear_extent_bit(struct extent_io_tree *tree, u64 start, u64 end, in clear_extent_bit()
1310 int clear_record_extent_bits(struct extent_io_tree *tree, u64 start, u64 end, in clear_record_extent_bits()
1327 int lock_extent_bits(struct extent_io_tree *tree, u64 start, u64 end, in lock_extent_bits()
1347 int try_lock_extent(struct extent_io_tree *tree, u64 start, u64 end) in try_lock_extent()
1397 static void set_range_writeback(struct extent_io_tree *tree, u64 start, u64 end) in set_range_writeback()
1417 find_first_extent_bit_state(struct extent_io_tree *tree, in find_first_extent_bit_state()
1451 int find_first_extent_bit(struct extent_io_tree *tree, u64 start, in find_first_extent_bit()
1498 static noinline u64 find_delalloc_range(struct extent_io_tree *tree, in find_delalloc_range()
1650 struct extent_io_tree *tree, in find_lock_delalloc_range()
1734 struct extent_io_tree *tree = &BTRFS_I(inode)->io_tree; in extent_clear_unlock_delalloc() local
1785 u64 count_range_bits(struct extent_io_tree *tree, in count_range_bits()
1844 static noinline int set_state_failrec(struct extent_io_tree *tree, u64 start, in set_state_failrec()
1872 static noinline int get_state_failrec(struct extent_io_tree *tree, u64 start, in get_state_failrec()
1906 int test_range_bit(struct extent_io_tree *tree, u64 start, u64 end, in test_range_bit()
1960 static void check_page_uptodate(struct extent_io_tree *tree, struct page *page) in check_page_uptodate()
2195 struct extent_io_tree *tree = &BTRFS_I(inode)->io_tree; in btrfs_get_io_failure_record() local
2389 struct extent_io_tree *tree = &BTRFS_I(inode)->io_tree; in bio_readpage_error() local
2441 struct extent_io_tree *tree; in end_extent_writepage() local
2507 endio_readpage_release_extent(struct extent_io_tree *tree, u64 start, u64 len, in endio_readpage_release_extent()
2534 struct extent_io_tree *tree; in end_bio_extent_readpage() local
2732 struct extent_io_tree *tree = bio->bi_private; in submit_one_bio() local
2750 static int merge_bio(struct extent_io_tree *tree, struct page *page, in merge_bio()
2762 static int submit_extent_page(int op, int op_flags, struct extent_io_tree *tree, in submit_extent_page()
2882 static int __do_readpage(struct extent_io_tree *tree, in __do_readpage()
3097 static inline void __do_contiguous_readpages(struct extent_io_tree *tree, in __do_contiguous_readpages()
3129 static void __extent_readpages(struct extent_io_tree *tree, in __extent_readpages()
3171 static int __extent_read_full_page(struct extent_io_tree *tree, in __extent_read_full_page()
3199 int extent_read_full_page(struct extent_io_tree *tree, struct page *page, in extent_read_full_page()
3235 struct extent_io_tree *tree = epd->tree; in writepage_delalloc() local
3324 struct extent_io_tree *tree = epd->tree; in __extent_writepage_io() local
3726 struct extent_io_tree *tree = &BTRFS_I(fs_info->btree_inode)->io_tree; in write_one_eb() local
3796 struct extent_io_tree *tree = &BTRFS_I(mapping->host)->io_tree; in btree_write_cache_pages() local
3930 static int extent_write_cache_pages(struct extent_io_tree *tree, in extent_write_cache_pages()
4093 int extent_write_full_page(struct extent_io_tree *tree, struct page *page, in extent_write_full_page()
4113 int extent_write_locked_range(struct extent_io_tree *tree, struct inode *inode, in extent_write_locked_range()
4157 int extent_writepages(struct extent_io_tree *tree, in extent_writepages()
4179 int extent_readpages(struct extent_io_tree *tree, in extent_readpages()
4230 int extent_invalidatepage(struct extent_io_tree *tree, in extent_invalidatepage()
4257 struct extent_io_tree *tree, in try_release_extent_state()
4295 struct extent_io_tree *tree, struct page *page, in try_release_extent_mapping()
5213 int read_extent_buffer_pages(struct extent_io_tree *tree, in read_extent_buffer_pages()