Home
last modified time | relevance | path

Searched refs:io_tree (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/fs/btrfs/
H A Dinode.c1099 struct extent_io_tree *io_tree = &inode->io_tree; in submit_one_async_extent() local
1751 struct extent_io_tree *io_tree = &inode->io_tree; in fallback_to_cow() local
3017 struct extent_io_tree *io_tree = &inode->io_tree; in btrfs_finish_one_ordered() local
4688 struct extent_io_tree *io_tree = &inode->io_tree; in btrfs_truncate_block() local
4881 struct extent_io_tree *io_tree = &inode->io_tree; in btrfs_cont_expand() local
5110 struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; in evict_inode_truncate_pages() local
7072 struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; in can_nocow_extent() local
9869 struct extent_io_tree *io_tree = &inode->io_tree; in btrfs_encoded_read_inline() local
10025 struct extent_io_tree *io_tree = &inode->io_tree; in btrfs_encoded_read_regular() local
10087 struct extent_io_tree *io_tree = &inode->io_tree; in btrfs_encoded_read() local
[all …]
H A Ddefrag.c614 struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; in defrag_lookup_extent() local
646 lock_extent(io_tree, start, end, &cached); in defrag_lookup_extent()
649 unlock_extent(io_tree, start, end, &cached); in defrag_lookup_extent()
760 lock_extent(&inode->io_tree, page_start, page_end, &cached_state); in defrag_prepare_one_page()
762 unlock_extent(&inode->io_tree, page_start, page_end, in defrag_prepare_one_page()
894 if (test_range_bit(&inode->io_tree, cur, cur + range_len - 1, in defrag_collect_targets()
1040 clear_extent_bit(&inode->io_tree, start, start + len - 1, in defrag_one_locked_target()
1043 set_extent_bit(&inode->io_tree, start, start + len - 1, in defrag_one_locked_target()
1093 lock_extent(&inode->io_tree, start_index << PAGE_SHIFT, in defrag_one_range()
1121 unlock_extent(&inode->io_tree, start_index << PAGE_SHIFT, in defrag_one_range()
H A Dreflink.c98 clear_extent_bit(&inode->io_tree, file_offset, range_end, in copy_inline_to_page()
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()
642 lock_extent(&BTRFS_I(inode1)->io_tree, loff1, range1_end, NULL); in btrfs_double_extent_lock()
643 lock_extent(&BTRFS_I(inode2)->io_tree, loff2, range2_end, NULL); in btrfs_double_extent_lock()
H A Dfile.c158 clear_extent_bit(&inode->io_tree, start_pos, end_of_last_block, in btrfs_dirty_pages()
995 if (!try_lock_extent(&inode->io_tree, start_pos, last_pos, in lock_and_cleanup_extent_if_need()
1014 unlock_extent(&inode->io_tree, start_pos, last_pos, in lock_and_cleanup_extent_if_need()
1391 unlock_extent(&BTRFS_I(inode)->io_tree, lockstart, in btrfs_buffered_write()
2210 lock_extent(&BTRFS_I(inode)->io_tree, lockstart, lockend, in btrfs_punch_hole_lock_range()
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()
3116 lock_extent(&BTRFS_I(inode)->io_tree, alloc_start, locked_end, in btrfs_fallocate()
[all …]
H A Drelocation.c1134 ret = try_lock_extent(&BTRFS_I(inode)->io_tree, in replace_file_extents()
1142 unlock_extent(&BTRFS_I(inode)->io_tree, in replace_file_extents()
1584 lock_extent(&BTRFS_I(inode)->io_tree, start, end, &cached_state); in invalidate_extent_cache()
2890 clear_extent_bits(&inode->io_tree, i_size, in prealloc_file_extent_cluster()
2922 lock_extent(&inode->io_tree, start, end, &cached_state); in prealloc_file_extent_cluster()
2928 unlock_extent(&inode->io_tree, start, end, &cached_state); in prealloc_file_extent_cluster()
2957 lock_extent(&BTRFS_I(inode)->io_tree, start, end, &cached_state); in setup_relocation_extent_mapping()
2959 unlock_extent(&BTRFS_I(inode)->io_tree, start, end, &cached_state); in setup_relocation_extent_mapping()
3059 lock_extent(&BTRFS_I(inode)->io_tree, clamped_start, clamped_end, in relocate_one_page()
3064 clear_extent_bit(&BTRFS_I(inode)->io_tree, in relocate_one_page()
[all …]
H A Dordered-data.c1104 lock_extent(&inode->io_tree, start, end, cachedp); in btrfs_lock_and_flush_ordered_range()
1117 unlock_extent(&inode->io_tree, start, end, cachedp); in btrfs_lock_and_flush_ordered_range()
1135 if (!try_lock_extent(&inode->io_tree, start, end, cached_state)) in btrfs_try_lock_ordered_range()
1143 unlock_extent(&inode->io_tree, start, end, cached_state); in btrfs_try_lock_ordered_range()
H A Dbtrfs_inode.h94 struct extent_io_tree io_tree; member
H A Dfree-space-cache.c341 lock_extent(&inode->io_tree, 0, (u64)-1, &cached_state); in btrfs_truncate_free_space_cache()
353 unlock_extent(&inode->io_tree, 0, (u64)-1, &cached_state); in btrfs_truncate_free_space_cache()
1162 clear_extent_bit(&BTRFS_I(inode)->io_tree, 0, inode->i_size - 1, in update_cache_item()
1174 clear_extent_bit(&BTRFS_I(inode)->io_tree, 0, in update_cache_item()
1270 clear_extent_bit(&BTRFS_I(inode)->io_tree, 0, inode->i_size - 1, in flush_dirty_cache()
1291 unlock_extent(&BTRFS_I(inode)->io_tree, 0, i_size_read(inode) - 1, in cleanup_write_cache_enospc()
1417 lock_extent(&BTRFS_I(inode)->io_tree, 0, i_size_read(inode) - 1, in __btrfs_write_out_cache()
1473 unlock_extent(&BTRFS_I(inode)->io_tree, 0, i_size_read(inode) - 1, in __btrfs_write_out_cache()
H A Dextent_map.c991 lock_extent(&inode->io_tree, start, start + len - 1, NULL); in split_extent_map()
1048 unlock_extent(&inode->io_tree, start, start + len - 1, NULL); in split_extent_map()
H A Dextent_io.c326 struct extent_io_tree *tree = &BTRFS_I(inode)->io_tree; in find_lock_delalloc_range()
418 clear_extent_bit(&inode->io_tree, start, end, clear_bits, NULL); in extent_clear_unlock_delalloc()
549 tree = &processed->inode->io_tree; in endio_readpage_release_extent()
978 struct extent_io_tree *tree = &BTRFS_I(inode)->io_tree; in btrfs_do_readpage()
2329 struct extent_io_tree *tree = &btrfs_inode->io_tree; in try_release_extent_mapping()
3035 lock_extent(&inode->io_tree, range_start, range_end, &cached_state); in extent_fiemap()
3215 unlock_extent(&inode->io_tree, range_start, range_end, &cached_state); in extent_fiemap()
H A Dqgroup.c3711 clear_ret = clear_extent_bits(&inode->io_tree, entry_start, in qgroup_unreserve_range()
3814 ret = set_record_extent_bits(&inode->io_tree, start, in qgroup_reserve_data()
3908 ret = clear_record_extent_bits(&inode->io_tree, free_start, in qgroup_free_reserved_data()
3941 ret = clear_record_extent_bits(&inode->io_tree, start, start + len -1, in __btrfs_qgroup_release_data()
4181 ret = clear_record_extent_bits(&inode->io_tree, 0, (u64)-1, in btrfs_qgroup_check_reserved_leak()
H A Dcompression.c337 tree = &BTRFS_I(inode)->io_tree; in add_ra_bio_pages()
H A Dfile-item.c441 set_extent_bit(&inode->io_tree, file_offset, in btrfs_lookup_bio_sums()
H A Ddisk-io.c507 tree = &BTRFS_I(folio->mapping->host)->io_tree; in btree_invalidate_folio()
1911 extent_io_tree_init(fs_info, &BTRFS_I(inode)->io_tree, in btrfs_init_btree_inode()
/openbmc/linux/fs/btrfs/tests/
H A Dinode-tests.c964 ret = clear_extent_bit(&BTRFS_I(inode)->io_tree, in test_extent_accounting()
1032 ret = clear_extent_bit(&BTRFS_I(inode)->io_tree, in test_extent_accounting()
1067 ret = clear_extent_bit(&BTRFS_I(inode)->io_tree, 0, (u64)-1, in test_extent_accounting()
1083 clear_extent_bit(&BTRFS_I(inode)->io_tree, 0, (u64)-1, in test_extent_accounting()
H A Dextent-io-tests.c129 tmp = &BTRFS_I(inode)->io_tree; in test_find_delalloc()