Searched refs:lockstart (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.15/fs/btrfs/ |
D | file.c | 1434 u64 *lockstart, u64 *lockend, in lock_and_cleanup_extent_if_need() argument 1469 *lockstart = start_pos; in lock_and_cleanup_extent_if_need() 1489 u64 lockstart, lockend; in check_can_nocow() local 1499 lockstart = round_down(pos, fs_info->sectorsize); in check_can_nocow() 1502 num_bytes = lockend - lockstart + 1; in check_can_nocow() 1507 if (!try_lock_extent(&inode->io_tree, lockstart, lockend)) in check_can_nocow() 1510 ordered = btrfs_lookup_ordered_range(inode, lockstart, in check_can_nocow() 1518 btrfs_lock_and_flush_ordered_range(inode, lockstart, in check_can_nocow() 1522 ret = can_nocow_extent(&inode->vfs_inode, lockstart, &num_bytes, in check_can_nocow() 1530 num_bytes - pos + lockstart); in check_can_nocow() [all …]
|
D | inode.c | 7615 static int lock_extent_direct(struct inode *inode, u64 lockstart, u64 lockend, in lock_extent_direct() argument 7622 lock_extent_bits(&BTRFS_I(inode)->io_tree, lockstart, lockend, in lock_extent_direct() 7629 ordered = btrfs_lookup_ordered_range(BTRFS_I(inode), lockstart, in lock_extent_direct() 7630 lockend - lockstart + 1); in lock_extent_direct() 7641 lockstart, lockend))) in lock_extent_direct() 7644 unlock_extent_cached(&BTRFS_I(inode)->io_tree, lockstart, lockend, in lock_extent_direct() 7845 u64 lockstart, lockend; in btrfs_dio_iomap_begin() local 7854 lockstart = start; in btrfs_dio_iomap_begin() 7894 if (lock_extent_direct(inode, lockstart, lockend, &cached_state, write)) { in btrfs_dio_iomap_begin() 7940 lockstart = start + len; in btrfs_dio_iomap_begin() [all …]
|