| /linux/fs/btrfs/ |
| H A D | inode.c | 102 * update the disk_i_size, but lockdep will complain because our io_tree we hold 1053 struct extent_io_tree *io_tree = &inode->io_tree; in compress_file_range() 1105 btrfs_lock_extent(io_tree, start, end, &cached); in submit_uncompressed_range() 1257 btrfs_lock_extent(&inode->io_tree, file_offset, cur_end, cached); in btrfs_get_extent_allocation_hint() 1706 struct extent_io_tree *io_tree = &inode->io_tree; in run_delalloc_compressed() 1744 btrfs_lock_extent(io_tree, start, end, &cached_state); in run_delalloc_compressed() 1745 count = btrfs_count_range_bits(io_tree, &range_start, end, range_bytes, in run_delalloc_compressed() 1760 btrfs_clear_extent_bit(io_tree, star in run_delalloc_compressed() 1138 struct extent_io_tree *io_tree = &inode->io_tree; submit_one_async_extent() local 1816 struct extent_io_tree *io_tree = &inode->io_tree; fallback_to_cow() local 3197 struct extent_io_tree *io_tree = &inode->io_tree; btrfs_finish_one_ordered() local 5054 struct extent_io_tree *io_tree = &inode->io_tree; btrfs_truncate_block() local 5301 struct extent_io_tree *io_tree = &inode->io_tree; btrfs_cont_expand() local 5526 struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; evict_inode_truncate_pages() local 7445 struct extent_io_tree *io_tree = &inode->io_tree; can_nocow_extent() local 9466 struct extent_io_tree *io_tree = &inode->io_tree; btrfs_encoded_read_inline() local 9651 struct extent_io_tree *io_tree = &inode->io_tree; btrfs_encoded_read_regular() local 9715 struct extent_io_tree *io_tree = &inode->io_tree; btrfs_encoded_read() local 9882 struct extent_io_tree *io_tree = &inode->io_tree; btrfs_do_encoded_write() local 10268 struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; btrfs_swap_activate() local [all...] |
| H A D | defrag.c | 738 struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; in defrag_lookup_extent() local 770 btrfs_lock_extent(io_tree, start, end, &cached); in defrag_lookup_extent() 773 btrfs_unlock_extent(io_tree, start, end, &cached); in defrag_lookup_extent() 892 btrfs_lock_extent(&inode->io_tree, lock_start, lock_end, &cached_state); in defrag_prepare_one_folio() 894 btrfs_unlock_extent(&inode->io_tree, lock_start, lock_end, &cached_state); in defrag_prepare_one_folio() 1024 if (btrfs_test_range_bit_exists(&inode->io_tree, cur, cur + range_len - 1, in defrag_collect_targets() 1164 btrfs_clear_extent_bit(&inode->io_tree, start, start + len - 1, in defrag_one_locked_target() 1167 btrfs_set_extent_bit(&inode->io_tree, start, start + len - 1, in defrag_one_locked_target() 1232 btrfs_lock_extent(&inode->io_tree, folio_pos(folios[0]), cur - 1, &cached_state); in defrag_one_range() 1258 btrfs_unlock_extent(&inode->io_tree, folio_pos(folios[0]), cur - 1, &cached_state); in defrag_one_range()
|
| H A D | file.c | 100 btrfs_clear_extent_bit(&inode->io_tree, start_pos, end_of_last_block, in btrfs_dirty_folio() 915 if (!btrfs_try_lock_extent(&inode->io_tree, start_pos, in lock_and_cleanup_extent_if_need() 922 btrfs_lock_extent(&inode->io_tree, start_pos, last_pos, in lock_and_cleanup_extent_if_need() 931 btrfs_unlock_extent(&inode->io_tree, start_pos, last_pos, in lock_and_cleanup_extent_if_need() 1026 btrfs_unlock_extent(&inode->io_tree, lockstart, lockend, &cached_state); in btrfs_check_nocow_lock() 1301 btrfs_unlock_extent(&inode->io_tree, lockstart, lockend, in copy_one_range() 1331 btrfs_unlock_extent(&inode->io_tree, lockstart, lockend, &cached_state); in copy_one_range() 1857 struct extent_io_tree *io_tree = &inode->io_tree; in btrfs_page_mkwrite() local 1929 btrfs_lock_extent(io_tree, page_star in btrfs_page_mkwrite() [all...] |
| H A D | reflink.c | 97 btrfs_clear_extent_bit(&inode->io_tree, file_offset, range_end, in copy_inline_to_page() 692 btrfs_lock_extent(&dst->io_tree, dst_loff, end, &cached_state); in btrfs_extent_same() 695 btrfs_unlock_extent(&dst->io_tree, dst_loff, end, &cached_state); in btrfs_extent_same() 794 btrfs_lock_extent(&BTRFS_I(inode)->io_tree, destoff, end, &cached_state); in btrfs_remap_file_range_prep() 796 btrfs_unlock_extent(&BTRFS_I(inode)->io_tree, destoff, end, &cached_state); in btrfs_remap_file_range_prep()
|
| H A D | extent_io.c | 375 struct extent_io_tree *tree = &BTRFS_I(inode)->io_tree; in find_lock_delalloc_range() 473 btrfs_clear_extent_bit(&inode->io_tree, start, end, clear_bits, cached); in extent_clear_unlock_delalloc() 1299 btrfs_lock_extent(&inode->io_tree, start, end, cached_state); in lock_extents_for_read() 1322 btrfs_unlock_extent(&inode->io_tree, start, end, cached_state); in lock_extents_for_read() 1349 btrfs_unlock_extent(&inode->io_tree, start, end, &cached_state); in btrfs_read_folio() 1540 btrfs_unlock_extent(&inode->io_tree, found_start, in writepage_delalloc() 2712 btrfs_unlock_extent(&inode->io_tree, start, end, &cached_state); in btrfs_writepages() 2808 struct extent_io_tree *io_tree = &inode->io_tree; in try_release_extent_state() 2827 if (btrfs_test_range_bit_exists(io_tree, e 2837 struct extent_io_tree *io_tree = &inode->io_tree; try_release_extent_mapping() local [all...] |
| H A D | fiemap.c | 663 btrfs_lock_extent(&inode->io_tree, range_start, range_end, &cached_state); in extent_fiemap() 843 btrfs_unlock_extent(&inode->io_tree, range_start, range_end, &cached_state); in extent_fiemap()
|
| H A D | ioctl.c | 4300 struct extent_io_tree *io_tree = &inode->io_tree; in btrfs_ioctl_encoded_read() 4382 btrfs_unlock_extent(io_tree, start, lockend, &cached_state); in btrfs_ioctl_encoded_read() 4542 struct extent_io_tree *io_tree = &inode->io_tree; in btrfs_uring_read_finished() 4580 btrfs_unlock_extent(io_tree, priv->start, priv->lockend, &priv->cached_state); in btrfs_uring_read_finished() 4614 struct extent_io_tree *io_tree = &inode->io_tree; in btrfs_uring_read_extent() 4670 btrfs_unlock_extent(io_tree, start, lockend, &cached_state); in btrfs_uring_read_extent() 4685 struct extent_io_tree *io_tree in btrfs_uring_encoded_read() 4299 struct extent_io_tree *io_tree = &inode->io_tree; btrfs_ioctl_encoded_read() local 4541 struct extent_io_tree *io_tree = &inode->io_tree; btrfs_uring_read_finished() local 4613 struct extent_io_tree *io_tree = &inode->io_tree; btrfs_uring_read_extent() local 4684 struct extent_io_tree *io_tree = &inode->io_tree; btrfs_uring_encoded_read() local [all...] |
| H A D | relocation.c | 927 ret = btrfs_try_lock_extent(&inode->io_tree, key.offset, in replace_file_extents() 935 btrfs_unlock_extent(&inode->io_tree, key.offset, end, in replace_file_extents() 1395 btrfs_lock_extent(&inode->io_tree, start, end, &cached_state); in invalidate_extent_cache() 1397 btrfs_unlock_extent(&inode->io_tree, start, end, &cached_state); in invalidate_extent_cache() 2706 btrfs_lock_extent(&inode->io_tree, start, end, &cached_state); in prealloc_file_extent_cluster() 2712 btrfs_unlock_extent(&inode->io_tree, start, end, &cached_state); in prealloc_file_extent_cluster() 2745 btrfs_lock_extent(&inode->io_tree, start, end, &cached_state); in setup_relocation_extent_mapping() 2747 btrfs_unlock_extent(&inode->io_tree, start, end, &cached_state); in setup_relocation_extent_mapping() 2870 btrfs_lock_extent(&BTRFS_I(inode)->io_tree, clamped_start, in relocate_one_folio() 2875 btrfs_clear_extent_bit(&BTRFS_I(inode)->io_tree, in relocate_one_folio() [all...] |
| H A D | free-space-cache.c | 340 btrfs_lock_extent(&inode->io_tree, 0, (u64)-1, &cached_state); in btrfs_truncate_free_space_cache() 352 btrfs_unlock_extent(&inode->io_tree, 0, (u64)-1, &cached_state); in btrfs_truncate_free_space_cache() 1163 btrfs_clear_extent_bit(&BTRFS_I(inode)->io_tree, 0, inode->i_size - 1, in update_cache_item() 1175 btrfs_clear_extent_bit(&BTRFS_I(inode)->io_tree, 0, in update_cache_item() 1264 btrfs_clear_extent_bit(&BTRFS_I(inode)->io_tree, 0, inode->i_size - 1, in flush_dirty_cache() 1285 btrfs_unlock_extent(&BTRFS_I(inode)->io_tree, 0, i_size_read(inode) - 1, in cleanup_write_cache_enospc() 1411 btrfs_lock_extent(&BTRFS_I(inode)->io_tree, 0, i_size_read(inode) - 1, in __btrfs_write_out_cache() 1472 btrfs_unlock_extent(&BTRFS_I(inode)->io_tree, 0, i_size_read(inode) - 1, in __btrfs_write_out_cache()
|
| H A D | qgroup.c | 4158 clear_ret = btrfs_clear_extent_bit(&inode->io_tree, entry_start, entry_end, in qgroup_unreserve_range() 4261 ret = btrfs_set_record_extent_bits(&inode->io_tree, start, in qgroup_reserve_data() 4356 ret = btrfs_clear_record_extent_bits(&inode->io_tree, free_start, in qgroup_free_reserved_data() 4383 return btrfs_clear_record_extent_bits(&inode->io_tree, start, in __btrfs_qgroup_release_data() 4393 ret = btrfs_clear_record_extent_bits(&inode->io_tree, start, start + len - 1, in __btrfs_qgroup_release_data() 4414 * Free a reserved space range from io_tree and related qgroups 4433 * Release a reserved space range from io_tree only. 4442 * But we should release the range from io_tree, to allow further write to be 4645 ret = btrfs_clear_record_extent_bits(&inode->io_tree, 0, (u64)-1, in btrfs_qgroup_check_reserved_leak()
|
| H A D | file-item.c | 470 btrfs_set_extent_bit(&inode->io_tree, file_offset, in btrfs_lookup_bio_sums()
|
| H A D | compression.c | 389 tree = &BTRFS_I(inode)->io_tree; in add_ra_bio_pages()
|
| H A D | disk-io.c | 496 tree = &folio_to_inode(folio)->io_tree; in btree_invalidate_folio() 1895 btrfs_extent_io_tree_init(fs_info, &BTRFS_I(inode)->io_tree, in btrfs_init_btree_inode()
|