Searched refs:lockstart (Results 1 – 2 of 2) sorted by relevance
| /kernel/linux/linux-5.10/fs/btrfs/ |
| D | file.c | 1408 u64 *lockstart, u64 *lockend, in lock_and_cleanup_extent_if_need() argument 1443 *lockstart = start_pos; in lock_and_cleanup_extent_if_need() 1475 u64 lockstart, lockend; in check_can_nocow() local 1485 lockstart = round_down(pos, fs_info->sectorsize); in check_can_nocow() 1488 num_bytes = lockend - lockstart + 1; in check_can_nocow() 1493 if (!try_lock_extent(&inode->io_tree, lockstart, lockend)) in check_can_nocow() 1496 ordered = btrfs_lookup_ordered_range(inode, lockstart, in check_can_nocow() 1504 btrfs_lock_and_flush_ordered_range(inode, lockstart, in check_can_nocow() 1508 ret = can_nocow_extent(&inode->vfs_inode, lockstart, &num_bytes, in check_can_nocow() 1516 num_bytes - pos + lockstart); in check_can_nocow() [all …]
|
| D | inode.c | 7164 static int lock_extent_direct(struct inode *inode, u64 lockstart, u64 lockend, in lock_extent_direct() argument 7171 lock_extent_bits(&BTRFS_I(inode)->io_tree, lockstart, lockend, in lock_extent_direct() 7178 ordered = btrfs_lookup_ordered_range(BTRFS_I(inode), lockstart, in lock_extent_direct() 7179 lockend - lockstart + 1); in lock_extent_direct() 7190 lockstart, lockend))) in lock_extent_direct() 7193 unlock_extent_cached(&BTRFS_I(inode)->io_tree, lockstart, lockend, in lock_extent_direct() 7394 u64 lockstart, lockend; in btrfs_dio_iomap_begin() local 7414 lockstart = start; in btrfs_dio_iomap_begin() 7455 if (lock_extent_direct(inode, lockstart, lockend, &cached_state, write)) { in btrfs_dio_iomap_begin() 7513 lockstart = start + len; in btrfs_dio_iomap_begin() [all …]
|