Home
last modified time | relevance | path

Searched refs:lockstart (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
1444 *lockstart = start_pos; in lock_and_cleanup_extent_if_need()
1476 u64 lockstart, lockend; in check_can_nocow() local
1486 lockstart = round_down(pos, fs_info->sectorsize); 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()
1497 ordered = btrfs_lookup_ordered_range(inode, lockstart, in check_can_nocow()
1505 btrfs_lock_and_flush_ordered_range(inode, lockstart, in check_can_nocow()
1509 ret = can_nocow_extent(&inode->vfs_inode, lockstart, &num_bytes, in check_can_nocow()
1517 num_bytes - pos + lockstart); in check_can_nocow()
[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()
7159 ordered = btrfs_lookup_ordered_range(BTRFS_I(inode), lockstart, 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
7395 lockstart = start; in btrfs_dio_iomap_begin()
7436 if (lock_extent_direct(inode, lockstart, lockend, &cached_state, write)) { in btrfs_dio_iomap_begin()
7482 lockstart = start + len; in btrfs_dio_iomap_begin()
[all …]