Lines Matching refs:lockstart
7507 static int lock_extent_direct(struct inode *inode, u64 lockstart, u64 lockend, in lock_extent_direct() argument
7514 lock_extent_bits(&BTRFS_I(inode)->io_tree, lockstart, lockend, in lock_extent_direct()
7521 ordered = btrfs_lookup_ordered_range(BTRFS_I(inode), lockstart, in lock_extent_direct()
7522 lockend - lockstart + 1); in lock_extent_direct()
7533 lockstart, lockend))) in lock_extent_direct()
7536 unlock_extent_cached(&BTRFS_I(inode)->io_tree, lockstart, lockend, in lock_extent_direct()
7774 u64 lockstart, lockend; in btrfs_get_blocks_direct() local
7784 lockstart = start; in btrfs_get_blocks_direct()
7801 if (lock_extent_direct(inode, lockstart, lockend, &cached_state, in btrfs_get_blocks_direct()
7841 clear_extent_bit(&BTRFS_I(inode)->io_tree, lockstart, lockend, in btrfs_get_blocks_direct()
7856 lockstart = start + bh_result->b_size; in btrfs_get_blocks_direct()
7857 if (lockstart < lockend) { in btrfs_get_blocks_direct()
7858 clear_extent_bit(&BTRFS_I(inode)->io_tree, lockstart, in btrfs_get_blocks_direct()
7871 clear_extent_bit(&BTRFS_I(inode)->io_tree, lockstart, lockend, in btrfs_get_blocks_direct()