Home
last modified time | relevance | path

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

/Linux-v4.19/fs/btrfs/
Dfile.c1466 u64 *lockstart, u64 *lockend, in lock_and_cleanup_extent_if_need() argument
1507 *lockstart = start_pos; in lock_and_cleanup_extent_if_need()
1528 u64 lockstart, lockend; in check_can_nocow() local
1536 lockstart = round_down(pos, fs_info->sectorsize); in check_can_nocow()
1541 lock_extent(&inode->io_tree, lockstart, lockend); in check_can_nocow()
1542 ordered = btrfs_lookup_ordered_range(inode, lockstart, in check_can_nocow()
1543 lockend - lockstart + 1); in check_can_nocow()
1547 unlock_extent(&inode->io_tree, lockstart, lockend); in check_can_nocow()
1552 num_bytes = lockend - lockstart + 1; in check_can_nocow()
1553 ret = can_nocow_extent(&inode->vfs_inode, lockstart, &num_bytes, in check_can_nocow()
[all …]
Dinode.c7338 static int lock_extent_direct(struct inode *inode, u64 lockstart, u64 lockend, in lock_extent_direct() argument
7345 lock_extent_bits(&BTRFS_I(inode)->io_tree, lockstart, lockend, in lock_extent_direct()
7352 ordered = btrfs_lookup_ordered_range(BTRFS_I(inode), lockstart, in lock_extent_direct()
7353 lockend - lockstart + 1); in lock_extent_direct()
7364 lockstart, lockend))) in lock_extent_direct()
7367 unlock_extent_cached(&BTRFS_I(inode)->io_tree, lockstart, lockend, in lock_extent_direct()
7605 u64 lockstart, lockend; in btrfs_get_blocks_direct() local
7615 lockstart = start; in btrfs_get_blocks_direct()
7632 if (lock_extent_direct(inode, lockstart, lockend, &cached_state, in btrfs_get_blocks_direct()
7672 clear_extent_bit(&BTRFS_I(inode)->io_tree, lockstart, lockend, in btrfs_get_blocks_direct()
[all …]