Lines Matching refs:io_tree
474 clear_extent_bit(&inode->io_tree, start_pos, end_of_last_block, in btrfs_dirty_pages()
1305 if (!try_lock_extent(&inode->io_tree, start_pos, last_pos)) { in lock_and_cleanup_extent_if_need()
1315 lock_extent(&inode->io_tree, start_pos, last_pos, cached_state); in lock_and_cleanup_extent_if_need()
1323 unlock_extent(&inode->io_tree, start_pos, last_pos, in lock_and_cleanup_extent_if_need()
1405 unlock_extent(&inode->io_tree, lockstart, lockend, NULL); in btrfs_check_nocow_lock()
1699 unlock_extent(&BTRFS_I(inode)->io_tree, lockstart, in btrfs_buffered_write()
2514 lock_extent(&BTRFS_I(inode)->io_tree, lockstart, lockend, in btrfs_punch_hole_lock_range()
2530 unlock_extent(&BTRFS_I(inode)->io_tree, lockstart, lockend, in btrfs_punch_hole_lock_range()
3030 unlock_extent(&BTRFS_I(inode)->io_tree, lockstart, lockend, in btrfs_punch_hole()
3304 unlock_extent(&BTRFS_I(inode)->io_tree, lockstart, in btrfs_zero_range()
3312 unlock_extent(&BTRFS_I(inode)->io_tree, lockstart, lockend, in btrfs_zero_range()
3424 lock_extent(&BTRFS_I(inode)->io_tree, alloc_start, locked_end, in btrfs_fallocate()
3514 unlock_extent(&BTRFS_I(inode)->io_tree, alloc_start, locked_end, in btrfs_fallocate()
3543 delalloc_len = count_range_bits(&inode->io_tree, delalloc_start_ret, end, in find_delalloc_subrange()
3820 lock_extent(&inode->io_tree, lockstart, lockend, &cached_state); in find_desired_extent()
3956 unlock_extent(&inode->io_tree, lockstart, lockend, &cached_state); in find_desired_extent()