/kernel/linux/linux-5.10/fs/btrfs/tests/ |
H A D | extent-io-tests.c | 127 unlock_extent(tmp, start, end); in test_find_delalloc() 163 unlock_extent(tmp, start, end); in test_find_delalloc() 218 unlock_extent(tmp, start, end); in test_find_delalloc()
|
/kernel/linux/linux-6.6/fs/btrfs/tests/ |
H A D | extent-io-tests.c | 176 unlock_extent(tmp, start, end, NULL); in test_find_delalloc() 212 unlock_extent(tmp, start, end, NULL); in test_find_delalloc() 267 unlock_extent(tmp, start, end, NULL); in test_find_delalloc()
|
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | defrag.c | 649 unlock_extent(io_tree, start, end, &cached); in defrag_lookup_extent() 762 unlock_extent(&inode->io_tree, page_start, page_end, in defrag_prepare_one_page() 1107 goto unlock_extent; in defrag_one_range() 1120 unlock_extent: in defrag_one_range() 1121 unlock_extent(&inode->io_tree, start_index << PAGE_SHIFT, in defrag_one_range()
|
H A D | extent-io-tree.h | 149 static inline int unlock_extent(struct extent_io_tree *tree, u64 start, u64 end, in unlock_extent() function
|
H A D | inode.c | 1629 unlock_extent(&inode->io_tree, start, end, NULL); in run_delalloc_compressed() 2754 unlock_extent(&inode->io_tree, page_start, page_end, in btrfs_writepage_fixup_worker() 2781 unlock_extent(&inode->io_tree, page_start, page_end, &cached_state); in btrfs_writepage_fixup_worker() 4757 unlock_extent(io_tree, block_start, block_end, &cached_state); in btrfs_truncate_block() 4772 unlock_extent(io_tree, block_start, block_end, &cached_state); in btrfs_truncate_block() 4789 unlock_extent(io_tree, block_start, block_end, &cached_state); in btrfs_truncate_block() 4956 unlock_extent(io_tree, hole_start, block_end - 1, &cached_state); in btrfs_cont_expand() 7190 unlock_extent(io_tree, lockstart, lockend, cached_state); in lock_extent_direct() 7641 unlock_extent(&BTRFS_I(inode)->io_tree, lockstart, lockend, in btrfs_dio_iomap_begin() 7667 unlock_extent( in btrfs_dio_iomap_begin() [all...] |
H A D | file.c | 1014 unlock_extent(&inode->io_tree, start_pos, last_pos, in lock_and_cleanup_extent_if_need() 1099 unlock_extent(&inode->io_tree, lockstart, lockend, &cached_state); in btrfs_check_nocow_lock() 1391 unlock_extent(&BTRFS_I(inode)->io_tree, lockstart, in btrfs_buffered_write() 2226 unlock_extent(&BTRFS_I(inode)->io_tree, lockstart, lockend, in btrfs_punch_hole_lock_range() 2723 unlock_extent(&BTRFS_I(inode)->io_tree, lockstart, lockend, in btrfs_punch_hole() 2996 unlock_extent(&BTRFS_I(inode)->io_tree, lockstart, in btrfs_zero_range() 3004 unlock_extent(&BTRFS_I(inode)->io_tree, lockstart, lockend, in btrfs_zero_range() 3205 unlock_extent(&BTRFS_I(inode)->io_tree, alloc_start, locked_end, in btrfs_fallocate() 3670 unlock_extent(&inode->io_tree, lockstart, lockend, &cached_state); in find_desired_extent()
|
H A D | extent_io.c | 400 unlock_extent(tree, delalloc_start, delalloc_end, in find_lock_delalloc_range() 554 unlock_extent(tree, processed->start, processed->end, &cached); in endio_readpage_release_extent() 992 unlock_extent(tree, start, end, NULL); in btrfs_do_readpage() 1016 unlock_extent(tree, cur, cur + iosize - 1, NULL); in btrfs_do_readpage() 1023 unlock_extent(tree, cur, end, NULL); in btrfs_do_readpage() 1093 unlock_extent(tree, cur, cur + iosize - 1, NULL); in btrfs_do_readpage() 1101 unlock_extent(tree, cur, cur + iosize - 1, NULL); in btrfs_do_readpage() 2286 unlock_extent(tree, start, end, &cached_state); in extent_invalidate_folio() 3131 unlock_extent(&inode->io_tree, lockstart, lockend, &cached_state); in extent_fiemap()
|
H A D | reflink.c | 623 unlock_extent(&BTRFS_I(inode1)->io_tree, loff1, loff1 + len - 1, NULL); in btrfs_double_extent_unlock() 624 unlock_extent(&BTRFS_I(inode2)->io_tree, loff2, loff2 + len - 1, NULL); in btrfs_double_extent_unlock()
|
H A D | ordered-data.c | 1117 unlock_extent(&inode->io_tree, start, end, cachedp); in btrfs_lock_and_flush_ordered_range() 1143 unlock_extent(&inode->io_tree, start, end, cached_state); in btrfs_try_lock_ordered_range()
|
H A D | compression.c | 418 unlock_extent(tree, cur, page_end, NULL); in add_ra_bio_pages() 438 unlock_extent(tree, cur, page_end, NULL); in add_ra_bio_pages()
|
H A D | relocation.c | 1142 unlock_extent(&BTRFS_I(inode)->io_tree, in replace_file_extents() 1586 unlock_extent(&BTRFS_I(inode)->io_tree, start, end, &cached_state); in invalidate_extent_cache() 2928 unlock_extent(&inode->io_tree, start, end, &cached_state); in prealloc_file_extent_cluster() 2959 unlock_extent(&BTRFS_I(inode)->io_tree, start, end, &cached_state); in setup_relocation_extent_mapping() 3094 unlock_extent(&BTRFS_I(inode)->io_tree, clamped_start, clamped_end, in relocate_one_page()
|
H A D | extent_map.c | 1048 unlock_extent(&inode->io_tree, start, start + len - 1, NULL); in split_extent_map()
|
H A D | free-space-cache.c | 353 unlock_extent(&inode->io_tree, 0, (u64)-1, &cached_state); in btrfs_truncate_free_space_cache() 1291 unlock_extent(&BTRFS_I(inode)->io_tree, 0, i_size_read(inode) - 1, in cleanup_write_cache_enospc() 1473 unlock_extent(&BTRFS_I(inode)->io_tree, 0, i_size_read(inode) - 1, in __btrfs_write_out_cache()
|
H A D | tree-log.c | 4259 unlock_extent(&log_root->log_csum_range, sums->logical, lock_end, in log_csums()
|
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | extent-io-tree.h | 124 static inline int unlock_extent(struct extent_io_tree *tree, u64 start, u64 end) in unlock_extent() function
|
H A D | reflink.c | 603 unlock_extent(&BTRFS_I(inode1)->io_tree, loff1, loff1 + len - 1); in btrfs_double_extent_unlock() 604 unlock_extent(&BTRFS_I(inode2)->io_tree, loff2, loff2 + len - 1); in btrfs_double_extent_unlock()
|
H A D | compression.c | 569 unlock_extent(tree, last_offset, end); in add_ra_bio_pages() 597 unlock_extent(tree, last_offset, end); in add_ra_bio_pages()
|
H A D | relocation.c | 1118 unlock_extent(&BTRFS_I(inode)->io_tree, in replace_file_extents() 1556 unlock_extent(&BTRFS_I(inode)->io_tree, start, end); in invalidate_extent_cache() 2640 unlock_extent(&inode->io_tree, start, end); in prealloc_file_extent_cluster() 2681 unlock_extent(&BTRFS_I(inode)->io_tree, start, end); in setup_extent_mapping() 2807 unlock_extent(&BTRFS_I(inode)->io_tree, in relocate_file_extent_cluster()
|
H A D | extent_io.c | 3169 unlock_extent(tree, start, end); in btrfs_do_readpage() 3209 unlock_extent(tree, cur, end); in btrfs_do_readpage() 3303 unlock_extent(tree, cur, cur + iosize - 1); in btrfs_do_readpage() 3313 unlock_extent(tree, cur, cur + iosize - 1); in btrfs_do_readpage() 3331 unlock_extent(tree, cur, cur + iosize - 1); in btrfs_do_readpage()
|
H A D | inode.c | 828 unlock_extent(io_tree, async_extent->start, in submit_compressed_extents() 1254 unlock_extent(&inode->io_tree, start, end); in cow_file_range_async() 7567 unlock_extent(&BTRFS_I(inode)->io_tree, pos, pos + length - 1); in btrfs_dio_iomap_end() 7578 unlock_extent(&BTRFS_I(inode)->io_tree, pos, in btrfs_dio_iomap_end() 7621 unlock_extent(&BTRFS_I(dip->inode)->io_tree, in btrfs_dio_private_put() 7886 unlock_extent(&BTRFS_I(inode)->io_tree, file_offset, in btrfs_submit_direct()
|
H A D | file.c | 1519 unlock_extent(&inode->io_tree, lockstart, lockend); in check_can_nocow()
|