Lines Matching defs:lockstart
35 static int lock_extent_direct(struct inode *inode, u64 lockstart, u64 lockend,
47 if (!btrfs_try_lock_dio_extent(io_tree, lockstart, lockend, cached_state))
50 btrfs_lock_dio_extent(io_tree, lockstart, lockend, cached_state);
55 if (!btrfs_try_lock_extent(io_tree, lockstart, lockend,
61 btrfs_lock_extent(io_tree, lockstart, lockend, cached_state);
68 ordered = btrfs_lookup_ordered_range(BTRFS_I(inode), lockstart,
69 lockend - lockstart + 1);
80 lockstart, lockend)))
83 btrfs_unlock_extent(io_tree, lockstart, lockend, cached_state);
136 btrfs_unlock_dio_extent(io_tree, lockstart, lockend, cached_state);
364 u64 lockstart, lockend;
392 lockstart = start;
417 lockstart, lockend))
454 ret = lock_extent_direct(inode, lockstart, lockend, &cached_state, flags);
579 btrfs_clear_extent_bit(&BTRFS_I(inode)->io_tree, lockstart, lockend,
595 btrfs_clear_extent_bit(&BTRFS_I(inode)->io_tree, lockstart, lockend,