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()
675 struct extent_io_tree *io_tree = &inode->io_tree; in btrfs_clean_io_failure() local
691 ret = find_first_extent_bit(io_tree, failrec->bytenr, &locked_start, in btrfs_clean_io_failure()
908 set_extent_uptodate(&inode->io_tree, offset, in end_sector_io()
910 unlock_extent_atomic(&inode->io_tree, offset, offset + sectorsize - 1, in end_sector_io()
1110 tree = &processed->inode->io_tree; in endio_readpage_release_extent()
1757 struct extent_io_tree *tree = &BTRFS_I(inode)->io_tree; in btrfs_do_readpage()
3425 struct extent_io_tree *tree = &btrfs_inode->io_tree; in try_release_extent_mapping()
3941 lock_extent(&inode->io_tree, lockstart, lockend, &cached_state); in extent_fiemap()
4131 unlock_extent(&inode->io_tree, lockstart, lockend, &cached_state); in extent_fiemap()
4959 struct extent_io_tree *io_tree; in read_extent_buffer_subpage() local
4968 io_tree = &BTRFS_I(fs_info->btree_inode)->io_tree; in read_extent_buffer_subpage()
4971 if (!try_lock_extent(io_tree, eb->start, eb->start + eb->len - 1)) in read_extent_buffer_subpage()
4974 ret = lock_extent(io_tree, eb->start, eb->start + eb->len - 1, NULL); in read_extent_buffer_subpage()
4984 unlock_extent(io_tree, eb->start, eb->start + eb->len - 1, NULL); in read_extent_buffer_subpage()
5012 wait_extent_bit(io_tree, eb->start, eb->start + eb->len - 1, EXTENT_LOCKED); in read_extent_buffer_subpage()