Searched refs:lockend (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.15/fs/btrfs/ |
| D | file.c | 1434 u64 *lockstart, u64 *lockend, in lock_and_cleanup_extent_if_need() argument 1470 *lockend = last_pos; in lock_and_cleanup_extent_if_need() 1489 u64 lockstart, lockend; in check_can_nocow() local 1500 lockend = round_up(pos + *write_bytes, in check_can_nocow() 1502 num_bytes = lockend - lockstart + 1; in check_can_nocow() 1507 if (!try_lock_extent(&inode->io_tree, lockstart, lockend)) in check_can_nocow() 1519 lockend, NULL); in check_can_nocow() 1533 unlock_extent(&inode->io_tree, lockstart, lockend); in check_can_nocow() 1658 u64 lockend; in btrfs_buffered_write() local 1773 &lockend, &cached_state); in btrfs_buffered_write() [all …]
|
| D | inode.c | 7615 static int lock_extent_direct(struct inode *inode, u64 lockstart, u64 lockend, in lock_extent_direct() argument 7622 lock_extent_bits(&BTRFS_I(inode)->io_tree, lockstart, lockend, in lock_extent_direct() 7630 lockend - lockstart + 1); in lock_extent_direct() 7641 lockstart, lockend))) in lock_extent_direct() 7644 unlock_extent_cached(&BTRFS_I(inode)->io_tree, lockstart, lockend, in lock_extent_direct() 7845 u64 lockstart, lockend; in btrfs_dio_iomap_begin() local 7855 lockend = start + len - 1; in btrfs_dio_iomap_begin() 7894 if (lock_extent_direct(inode, lockstart, lockend, &cached_state, write)) { in btrfs_dio_iomap_begin() 7941 if (lockstart < lockend) in btrfs_dio_iomap_begin() 7947 lockstart, lockend, &cached_state); in btrfs_dio_iomap_begin() [all …]
|