Home
last modified time | relevance | path

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

/linux-4.19.296/fs/btrfs/
Dfile.c1474 u64 *lockstart, u64 *lockend, in lock_and_cleanup_extent_if_need() argument
1512 *lockstart = start_pos; in lock_and_cleanup_extent_if_need()
1545 u64 lockstart, lockend; in check_can_nocow() local
1553 lockstart = round_down(pos, fs_info->sectorsize); in check_can_nocow()
1558 lock_extent(&inode->io_tree, lockstart, lockend); in check_can_nocow()
1559 ordered = btrfs_lookup_ordered_range(inode, lockstart, in check_can_nocow()
1560 lockend - lockstart + 1); in check_can_nocow()
1564 unlock_extent(&inode->io_tree, lockstart, lockend); 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()
[all …]
Dinode.c7507 static int lock_extent_direct(struct inode *inode, u64 lockstart, u64 lockend, in lock_extent_direct() argument
7514 lock_extent_bits(&BTRFS_I(inode)->io_tree, lockstart, lockend, in lock_extent_direct()
7521 ordered = btrfs_lookup_ordered_range(BTRFS_I(inode), lockstart, in lock_extent_direct()
7522 lockend - lockstart + 1); in lock_extent_direct()
7533 lockstart, lockend))) in lock_extent_direct()
7536 unlock_extent_cached(&BTRFS_I(inode)->io_tree, lockstart, lockend, in lock_extent_direct()
7774 u64 lockstart, lockend; in btrfs_get_blocks_direct() local
7784 lockstart = start; in btrfs_get_blocks_direct()
7801 if (lock_extent_direct(inode, lockstart, lockend, &cached_state, in btrfs_get_blocks_direct()
7841 clear_extent_bit(&BTRFS_I(inode)->io_tree, lockstart, lockend, in btrfs_get_blocks_direct()
[all …]