Lines Matching refs:io_tree
501 clear_extent_bit(&inode->io_tree, start_pos, end_of_last_block, in btrfs_dirty_pages()
1458 lock_extent_bits(&inode->io_tree, start_pos, last_pos, in lock_and_cleanup_extent_if_need()
1465 unlock_extent_cached(&inode->io_tree, start_pos, in lock_and_cleanup_extent_if_need()
1516 if (!try_lock_extent(&inode->io_tree, lockstart, lockend)) in check_can_nocow()
1542 unlock_extent(&inode->io_tree, lockstart, lockend); in check_can_nocow()
1849 unlock_extent_cached(&BTRFS_I(inode)->io_tree, in btrfs_buffered_write()
2583 lock_extent_bits(&BTRFS_I(inode)->io_tree, lockstart, lockend, in btrfs_punch_hole_lock_range()
2604 unlock_extent_cached(&BTRFS_I(inode)->io_tree, lockstart, in btrfs_punch_hole_lock_range()
3083 unlock_extent_cached(&BTRFS_I(inode)->io_tree, lockstart, lockend, in btrfs_punch_hole()
3361 unlock_extent_cached(&BTRFS_I(inode)->io_tree, lockstart, in btrfs_zero_range()
3369 unlock_extent_cached(&BTRFS_I(inode)->io_tree, lockstart, in btrfs_zero_range()
3488 lock_extent_bits(&BTRFS_I(inode)->io_tree, alloc_start, in btrfs_fallocate()
3497 unlock_extent_cached(&BTRFS_I(inode)->io_tree, in btrfs_fallocate()
3584 unlock_extent_cached(&BTRFS_I(inode)->io_tree, alloc_start, locked_end, in btrfs_fallocate()
3625 lock_extent_bits(&inode->io_tree, lockstart, lockend, &cached_state); in find_desired_extent()
3650 unlock_extent_cached(&inode->io_tree, lockstart, lockend, in find_desired_extent()