Lines Matching refs:io_tree
474 clear_extent_bit(&inode->io_tree, start_pos, end_of_last_block, in btrfs_dirty_pages()
1311 if (!try_lock_extent(&inode->io_tree, start_pos, last_pos)) { in lock_and_cleanup_extent_if_need()
1321 lock_extent(&inode->io_tree, start_pos, last_pos, cached_state); in lock_and_cleanup_extent_if_need()
1329 unlock_extent(&inode->io_tree, start_pos, last_pos, in lock_and_cleanup_extent_if_need()
1411 unlock_extent(&inode->io_tree, lockstart, lockend, NULL); in btrfs_check_nocow_lock()
1705 unlock_extent(&BTRFS_I(inode)->io_tree, lockstart, in btrfs_buffered_write()
2520 lock_extent(&BTRFS_I(inode)->io_tree, lockstart, lockend, in btrfs_punch_hole_lock_range()
2536 unlock_extent(&BTRFS_I(inode)->io_tree, lockstart, lockend, in btrfs_punch_hole_lock_range()
3036 unlock_extent(&BTRFS_I(inode)->io_tree, lockstart, lockend, in btrfs_punch_hole()
3310 unlock_extent(&BTRFS_I(inode)->io_tree, lockstart, in btrfs_zero_range()
3318 unlock_extent(&BTRFS_I(inode)->io_tree, lockstart, lockend, in btrfs_zero_range()
3430 lock_extent(&BTRFS_I(inode)->io_tree, alloc_start, locked_end, in btrfs_fallocate()
3520 unlock_extent(&BTRFS_I(inode)->io_tree, alloc_start, locked_end, in btrfs_fallocate()
3549 delalloc_len = count_range_bits(&inode->io_tree, delalloc_start_ret, end, in find_delalloc_subrange()
3826 lock_extent(&inode->io_tree, lockstart, lockend, &cached_state); in find_desired_extent()
3969 unlock_extent(&inode->io_tree, lockstart, lockend, &cached_state); in find_desired_extent()