Home
last modified time | relevance | path

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

/fs/btrfs/
Dfile.c1409 u64 *lockstart, u64 *lockend, in lock_and_cleanup_extent_if_need() argument
1449 *lockstart = start_pos; in lock_and_cleanup_extent_if_need()
1469 u64 lockstart, lockend; in check_can_nocow() local
1477 lockstart = round_down(pos, root->sectorsize); in check_can_nocow()
1481 lock_extent(&BTRFS_I(inode)->io_tree, lockstart, lockend); in check_can_nocow()
1482 ordered = btrfs_lookup_ordered_range(inode, lockstart, in check_can_nocow()
1483 lockend - lockstart + 1); in check_can_nocow()
1487 unlock_extent(&BTRFS_I(inode)->io_tree, lockstart, lockend); in check_can_nocow()
1492 num_bytes = lockend - lockstart + 1; in check_can_nocow()
1493 ret = can_nocow_extent(inode, lockstart, &num_bytes, NULL, NULL, NULL); in check_can_nocow()
[all …]
Dinode.c7537 static int lock_extent_direct(struct inode *inode, u64 lockstart, u64 lockend, in lock_extent_direct() argument
7544 lock_extent_bits(&BTRFS_I(inode)->io_tree, lockstart, lockend, in lock_extent_direct()
7551 ordered = btrfs_lookup_ordered_range(inode, lockstart, in lock_extent_direct()
7552 lockend - lockstart + 1); in lock_extent_direct()
7563 !btrfs_page_exists_in_range(inode, lockstart, lockend))) in lock_extent_direct()
7566 unlock_extent_cached(&BTRFS_I(inode)->io_tree, lockstart, lockend, in lock_extent_direct()
7701 u64 lockstart, lockend; in btrfs_get_blocks_direct() local
7711 lockstart = start; in btrfs_get_blocks_direct()
7728 if (lock_extent_direct(inode, lockstart, lockend, &cached_state, in btrfs_get_blocks_direct()
7779 lockstart = start + len; in btrfs_get_blocks_direct()
[all …]
Dscrub.c4259 u64 lockstart = start, lockend = start + len - 1; in check_extent_to_block() local
4264 lock_extent_bits(io_tree, lockstart, lockend, &cached_state); in check_extent_to_block()
4265 ordered = btrfs_lookup_ordered_range(inode, lockstart, len); in check_extent_to_block()
4291 unlock_extent_cached(io_tree, lockstart, lockend, &cached_state, in check_extent_to_block()