Home
last modified time | relevance | path

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

/linux-6.6.21/fs/btrfs/
Dfile.c979 u64 *lockstart, u64 *lockend, bool nowait, in lock_and_cleanup_extent_if_need() argument
1027 *lockstart = start_pos; in lock_and_cleanup_extent_if_need()
1067 u64 lockstart, lockend; in btrfs_check_nocow_lock() local
1077 lockstart = round_down(pos, fs_info->sectorsize); in btrfs_check_nocow_lock()
1080 num_bytes = lockend - lockstart + 1; in btrfs_check_nocow_lock()
1083 if (!btrfs_try_lock_ordered_range(inode, lockstart, lockend, in btrfs_check_nocow_lock()
1089 btrfs_lock_and_flush_ordered_range(inode, lockstart, lockend, in btrfs_check_nocow_lock()
1092 ret = can_nocow_extent(&inode->vfs_inode, lockstart, &num_bytes, in btrfs_check_nocow_lock()
1098 num_bytes - pos + lockstart); in btrfs_check_nocow_lock()
1099 unlock_extent(&inode->io_tree, lockstart, lockend, &cached_state); in btrfs_check_nocow_lock()
[all …]
Dextent_io.c2922 u64 lockstart; in extent_fiemap() local
2934 lockstart = round_down(start, inode->root->fs_info->sectorsize); in extent_fiemap()
2936 prev_extent_end = lockstart; in extent_fiemap()
2939 lock_extent(&inode->io_tree, lockstart, lockend, &cached_state); in extent_fiemap()
2947 ret = fiemap_search_slot(inode, path, lockstart); in extent_fiemap()
2982 if (extent_end <= lockstart) in extent_fiemap()
3131 unlock_extent(&inode->io_tree, lockstart, lockend, &cached_state); in extent_fiemap()
Dinode.c7152 static int lock_extent_direct(struct inode *inode, u64 lockstart, u64 lockend, in lock_extent_direct() argument
7164 if (!try_lock_extent(io_tree, lockstart, lockend, in lock_extent_direct()
7168 lock_extent(io_tree, lockstart, lockend, cached_state); in lock_extent_direct()
7175 ordered = btrfs_lookup_ordered_range(BTRFS_I(inode), lockstart, in lock_extent_direct()
7176 lockend - lockstart + 1); in lock_extent_direct()
7187 lockstart, lockend))) in lock_extent_direct()
7190 unlock_extent(io_tree, lockstart, lockend, cached_state); in lock_extent_direct()
7442 u64 lockstart, lockend; in btrfs_dio_iomap_begin() local
7470 lockstart = start; in btrfs_dio_iomap_begin()
7495 lockstart, lockend)) in btrfs_dio_iomap_begin()
[all …]