Lines Matching refs:lockstart
7161 static int lock_extent_direct(struct inode *inode, u64 lockstart, u64 lockend,
7168 lock_extent_bits(&BTRFS_I(inode)->io_tree, lockstart, lockend,
7175 ordered = btrfs_lookup_ordered_range(BTRFS_I(inode), lockstart,
7176 lockend - lockstart + 1);
7187 lockstart, lockend)))
7190 unlock_extent_cached(&BTRFS_I(inode)->io_tree, lockstart, lockend,
7391 u64 lockstart, lockend;
7411 lockstart = start;
7452 if (lock_extent_direct(inode, lockstart, lockend, &cached_state, write)) {
7510 lockstart = start + len;
7511 if (lockstart < lockend)
7517 lockstart, lockend, &cached_state);
7543 unlock_extent_cached(&BTRFS_I(inode)->io_tree, lockstart, lockend,