Searched refs:lockstart (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.4/fs/btrfs/ |
| D | file.c | 1484 u64 *lockstart, u64 *lockend, in lock_and_cleanup_extent_if_need() argument 1522 *lockstart = start_pos; in lock_and_cleanup_extent_if_need() 1554 u64 lockstart, lockend; in check_can_nocow() local 1562 lockstart = round_down(pos, fs_info->sectorsize); in check_can_nocow() 1566 btrfs_lock_and_flush_ordered_range(&inode->io_tree, inode, lockstart, in check_can_nocow() 1569 num_bytes = lockend - lockstart + 1; in check_can_nocow() 1570 ret = can_nocow_extent(&inode->vfs_inode, lockstart, &num_bytes, in check_can_nocow() 1577 num_bytes - pos + lockstart); in check_can_nocow() 1580 unlock_extent(&inode->io_tree, lockstart, lockend); in check_can_nocow() 1596 u64 lockstart; in btrfs_buffered_write() local [all …]
|
| D | inode.c | 7481 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() 7495 ordered = btrfs_lookup_ordered_range(BTRFS_I(inode), lockstart, 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 7755 lockstart = start; in btrfs_get_blocks_direct() 7772 if (lock_extent_direct(inode, lockstart, lockend, &cached_state, in btrfs_get_blocks_direct() 7811 unlock_extent_cached(&BTRFS_I(inode)->io_tree, lockstart, in btrfs_get_blocks_direct() [all …]
|