Lines Matching refs:io_tree
158 clear_extent_bit(&inode->io_tree, start_pos, end_of_last_block, in btrfs_dirty_pages()
995 if (!try_lock_extent(&inode->io_tree, start_pos, last_pos, in lock_and_cleanup_extent_if_need()
1006 lock_extent(&inode->io_tree, start_pos, last_pos, cached_state); in lock_and_cleanup_extent_if_need()
1014 unlock_extent(&inode->io_tree, start_pos, last_pos, in lock_and_cleanup_extent_if_need()
1099 unlock_extent(&inode->io_tree, lockstart, lockend, &cached_state); in btrfs_check_nocow_lock()
1391 unlock_extent(&BTRFS_I(inode)->io_tree, lockstart, in btrfs_buffered_write()
2210 lock_extent(&BTRFS_I(inode)->io_tree, lockstart, lockend, in btrfs_punch_hole_lock_range()
2226 unlock_extent(&BTRFS_I(inode)->io_tree, lockstart, lockend, in btrfs_punch_hole_lock_range()
2723 unlock_extent(&BTRFS_I(inode)->io_tree, lockstart, lockend, in btrfs_punch_hole()
2996 unlock_extent(&BTRFS_I(inode)->io_tree, lockstart, in btrfs_zero_range()
3004 unlock_extent(&BTRFS_I(inode)->io_tree, lockstart, lockend, in btrfs_zero_range()
3116 lock_extent(&BTRFS_I(inode)->io_tree, alloc_start, locked_end, in btrfs_fallocate()
3205 unlock_extent(&BTRFS_I(inode)->io_tree, alloc_start, locked_end, in btrfs_fallocate()
3240 delalloc_len = count_range_bits(&inode->io_tree, in find_delalloc_subrange()
3524 lock_extent(&inode->io_tree, lockstart, lockend, &cached_state); in find_desired_extent()
3670 unlock_extent(&inode->io_tree, lockstart, lockend, &cached_state); in find_desired_extent()