Lines Matching refs:io_tree
494 clear_extent_bit(&inode->io_tree, start_pos, end_of_last_block, in btrfs_dirty_pages()
1449 lock_extent_bits(&inode->io_tree, start_pos, last_pos, in lock_and_cleanup_extent_if_need()
1456 unlock_extent_cached(&inode->io_tree, start_pos, in lock_and_cleanup_extent_if_need()
1507 if (!try_lock_extent(&inode->io_tree, lockstart, lockend)) in check_can_nocow()
1533 unlock_extent(&inode->io_tree, lockstart, lockend); in check_can_nocow()
1840 unlock_extent_cached(&BTRFS_I(inode)->io_tree, in btrfs_buffered_write()
2516 lock_extent_bits(&BTRFS_I(inode)->io_tree, lockstart, lockend, in btrfs_punch_hole_lock_range()
2537 unlock_extent_cached(&BTRFS_I(inode)->io_tree, lockstart, in btrfs_punch_hole_lock_range()
3016 unlock_extent_cached(&BTRFS_I(inode)->io_tree, lockstart, lockend, in btrfs_punch_hole()
3294 unlock_extent_cached(&BTRFS_I(inode)->io_tree, lockstart, in btrfs_zero_range()
3302 unlock_extent_cached(&BTRFS_I(inode)->io_tree, lockstart, in btrfs_zero_range()
3421 lock_extent_bits(&BTRFS_I(inode)->io_tree, alloc_start, in btrfs_fallocate()
3430 unlock_extent_cached(&BTRFS_I(inode)->io_tree, in btrfs_fallocate()
3517 unlock_extent_cached(&BTRFS_I(inode)->io_tree, alloc_start, locked_end, in btrfs_fallocate()
3558 lock_extent_bits(&inode->io_tree, lockstart, lockend, &cached_state); in find_desired_extent()
3583 unlock_extent_cached(&inode->io_tree, lockstart, lockend, in find_desired_extent()