Lines Matching refs:io_tree

396 	struct extent_io_tree *tree = &BTRFS_I(inode)->io_tree;  in find_lock_delalloc_range()
488 clear_extent_bit(&inode->io_tree, start, end, clear_bits, NULL); in extent_clear_unlock_delalloc()
666 struct extent_io_tree *io_tree = &inode->io_tree; in btrfs_clean_io_failure() local
682 ret = find_first_extent_bit(io_tree, failrec->bytenr, &locked_start, in btrfs_clean_io_failure()
899 set_extent_uptodate(&inode->io_tree, offset, in end_sector_io()
901 unlock_extent_atomic(&inode->io_tree, offset, offset + sectorsize - 1, in end_sector_io()
1101 tree = &processed->inode->io_tree; in endio_readpage_release_extent()
1748 struct extent_io_tree *tree = &BTRFS_I(inode)->io_tree; in btrfs_do_readpage()
3416 struct extent_io_tree *tree = &btrfs_inode->io_tree; in try_release_extent_mapping()
3932 lock_extent(&inode->io_tree, lockstart, lockend, &cached_state); in extent_fiemap()
4122 unlock_extent(&inode->io_tree, lockstart, lockend, &cached_state); in extent_fiemap()
4950 struct extent_io_tree *io_tree; in read_extent_buffer_subpage() local
4959 io_tree = &BTRFS_I(fs_info->btree_inode)->io_tree; in read_extent_buffer_subpage()
4962 if (!try_lock_extent(io_tree, eb->start, eb->start + eb->len - 1)) in read_extent_buffer_subpage()
4965 ret = lock_extent(io_tree, eb->start, eb->start + eb->len - 1, NULL); in read_extent_buffer_subpage()
4975 unlock_extent(io_tree, eb->start, eb->start + eb->len - 1, NULL); in read_extent_buffer_subpage()
5003 wait_extent_bit(io_tree, eb->start, eb->start + eb->len - 1, EXTENT_LOCKED); in read_extent_buffer_subpage()