Searched refs:lockend (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.1/fs/btrfs/ |
D | file.c | 1289 u64 *lockstart, u64 *lockend, bool nowait, in lock_and_cleanup_extent_if_need() argument 1337 *lockend = last_pos; in lock_and_cleanup_extent_if_need() 1375 u64 lockstart, lockend; in btrfs_check_nocow_lock() local 1386 lockend = round_up(pos + *write_bytes, in btrfs_check_nocow_lock() 1388 num_bytes = lockend - lockstart + 1; in btrfs_check_nocow_lock() 1391 if (!btrfs_try_lock_ordered_range(inode, lockstart, lockend)) { in btrfs_check_nocow_lock() 1396 btrfs_lock_and_flush_ordered_range(inode, lockstart, lockend, NULL); in btrfs_check_nocow_lock() 1405 unlock_extent(&inode->io_tree, lockstart, lockend, NULL); in btrfs_check_nocow_lock() 1494 u64 lockend; in btrfs_buffered_write() local 1631 &lockend, nowait, &cached_state); in btrfs_buffered_write() [all …]
|
D | inode.c | 7246 static int lock_extent_direct(struct inode *inode, u64 lockstart, u64 lockend, in lock_extent_direct() argument 7258 if (!try_lock_extent(io_tree, lockstart, lockend)) in lock_extent_direct() 7261 lock_extent(io_tree, lockstart, lockend, cached_state); in lock_extent_direct() 7269 lockend - lockstart + 1); in lock_extent_direct() 7280 lockstart, lockend))) in lock_extent_direct() 7283 unlock_extent(io_tree, lockstart, lockend, cached_state); in lock_extent_direct() 7529 u64 lockstart, lockend; in btrfs_dio_iomap_begin() local 7558 lockend = start + len - 1; in btrfs_dio_iomap_begin() 7582 lockstart, lockend)) in btrfs_dio_iomap_begin() 7619 ret = lock_extent_direct(inode, lockstart, lockend, &cached_state, flags); in btrfs_dio_iomap_begin() [all …]
|
D | extent_io.c | 3915 u64 lockend; in extent_fiemap() local 3929 lockend = round_up(start + len, root->fs_info->sectorsize); in extent_fiemap() 3932 lock_extent(&inode->io_tree, lockstart, lockend, &cached_state); in extent_fiemap() 3952 while (prev_extent_end < lockend) { in extent_fiemap() 3980 const u64 range_end = min(key.offset, lockend) - 1; in extent_fiemap() 3995 if (key.offset >= lockend) { in extent_fiemap() 4090 if (!stopped && prev_extent_end < lockend) { in extent_fiemap() 4093 prev_extent_end, lockend - 1); in extent_fiemap() 4096 prev_extent_end = lockend; in extent_fiemap() 4122 unlock_extent(&inode->io_tree, lockstart, lockend, &cached_state); in extent_fiemap()
|