Home
last modified time | relevance | path

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

/linux-4.1.27/fs/btrfs/
Dfile.c1373 u64 *lockstart, u64 *lockend, in lock_and_cleanup_extent_if_need() argument
1412 *lockend = last_pos; in lock_and_cleanup_extent_if_need()
1431 u64 lockstart, lockend; in check_can_nocow() local
1440 lockend = round_up(pos + *write_bytes, root->sectorsize) - 1; in check_can_nocow()
1443 lock_extent(&BTRFS_I(inode)->io_tree, lockstart, lockend); in check_can_nocow()
1445 lockend - lockstart + 1); in check_can_nocow()
1449 unlock_extent(&BTRFS_I(inode)->io_tree, lockstart, lockend); in check_can_nocow()
1454 num_bytes = lockend - lockstart + 1; in check_can_nocow()
1464 unlock_extent(&BTRFS_I(inode)->io_tree, lockstart, lockend); in check_can_nocow()
1479 u64 lockend; in __btrfs_buffered_write() local
[all …]
Dinode.c7318 static int lock_extent_direct(struct inode *inode, u64 lockstart, u64 lockend, in lock_extent_direct() argument
7325 lock_extent_bits(&BTRFS_I(inode)->io_tree, lockstart, lockend, in lock_extent_direct()
7333 lockend - lockstart + 1); in lock_extent_direct()
7344 !btrfs_page_exists_in_range(inode, lockstart, lockend))) in lock_extent_direct()
7347 unlock_extent_cached(&BTRFS_I(inode)->io_tree, lockstart, lockend, in lock_extent_direct()
7355 ret = btrfs_fdatawrite_range(inode, lockstart, lockend); in lock_extent_direct()
7360 lockend); in lock_extent_direct()
7370 lockend >> PAGE_CACHE_SHIFT); in lock_extent_direct()
7436 u64 lockstart, lockend; in btrfs_get_blocks_direct() local
7448 lockend = start + len - 1; in btrfs_get_blocks_direct()
[all …]
Dscrub.c4031 u64 lockstart = start, lockend = start + len - 1; in check_extent_to_block() local
4036 lock_extent_bits(io_tree, lockstart, lockend, 0, &cached_state); in check_extent_to_block()
4063 unlock_extent_cached(io_tree, lockstart, lockend, &cached_state, in check_extent_to_block()