Lines Matching refs:io_tree
323 static int verify_parent_transid(struct extent_io_tree *io_tree, in verify_parent_transid() argument
342 lock_extent_bits(io_tree, eb->start, eb->start + eb->len - 1, in verify_parent_transid()
366 unlock_extent_cached(io_tree, eb->start, eb->start + eb->len - 1, in verify_parent_transid()
484 struct extent_io_tree *io_tree; in btree_read_extent_buffer_pages() local
491 io_tree = &BTRFS_I(fs_info->btree_inode)->io_tree; in btree_read_extent_buffer_pages()
494 ret = read_extent_buffer_pages(io_tree, eb, WAIT_COMPLETE, in btree_read_extent_buffer_pages()
497 if (verify_parent_transid(io_tree, eb, in btree_read_extent_buffer_pages()
949 tree = &BTRFS_I(page->mapping->host)->io_tree; in btree_readpage()
965 tree = &BTRFS_I(page->mapping->host)->io_tree; in btree_invalidatepage()
1014 ret = read_extent_buffer_pages(&BTRFS_I(btree_inode)->io_tree, buf, in readahead_tree_block()
1027 struct extent_io_tree *io_tree = &BTRFS_I(btree_inode)->io_tree; in reada_tree_block_flagged() local
1036 ret = read_extent_buffer_pages(io_tree, buf, WAIT_PAGE_LOCK, in reada_tree_block_flagged()
2137 extent_io_tree_init(&BTRFS_I(inode)->io_tree, inode); in btrfs_init_btree_inode()
2138 BTRFS_I(inode)->io_tree.track_uptodate = 0; in btrfs_init_btree_inode()
2141 BTRFS_I(inode)->io_tree.ops = &btree_extent_io_ops; in btrfs_init_btree_inode()
4105 ret = verify_parent_transid(&BTRFS_I(btree_inode)->io_tree, buf, in btrfs_buffer_uptodate()