Lines Matching refs:lockstart
7172 static int lock_extent_direct(struct inode *inode, u64 lockstart, u64 lockend, in lock_extent_direct() argument
7184 if (!try_lock_extent(io_tree, lockstart, lockend, in lock_extent_direct()
7188 lock_extent(io_tree, lockstart, lockend, cached_state); in lock_extent_direct()
7195 ordered = btrfs_lookup_ordered_range(BTRFS_I(inode), lockstart, in lock_extent_direct()
7196 lockend - lockstart + 1); in lock_extent_direct()
7207 lockstart, lockend))) in lock_extent_direct()
7210 unlock_extent(io_tree, lockstart, lockend, cached_state); in lock_extent_direct()
7462 u64 lockstart, lockend; in btrfs_dio_iomap_begin() local
7490 lockstart = start; in btrfs_dio_iomap_begin()
7515 lockstart, lockend)) in btrfs_dio_iomap_begin()
7552 ret = lock_extent_direct(inode, lockstart, lockend, &cached_state, flags); in btrfs_dio_iomap_begin()
7655 lockstart = start + len; in btrfs_dio_iomap_begin()
7656 if (lockstart < lockend) in btrfs_dio_iomap_begin()
7661 unlock_extent(&BTRFS_I(inode)->io_tree, lockstart, lockend, in btrfs_dio_iomap_begin()
7687 unlock_extent(&BTRFS_I(inode)->io_tree, lockstart, lockend, in btrfs_dio_iomap_begin()