Lines Matching refs:io_tree
39 struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; in lock_extent_direct() local
45 if (!btrfs_try_lock_dio_extent(io_tree, lockstart, lockend, cached_state)) in lock_extent_direct()
48 btrfs_lock_dio_extent(io_tree, lockstart, lockend, cached_state); in lock_extent_direct()
53 if (!btrfs_try_lock_extent(io_tree, lockstart, lockend, in lock_extent_direct()
59 btrfs_lock_extent(io_tree, lockstart, lockend, cached_state); in lock_extent_direct()
81 btrfs_unlock_extent(io_tree, lockstart, lockend, cached_state); in lock_extent_direct()
134 btrfs_unlock_dio_extent(io_tree, lockstart, lockend, cached_state); in lock_extent_direct()
577 btrfs_clear_extent_bit(&BTRFS_I(inode)->io_tree, lockstart, lockend, in btrfs_dio_iomap_begin()
582 btrfs_unlock_dio_extent(&BTRFS_I(inode)->io_tree, start + len, in btrfs_dio_iomap_begin()
593 btrfs_clear_extent_bit(&BTRFS_I(inode)->io_tree, lockstart, lockend, in btrfs_dio_iomap_begin()
617 btrfs_unlock_dio_extent(&BTRFS_I(inode)->io_tree, pos, in btrfs_dio_iomap_end()
629 btrfs_unlock_dio_extent(&BTRFS_I(inode)->io_tree, pos, in btrfs_dio_iomap_end()
662 btrfs_unlock_dio_extent(&inode->io_tree, dip->file_offset, in btrfs_dio_end_io()