Lines Matching defs:tree

87 #define btrfs_debug_check_extent_io_range(tree, start, end)		\  argument
90 struct extent_io_tree *tree, u64 start, u64 end) in __btrfs_debug_check_extent_io_range()
113 struct extent_io_tree *tree; member
147 struct extent_io_tree *tree = bio->bi_private; in submit_one_bio() local
248 void extent_io_tree_init(struct extent_io_tree *tree, in extent_io_tree_init()
328 static struct rb_node *__etree_search(struct extent_io_tree *tree, u64 offset, in __etree_search()
381 tree_search_for_insert(struct extent_io_tree *tree, in tree_search_for_insert()
395 static inline struct rb_node *tree_search(struct extent_io_tree *tree, in tree_search()
401 static void merge_cb(struct extent_io_tree *tree, struct extent_state *new, in merge_cb()
417 static void merge_state(struct extent_io_tree *tree, in merge_state()
452 static void set_state_cb(struct extent_io_tree *tree, in set_state_cb()
459 static void clear_state_cb(struct extent_io_tree *tree, in clear_state_cb()
480 static int insert_state(struct extent_io_tree *tree, in insert_state()
508 static void split_cb(struct extent_io_tree *tree, struct extent_state *orig, in split_cb()
529 static int split_state(struct extent_io_tree *tree, struct extent_state *orig, in split_state()
566 static struct extent_state *clear_state_bit(struct extent_io_tree *tree, in clear_state_bit()
611 static void extent_io_tree_panic(struct extent_io_tree *tree, int err) in extent_io_tree_panic()
631 int __clear_extent_bit(struct extent_io_tree *tree, u64 start, u64 end, in __clear_extent_bit()
786 static void wait_on_state(struct extent_io_tree *tree, in wait_on_state()
804 static void wait_extent_bit(struct extent_io_tree *tree, u64 start, u64 end, in wait_extent_bit()
850 static void set_state_bits(struct extent_io_tree *tree, in set_state_bits()
898 __set_extent_bit(struct extent_io_tree *tree, u64 start, u64 end, in __set_extent_bit()
1104 int set_extent_bit(struct extent_io_tree *tree, u64 start, u64 end, in set_extent_bit()
1131 int convert_extent_bit(struct extent_io_tree *tree, u64 start, u64 end, in convert_extent_bit()
1330 int set_record_extent_bits(struct extent_io_tree *tree, u64 start, u64 end, in set_record_extent_bits()
1345 int clear_extent_bit(struct extent_io_tree *tree, u64 start, u64 end, in clear_extent_bit()
1353 int clear_record_extent_bits(struct extent_io_tree *tree, u64 start, u64 end, in clear_record_extent_bits()
1370 int lock_extent_bits(struct extent_io_tree *tree, u64 start, u64 end, in lock_extent_bits()
1390 int try_lock_extent(struct extent_io_tree *tree, u64 start, u64 end) in try_lock_extent()
1442 find_first_extent_bit_state(struct extent_io_tree *tree, in find_first_extent_bit_state()
1476 int find_first_extent_bit(struct extent_io_tree *tree, u64 start, in find_first_extent_bit()
1523 static noinline u64 find_delalloc_range(struct extent_io_tree *tree, in find_delalloc_range()
1626 struct extent_io_tree *tree, in find_lock_delalloc_range()
1801 u64 count_range_bits(struct extent_io_tree *tree, in count_range_bits()
1860 static noinline int set_state_failrec(struct extent_io_tree *tree, u64 start, in set_state_failrec()
1888 static noinline int get_state_failrec(struct extent_io_tree *tree, u64 start, in get_state_failrec()
1922 int test_range_bit(struct extent_io_tree *tree, u64 start, u64 end, in test_range_bit()
1976 static void check_page_uptodate(struct extent_io_tree *tree, struct page *page) in check_page_uptodate()
2223 struct extent_io_tree *tree = &BTRFS_I(inode)->io_tree; in btrfs_get_io_failure_record() local
2414 struct extent_io_tree *tree = &BTRFS_I(inode)->io_tree; in bio_readpage_error() local
2464 struct extent_io_tree *tree; in end_extent_writepage() local
2531 endio_readpage_release_extent(struct extent_io_tree *tree, u64 start, u64 len, in endio_readpage_release_extent()
2558 struct extent_io_tree *tree, *failure_tree; in end_bio_extent_readpage() local
2783 static int submit_extent_page(unsigned int opf, struct extent_io_tree *tree, in submit_extent_page()
2903 static int __do_readpage(struct extent_io_tree *tree, in __do_readpage()
3112 static inline void __do_contiguous_readpages(struct extent_io_tree *tree, in __do_contiguous_readpages()
3143 static void __extent_readpages(struct extent_io_tree *tree, in __extent_readpages()
3183 static int __extent_read_full_page(struct extent_io_tree *tree, in __extent_read_full_page()
3212 int extent_read_full_page(struct extent_io_tree *tree, struct page *page, in extent_read_full_page()
3248 struct extent_io_tree *tree = epd->tree; in writepage_delalloc() local
3335 struct extent_io_tree *tree = epd->tree; in __extent_writepage_io() local
3770 struct extent_io_tree *tree = &BTRFS_I(fs_info->btree_inode)->io_tree; in write_one_eb() local
3836 struct extent_io_tree *tree = &BTRFS_I(mapping->host)->io_tree; in btree_write_cache_pages() local
4183 struct extent_io_tree *tree = &BTRFS_I(inode)->io_tree; in extent_write_locked_range() local
4248 struct extent_io_tree *tree = &BTRFS_I(mapping->host)->io_tree; in extent_readpages() local
4289 int extent_invalidatepage(struct extent_io_tree *tree, in extent_invalidatepage()
4315 static int try_release_extent_state(struct extent_io_tree *tree, in try_release_extent_state()
4356 struct extent_io_tree *tree = &btrfs_inode->io_tree; in try_release_extent_mapping() local
5351 int read_extent_buffer_pages(struct extent_io_tree *tree, in read_extent_buffer_pages()