Searched refs:lockstart (Results 1 – 3 of 3) sorted by relevance
/linux-4.1.27/fs/btrfs/ |
D | file.c | 1373 u64 *lockstart, u64 *lockend, in lock_and_cleanup_extent_if_need() argument 1411 *lockstart = start_pos; in lock_and_cleanup_extent_if_need() 1431 u64 lockstart, lockend; in check_can_nocow() local 1439 lockstart = round_down(pos, root->sectorsize); in check_can_nocow() 1443 lock_extent(&BTRFS_I(inode)->io_tree, lockstart, lockend); in check_can_nocow() 1444 ordered = btrfs_lookup_ordered_range(inode, lockstart, 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() 1455 ret = can_nocow_extent(inode, lockstart, &num_bytes, NULL, NULL, NULL); in check_can_nocow() [all …]
|
D | inode.c | 7318 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() 7332 ordered = btrfs_lookup_ordered_range(inode, lockstart, 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() 7359 lockstart, in lock_extent_direct() 7369 lockstart >> PAGE_CACHE_SHIFT, in lock_extent_direct() 7436 u64 lockstart, lockend; in btrfs_get_blocks_direct() local [all …]
|
D | scrub.c | 4031 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() 4037 ordered = btrfs_lookup_ordered_range(inode, lockstart, len); in check_extent_to_block() 4063 unlock_extent_cached(io_tree, lockstart, lockend, &cached_state, in check_extent_to_block()
|