Home
last modified time | relevance | path

Searched refs:lockend (Results 1 – 2 of 2) sorted by relevance

/linux/fs/btrfs/
H A Ddirect-io.c33 static int lock_extent_direct(struct inode *inode, u64 lockstart, u64 lockend, in lock_extent_direct() argument
45 if (!try_lock_dio_extent(io_tree, lockstart, lockend, cached_state)) in lock_extent_direct()
48 lock_dio_extent(io_tree, lockstart, lockend, cached_state); in lock_extent_direct()
53 if (!try_lock_extent(io_tree, lockstart, lockend, in lock_extent_direct()
59 lock_extent(io_tree, lockstart, lockend, cached_state); in lock_extent_direct()
67 lockend - lockstart + 1); in lock_extent_direct()
78 lockstart, lockend))) in lock_extent_direct()
81 unlock_extent(io_tree, lockstart, lockend, cached_state); in lock_extent_direct()
134 unlock_dio_extent(io_tree, lockstart, lockend, cached_state); in lock_extent_direct()
363 u64 lockstart, lockend; in btrfs_dio_iomap_begin() local
[all …]
H A Dfile.c993 u64 *lockstart, u64 *lockend, bool nowait, in lock_and_cleanup_extent_if_need() argument
1042 *lockend = last_pos; in lock_and_cleanup_extent_if_need()
1081 u64 lockstart, lockend; in btrfs_check_nocow_lock() local
1092 lockend = round_up(pos + *write_bytes, in btrfs_check_nocow_lock()
1094 num_bytes = lockend - lockstart + 1; in btrfs_check_nocow_lock()
1097 if (!btrfs_try_lock_ordered_range(inode, lockstart, lockend, in btrfs_check_nocow_lock()
1103 btrfs_lock_and_flush_ordered_range(inode, lockstart, lockend, in btrfs_check_nocow_lock()
1113 unlock_extent(&inode->io_tree, lockstart, lockend, &cached_state); in btrfs_check_nocow_lock()
1199 u64 lockend; in btrfs_buffered_write() local
1336 &lockend, nowait, &cached_state); in btrfs_buffered_write()
[all …]