Home
last modified time | relevance | path

Searched refs:lockstart (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/fs/btrfs/
Dfile.c1295 u64 *lockstart, u64 *lockend, bool nowait, in lock_and_cleanup_extent_if_need() argument
1342 *lockstart = start_pos; in lock_and_cleanup_extent_if_need()
1381 u64 lockstart, lockend; in btrfs_check_nocow_lock() local
1391 lockstart = round_down(pos, fs_info->sectorsize); in btrfs_check_nocow_lock()
1394 num_bytes = lockend - lockstart + 1; in btrfs_check_nocow_lock()
1397 if (!btrfs_try_lock_ordered_range(inode, lockstart, lockend)) { in btrfs_check_nocow_lock()
1402 btrfs_lock_and_flush_ordered_range(inode, lockstart, lockend, NULL); in btrfs_check_nocow_lock()
1404 ret = can_nocow_extent(&inode->vfs_inode, lockstart, &num_bytes, in btrfs_check_nocow_lock()
1410 num_bytes - pos + lockstart); in btrfs_check_nocow_lock()
1411 unlock_extent(&inode->io_tree, lockstart, lockend, NULL); in btrfs_check_nocow_lock()
[all …]
Dinode.c7246 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()
7268 ordered = btrfs_lookup_ordered_range(BTRFS_I(inode), lockstart, 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
7557 lockstart = start; in btrfs_dio_iomap_begin()
7582 lockstart, lockend)) in btrfs_dio_iomap_begin()
[all …]
Dextent_io.c3923 u64 lockstart; in extent_fiemap() local
3937 lockstart = round_down(start, root->fs_info->sectorsize); in extent_fiemap()
3939 prev_extent_end = lockstart; in extent_fiemap()
3941 lock_extent(&inode->io_tree, lockstart, lockend, &cached_state); in extent_fiemap()
3949 ret = fiemap_search_slot(inode, path, lockstart); in extent_fiemap()
3984 if (extent_end <= lockstart) in extent_fiemap()
4131 unlock_extent(&inode->io_tree, lockstart, lockend, &cached_state); in extent_fiemap()