Home
last modified time | relevance | path

Searched refs:loff1 (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/fs/btrfs/
Dreflink.c620 static void btrfs_double_extent_unlock(struct inode *inode1, u64 loff1, in btrfs_double_extent_unlock() argument
623 unlock_extent(&BTRFS_I(inode1)->io_tree, loff1, loff1 + len - 1, NULL); in btrfs_double_extent_unlock()
627 static void btrfs_double_extent_lock(struct inode *inode1, u64 loff1, in btrfs_double_extent_lock() argument
630 u64 range1_end = loff1 + len - 1; in btrfs_double_extent_lock()
635 swap(loff1, loff2); in btrfs_double_extent_lock()
637 } else if (inode1 == inode2 && loff2 < loff1) { in btrfs_double_extent_lock()
638 swap(loff1, loff2); in btrfs_double_extent_lock()
642 lock_extent(&BTRFS_I(inode1)->io_tree, loff1, range1_end, NULL); in btrfs_double_extent_lock()
645 btrfs_assert_inode_range_clean(BTRFS_I(inode1), loff1, range1_end); in btrfs_double_extent_lock()