Lines Matching refs:lockstart
7246 static int lock_extent_direct(struct inode *inode, u64 lockstart, u64 lockend, in lock_extent_direct() argument
7258 if (!try_lock_extent(io_tree, lockstart, lockend)) in lock_extent_direct()
7261 lock_extent(io_tree, lockstart, lockend, cached_state); in lock_extent_direct()
7268 ordered = btrfs_lookup_ordered_range(BTRFS_I(inode), lockstart, in lock_extent_direct()
7269 lockend - lockstart + 1); in lock_extent_direct()
7280 lockstart, lockend))) in lock_extent_direct()
7283 unlock_extent(io_tree, lockstart, lockend, cached_state); in lock_extent_direct()
7529 u64 lockstart, lockend; in btrfs_dio_iomap_begin() local
7557 lockstart = start; in btrfs_dio_iomap_begin()
7582 lockstart, lockend)) in btrfs_dio_iomap_begin()
7619 ret = lock_extent_direct(inode, lockstart, lockend, &cached_state, flags); in btrfs_dio_iomap_begin()
7722 lockstart = start + len; in btrfs_dio_iomap_begin()
7723 if (lockstart < lockend) in btrfs_dio_iomap_begin()
7728 unlock_extent(&BTRFS_I(inode)->io_tree, lockstart, lockend, in btrfs_dio_iomap_begin()
7758 unlock_extent(&BTRFS_I(inode)->io_tree, lockstart, lockend, in btrfs_dio_iomap_begin()