Home
last modified time | relevance | path

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

/Linux-v5.4/fs/btrfs/
Dfile.c1484 u64 *lockstart, u64 *lockend, in lock_and_cleanup_extent_if_need() argument
1523 *lockend = last_pos; in lock_and_cleanup_extent_if_need()
1554 u64 lockstart, lockend; in check_can_nocow() local
1563 lockend = round_up(pos + *write_bytes, in check_can_nocow()
1567 lockend, NULL); in check_can_nocow()
1569 num_bytes = lockend - lockstart + 1; in check_can_nocow()
1580 unlock_extent(&inode->io_tree, lockstart, lockend); in check_can_nocow()
1597 u64 lockend; in btrfs_buffered_write() local
1702 &lockend, &cached_state); in btrfs_buffered_write()
1771 lockstart, lockend, &cached_state); in btrfs_buffered_write()
[all …]
Dinode.c7481 static int lock_extent_direct(struct inode *inode, u64 lockstart, u64 lockend, in lock_extent_direct() argument
7488 lock_extent_bits(&BTRFS_I(inode)->io_tree, lockstart, lockend, in lock_extent_direct()
7496 lockend - lockstart + 1); in lock_extent_direct()
7507 lockstart, lockend))) in lock_extent_direct()
7510 unlock_extent_cached(&BTRFS_I(inode)->io_tree, lockstart, lockend, in lock_extent_direct()
7748 u64 lockstart, lockend; in btrfs_get_blocks_direct() local
7756 lockend = start + len - 1; in btrfs_get_blocks_direct()
7772 if (lock_extent_direct(inode, lockstart, lockend, &cached_state, in btrfs_get_blocks_direct()
7812 lockend, &cached_state); in btrfs_get_blocks_direct()
7827 if (lockstart < lockend) { in btrfs_get_blocks_direct()
[all …]