Searched refs:lockstart (Results 1 – 3 of 3) sorted by relevance
/linux-4.4.14/fs/btrfs/ |
D | file.c | 1383 u64 *lockstart, u64 *lockend, in lock_and_cleanup_extent_if_need() argument 1421 *lockstart = start_pos; in lock_and_cleanup_extent_if_need() 1441 u64 lockstart, lockend; in check_can_nocow() local 1449 lockstart = round_down(pos, root->sectorsize); in check_can_nocow() 1453 lock_extent(&BTRFS_I(inode)->io_tree, lockstart, lockend); in check_can_nocow() 1454 ordered = btrfs_lookup_ordered_range(inode, lockstart, in check_can_nocow() 1455 lockend - lockstart + 1); in check_can_nocow() 1459 unlock_extent(&BTRFS_I(inode)->io_tree, lockstart, lockend); in check_can_nocow() 1464 num_bytes = lockend - lockstart + 1; in check_can_nocow() 1465 ret = can_nocow_extent(inode, lockstart, &num_bytes, NULL, NULL, NULL); in check_can_nocow() [all …]
|
D | inode.c | 7385 static int lock_extent_direct(struct inode *inode, u64 lockstart, u64 lockend, in lock_extent_direct() argument 7392 lock_extent_bits(&BTRFS_I(inode)->io_tree, lockstart, lockend, in lock_extent_direct() 7399 ordered = btrfs_lookup_ordered_range(inode, lockstart, in lock_extent_direct() 7400 lockend - lockstart + 1); in lock_extent_direct() 7411 !btrfs_page_exists_in_range(inode, lockstart, lockend))) in lock_extent_direct() 7414 unlock_extent_cached(&BTRFS_I(inode)->io_tree, lockstart, lockend, in lock_extent_direct() 7422 ret = btrfs_fdatawrite_range(inode, lockstart, lockend); in lock_extent_direct() 7426 lockstart, in lock_extent_direct() 7436 lockstart >> PAGE_CACHE_SHIFT, in lock_extent_direct() 7530 u64 lockstart, lockend; in btrfs_get_blocks_direct() local [all …]
|
D | scrub.c | 4209 u64 lockstart = start, lockend = start + len - 1; in check_extent_to_block() local 4214 lock_extent_bits(io_tree, lockstart, lockend, 0, &cached_state); in check_extent_to_block() 4215 ordered = btrfs_lookup_ordered_range(inode, lockstart, len); in check_extent_to_block() 4241 unlock_extent_cached(io_tree, lockstart, lockend, &cached_state, in check_extent_to_block()
|