Searched refs:lockend (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 1422 *lockend = last_pos; in lock_and_cleanup_extent_if_need() 1441 u64 lockstart, lockend; in check_can_nocow() local 1450 lockend = round_up(pos + *write_bytes, root->sectorsize) - 1; in check_can_nocow() 1453 lock_extent(&BTRFS_I(inode)->io_tree, lockstart, lockend); 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() 1474 unlock_extent(&BTRFS_I(inode)->io_tree, lockstart, lockend); in check_can_nocow() 1489 u64 lockend; in __btrfs_buffered_write() local [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() 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() 7427 lockend); in lock_extent_direct() 7437 lockend >> PAGE_CACHE_SHIFT); in lock_extent_direct() 7530 u64 lockstart, lockend; in btrfs_get_blocks_direct() local 7541 lockend = start + len - 1; in btrfs_get_blocks_direct() [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() 4241 unlock_extent_cached(io_tree, lockstart, lockend, &cached_state, in check_extent_to_block()
|