Home
last modified time | relevance | path

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

/Linux-v5.10/fs/btrfs/
Dfile.c1409 u64 *lockstart, u64 *lockend, in lock_and_cleanup_extent_if_need() argument
1445 *lockend = last_pos; in lock_and_cleanup_extent_if_need()
1476 u64 lockstart, lockend; in check_can_nocow() local
1487 lockend = round_up(pos + *write_bytes, in check_can_nocow()
1489 num_bytes = lockend - lockstart + 1; in check_can_nocow()
1494 if (!try_lock_extent(&inode->io_tree, lockstart, lockend)) in check_can_nocow()
1506 lockend, NULL); in check_can_nocow()
1520 unlock_extent(&inode->io_tree, lockstart, lockend); in check_can_nocow()
1572 u64 lockend; in btrfs_buffered_write() local
1677 &lockend, &cached_state); in btrfs_buffered_write()
[all …]
Dinode.c7145 static int lock_extent_direct(struct inode *inode, u64 lockstart, u64 lockend, in lock_extent_direct() argument
7152 lock_extent_bits(&BTRFS_I(inode)->io_tree, lockstart, lockend, in lock_extent_direct()
7160 lockend - lockstart + 1); in lock_extent_direct()
7171 lockstart, lockend))) in lock_extent_direct()
7174 unlock_extent_cached(&BTRFS_I(inode)->io_tree, lockstart, lockend, in lock_extent_direct()
7375 u64 lockstart, lockend; in btrfs_dio_iomap_begin() local
7396 lockend = start + len - 1; in btrfs_dio_iomap_begin()
7436 if (lock_extent_direct(inode, lockstart, lockend, &cached_state, write)) { in btrfs_dio_iomap_begin()
7483 if (lockstart < lockend) in btrfs_dio_iomap_begin()
7489 lockstart, lockend, &cached_state); in btrfs_dio_iomap_begin()
[all …]