/linux/fs/btrfs/ |
A D | inode.c | 926 struct extent_io_tree *io_tree = &inode->io_tree; in submit_one_async_extent() local 1561 struct extent_io_tree *io_tree = &inode->io_tree; in fallback_to_cow() local 3011 struct extent_io_tree *io_tree = &inode->io_tree; in btrfs_finish_ordered_io() local 3297 struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; in btrfs_verify_data_csum() local 5016 struct extent_io_tree *io_tree = &inode->io_tree; in btrfs_truncate_block() local 5205 struct extent_io_tree *io_tree = &inode->io_tree; in btrfs_cont_expand() local 5443 struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; in evict_inode_truncate_pages() local 7064 struct extent_io_tree *io_tree = &inode->io_tree; in btrfs_get_extent() local 7493 struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; in can_nocow_extent() local 8099 struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; in btrfs_check_read_dio_bio() local [all …]
|
A D | reflink.c | 90 clear_extent_bit(&inode->io_tree, file_offset, range_end, in copy_inline_to_page() 601 unlock_extent(&BTRFS_I(inode1)->io_tree, loff1, loff1 + len - 1); in btrfs_double_extent_unlock() 602 unlock_extent(&BTRFS_I(inode2)->io_tree, loff2, loff2 + len - 1); in btrfs_double_extent_unlock() 614 lock_extent(&BTRFS_I(inode1)->io_tree, loff1, loff1 + len - 1); in btrfs_double_extent_lock() 615 lock_extent(&BTRFS_I(inode2)->io_tree, loff2, loff2 + len - 1); in btrfs_double_extent_lock()
|
A D | file.c | 1458 lock_extent_bits(&inode->io_tree, start_pos, last_pos, in lock_and_cleanup_extent_if_need() 1465 unlock_extent_cached(&inode->io_tree, start_pos, in lock_and_cleanup_extent_if_need() 1516 if (!try_lock_extent(&inode->io_tree, lockstart, lockend)) in check_can_nocow() 1542 unlock_extent(&inode->io_tree, lockstart, lockend); in check_can_nocow() 1849 unlock_extent_cached(&BTRFS_I(inode)->io_tree, in btrfs_buffered_write() 2604 unlock_extent_cached(&BTRFS_I(inode)->io_tree, lockstart, in btrfs_punch_hole_lock_range() 3361 unlock_extent_cached(&BTRFS_I(inode)->io_tree, lockstart, in btrfs_zero_range() 3369 unlock_extent_cached(&BTRFS_I(inode)->io_tree, lockstart, in btrfs_zero_range() 3488 lock_extent_bits(&BTRFS_I(inode)->io_tree, alloc_start, in btrfs_fallocate() 3497 unlock_extent_cached(&BTRFS_I(inode)->io_tree, in btrfs_fallocate() [all …]
|
A D | extent_io.c | 2270 struct extent_io_tree *io_tree, in free_io_failure() argument 2283 ret = clear_extent_bits(io_tree, rec->start, in free_io_failure() 2440 spin_lock(&io_tree->lock); in clean_io_failure() 2441 state = find_first_extent_bit_state(io_tree, in clean_io_failure() 2444 spin_unlock(&io_tree->lock); in clean_io_failure() 2781 set_extent_uptodate(&BTRFS_I(inode)->io_tree, in submit_read_repair() 2924 tree = &processed->inode->io_tree; in endio_readpage_release_extent() 3024 tree = &BTRFS_I(inode)->io_tree; in end_bio_extent_readpage() 3329 bio->bi_private = &inode->io_tree; in alloc_new_bio() 6535 struct extent_io_tree *io_tree; in read_extent_buffer_subpage() local [all …]
|
A D | extent-io-tree.h | 260 struct extent_io_tree *io_tree, 264 struct extent_io_tree *io_tree, u64 start,
|
A D | relocation.c | 1121 ret = try_lock_extent(&BTRFS_I(inode)->io_tree, in replace_file_extents() 1128 unlock_extent(&BTRFS_I(inode)->io_tree, in replace_file_extents() 1566 lock_extent(&BTRFS_I(inode)->io_tree, start, end); in invalidate_extent_cache() 1568 unlock_extent(&BTRFS_I(inode)->io_tree, start, end); in invalidate_extent_cache() 2838 clear_extent_bits(&inode->io_tree, i_size, in prealloc_file_extent_cluster() 2868 lock_extent(&inode->io_tree, start, end); in prealloc_file_extent_cluster() 2874 unlock_extent(&inode->io_tree, start, end); in prealloc_file_extent_cluster() 2903 lock_extent(&BTRFS_I(inode)->io_tree, start, end); in setup_relocation_extent_mapping() 2914 unlock_extent(&BTRFS_I(inode)->io_tree, start, end); in setup_relocation_extent_mapping() 3007 clear_extent_bits(&BTRFS_I(inode)->io_tree, in relocate_one_page() [all …]
|
A D | btrfs_inode.h | 85 struct extent_io_tree io_tree; member
|
A D | disk-io.c | 238 static int verify_parent_transid(struct extent_io_tree *io_tree, in verify_parent_transid() argument 251 lock_extent_bits(io_tree, eb->start, eb->start + eb->len - 1, in verify_parent_transid() 265 unlock_extent_cached(io_tree, eb->start, eb->start + eb->len - 1, in verify_parent_transid() 382 struct extent_io_tree *io_tree; in btree_read_extent_buffer_pages() local 389 io_tree = &BTRFS_I(fs_info->btree_inode)->io_tree; in btree_read_extent_buffer_pages() 394 if (verify_parent_transid(io_tree, eb, in btree_read_extent_buffer_pages() 1013 tree = &BTRFS_I(page->mapping->host)->io_tree; in btree_invalidatepage() 2264 extent_io_tree_init(fs_info, &BTRFS_I(inode)->io_tree, in btrfs_init_btree_inode() 2266 BTRFS_I(inode)->io_tree.track_uptodate = false; in btrfs_init_btree_inode() 4480 ret = verify_parent_transid(&BTRFS_I(btree_inode)->io_tree, buf, in btrfs_buffer_uptodate()
|
A D | file-item.c | 368 struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; in btrfs_lookup_bio_sums() local 479 set_extent_bits(io_tree, file_offset, in btrfs_lookup_bio_sums()
|
A D | ioctl.c | 996 struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; in defrag_lookup_extent() local 1014 lock_extent_bits(io_tree, start, end, &cached); in defrag_lookup_extent() 1017 unlock_extent_cached(io_tree, start, end, &cached); in defrag_lookup_extent() 1100 lock_extent_bits(&inode->io_tree, page_start, page_end, &cached_state); in defrag_prepare_one_page() 1102 unlock_extent_cached(&inode->io_tree, page_start, page_end, in defrag_prepare_one_page() 1303 clear_extent_bit(&inode->io_tree, start, start + len - 1, in defrag_one_locked_target() 1306 set_extent_defrag(&inode->io_tree, start, start + len - 1, cached_state); in defrag_one_locked_target() 1354 lock_extent_bits(&inode->io_tree, start_index << PAGE_SHIFT, in defrag_one_range() 1382 unlock_extent_cached(&inode->io_tree, start_index << PAGE_SHIFT, in defrag_one_range()
|
A D | ordered-data.c | 1029 lock_extent_bits(&inode->io_tree, start, end, cachedp); in btrfs_lock_and_flush_ordered_range() 1042 unlock_extent_cached(&inode->io_tree, start, end, cachedp); in btrfs_lock_and_flush_ordered_range()
|
A D | free-space-cache.c | 1108 clear_extent_bit(&BTRFS_I(inode)->io_tree, 0, inode->i_size - 1, in update_cache_item() 1120 clear_extent_bit(&BTRFS_I(inode)->io_tree, 0, in update_cache_item() 1217 clear_extent_bit(&BTRFS_I(inode)->io_tree, 0, inode->i_size - 1, in flush_dirty_cache() 1238 unlock_extent_cached(&BTRFS_I(inode)->io_tree, 0, in cleanup_write_cache_enospc() 1364 lock_extent_bits(&BTRFS_I(inode)->io_tree, 0, i_size_read(inode) - 1, in __btrfs_write_out_cache() 1420 unlock_extent_cached(&BTRFS_I(inode)->io_tree, 0, in __btrfs_write_out_cache()
|
A D | qgroup.c | 3530 clear_ret = clear_extent_bits(&inode->io_tree, entry_start, in qgroup_unreserve_range() 3631 ret = set_record_extent_bits(&inode->io_tree, start, in qgroup_reserve_data() 3724 ret = clear_record_extent_bits(&inode->io_tree, free_start, in qgroup_free_reserved_data() 3755 ret = clear_record_extent_bits(&inode->io_tree, start, start + len -1, in __btrfs_qgroup_release_data() 4001 ret = clear_record_extent_bits(&inode->io_tree, 0, (u64)-1, in btrfs_qgroup_check_reserved_leak()
|
A D | compression.c | 667 tree = &BTRFS_I(inode)->io_tree; in add_ra_bio_pages()
|
/linux/fs/btrfs/tests/ |
A D | inode-tests.c | 974 ret = clear_extent_bit(&BTRFS_I(inode)->io_tree, in test_extent_accounting() 1042 ret = clear_extent_bit(&BTRFS_I(inode)->io_tree, in test_extent_accounting() 1077 ret = clear_extent_bit(&BTRFS_I(inode)->io_tree, 0, (u64)-1, in test_extent_accounting() 1093 clear_extent_bit(&BTRFS_I(inode)->io_tree, 0, (u64)-1, in test_extent_accounting()
|
A D | extent-io-tests.c | 80 tmp = &BTRFS_I(inode)->io_tree; in test_find_delalloc()
|