io_tree 56 fs/btrfs/btrfs_inode.h struct extent_io_tree io_tree; io_tree 448 fs/btrfs/compression.c tree = &BTRFS_I(inode)->io_tree; io_tree 301 fs/btrfs/disk-io.c static int verify_parent_transid(struct extent_io_tree *io_tree, io_tree 320 fs/btrfs/disk-io.c lock_extent_bits(io_tree, eb->start, eb->start + eb->len - 1, io_tree 344 fs/btrfs/disk-io.c unlock_extent_cached(io_tree, eb->start, eb->start + eb->len - 1, io_tree 462 fs/btrfs/disk-io.c struct extent_io_tree *io_tree; io_tree 469 fs/btrfs/disk-io.c io_tree = &BTRFS_I(fs_info->btree_inode)->io_tree; io_tree 474 fs/btrfs/disk-io.c if (verify_parent_transid(io_tree, eb, io_tree 968 fs/btrfs/disk-io.c tree = &BTRFS_I(page->mapping->host)->io_tree; io_tree 984 fs/btrfs/disk-io.c tree = &BTRFS_I(page->mapping->host)->io_tree; io_tree 2105 fs/btrfs/disk-io.c extent_io_tree_init(fs_info, &BTRFS_I(inode)->io_tree, io_tree 2107 fs/btrfs/disk-io.c BTRFS_I(inode)->io_tree.track_uptodate = false; io_tree 2110 fs/btrfs/disk-io.c BTRFS_I(inode)->io_tree.ops = &btree_extent_io_ops; io_tree 4117 fs/btrfs/disk-io.c ret = verify_parent_transid(&BTRFS_I(btree_inode)->io_tree, buf, io_tree 1790 fs/btrfs/extent_io.c struct extent_io_tree *tree = &BTRFS_I(inode)->io_tree; io_tree 1949 fs/btrfs/extent_io.c clear_extent_bit(&BTRFS_I(inode)->io_tree, start, end, clear_bits, 1, 0, io_tree 2146 fs/btrfs/extent_io.c struct extent_io_tree *io_tree, io_tree 2159 fs/btrfs/extent_io.c ret = clear_extent_bits(io_tree, rec->start, io_tree 2289 fs/btrfs/extent_io.c struct extent_io_tree *io_tree, u64 start, io_tree 2320 fs/btrfs/extent_io.c spin_lock(&io_tree->lock); io_tree 2321 fs/btrfs/extent_io.c state = find_first_extent_bit_state(io_tree, io_tree 2324 fs/btrfs/extent_io.c spin_unlock(&io_tree->lock); io_tree 2338 fs/btrfs/extent_io.c free_io_failure(failure_tree, io_tree, failrec); io_tree 2384 fs/btrfs/extent_io.c struct extent_io_tree *tree = &BTRFS_I(inode)->io_tree; io_tree 2573 fs/btrfs/extent_io.c struct extent_io_tree *tree = &BTRFS_I(inode)->io_tree; io_tree 2735 fs/btrfs/extent_io.c tree = &BTRFS_I(inode)->io_tree; io_tree 3857 fs/btrfs/extent_io.c struct extent_io_tree *tree = &BTRFS_I(fs_info->btree_inode)->io_tree; io_tree 3923 fs/btrfs/extent_io.c struct extent_io_tree *tree = &BTRFS_I(mapping->host)->io_tree; io_tree 4249 fs/btrfs/extent_io.c .tree = &BTRFS_I(page->mapping->host)->io_tree, io_tree 4271 fs/btrfs/extent_io.c struct extent_io_tree *tree = &BTRFS_I(inode)->io_tree; io_tree 4317 fs/btrfs/extent_io.c .tree = &BTRFS_I(mapping->host)->io_tree, io_tree 4339 fs/btrfs/extent_io.c struct extent_io_tree *tree = &BTRFS_I(mapping->host)->io_tree; io_tree 4449 fs/btrfs/extent_io.c struct extent_io_tree *tree = &btrfs_inode->io_tree; io_tree 4724 fs/btrfs/extent_io.c lock_extent_bits(&BTRFS_I(inode)->io_tree, start, start + len - 1, io_tree 4838 fs/btrfs/extent_io.c unlock_extent_cached(&BTRFS_I(inode)->io_tree, start, start + len - 1, io_tree 5459 fs/btrfs/extent_io.c struct extent_io_tree *tree = &BTRFS_I(eb->fs_info->btree_inode)->io_tree; io_tree 513 fs/btrfs/extent_io.h struct extent_io_tree *io_tree, u64 start, io_tree 549 fs/btrfs/extent_io.h struct extent_io_tree *io_tree, io_tree 159 fs/btrfs/file-item.c struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; io_tree 237 fs/btrfs/file-item.c set_extent_bits(io_tree, offset, io_tree 494 fs/btrfs/file.c ret = set_extent_bit(&inode->io_tree, search_start, io_tree 539 fs/btrfs/file.c clear_extent_bit(&BTRFS_I(inode)->io_tree, start_pos, end_of_last_block, io_tree 1501 fs/btrfs/file.c lock_extent_bits(&inode->io_tree, start_pos, last_pos, io_tree 1508 fs/btrfs/file.c unlock_extent_cached(&inode->io_tree, start_pos, io_tree 1566 fs/btrfs/file.c btrfs_lock_and_flush_ordered_range(&inode->io_tree, inode, lockstart, io_tree 1580 fs/btrfs/file.c unlock_extent(&inode->io_tree, lockstart, lockend); io_tree 1771 fs/btrfs/file.c unlock_extent_cached(&BTRFS_I(inode)->io_tree, io_tree 1792 fs/btrfs/file.c set_extent_bit(&BTRFS_I(inode)->io_tree, lockstart, io_tree 2433 fs/btrfs/file.c lock_extent_bits(&BTRFS_I(inode)->io_tree, lockstart, lockend, io_tree 2453 fs/btrfs/file.c unlock_extent_cached(&BTRFS_I(inode)->io_tree, lockstart, io_tree 2863 fs/btrfs/file.c unlock_extent_cached(&BTRFS_I(inode)->io_tree, lockstart, lockend, io_tree 3145 fs/btrfs/file.c unlock_extent_cached(&BTRFS_I(inode)->io_tree, lockstart, io_tree 3260 fs/btrfs/file.c lock_extent_bits(&BTRFS_I(inode)->io_tree, alloc_start, io_tree 3268 fs/btrfs/file.c unlock_extent_cached(&BTRFS_I(inode)->io_tree, io_tree 3353 fs/btrfs/file.c unlock_extent_cached(&BTRFS_I(inode)->io_tree, alloc_start, locked_end, io_tree 3393 fs/btrfs/file.c lock_extent_bits(&BTRFS_I(inode)->io_tree, lockstart, lockend, io_tree 3425 fs/btrfs/file.c unlock_extent_cached(&BTRFS_I(inode)->io_tree, lockstart, lockend, io_tree 1014 fs/btrfs/free-space-cache.c clear_extent_bit(&BTRFS_I(inode)->io_tree, 0, inode->i_size - 1, io_tree 1026 fs/btrfs/free-space-cache.c clear_extent_bit(&BTRFS_I(inode)->io_tree, 0, io_tree 1123 fs/btrfs/free-space-cache.c clear_extent_bit(&BTRFS_I(inode)->io_tree, 0, inode->i_size - 1, io_tree 1144 fs/btrfs/free-space-cache.c unlock_extent_cached(&BTRFS_I(inode)->io_tree, 0, io_tree 1279 fs/btrfs/free-space-cache.c lock_extent_bits(&BTRFS_I(inode)->io_tree, 0, i_size_read(inode) - 1, io_tree 1333 fs/btrfs/free-space-cache.c unlock_extent_cached(&BTRFS_I(inode)->io_tree, 0, io_tree 145 fs/btrfs/inode.c BTRFS_I(inode)->io_tree.ops = &btrfs_extent_io_ops; io_tree 762 fs/btrfs/inode.c struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; io_tree 772 fs/btrfs/inode.c lock_extent(io_tree, async_extent->start, io_tree 815 fs/btrfs/inode.c unlock_extent(io_tree, async_extent->start, io_tree 1224 fs/btrfs/inode.c unlock_extent(&BTRFS_I(inode)->io_tree, start, end); io_tree 1698 fs/btrfs/inode.c test_range_bit(&BTRFS_I(inode)->io_tree, start, end, io_tree 2164 fs/btrfs/inode.c return set_extent_delalloc(&BTRFS_I(inode)->io_tree, start, end, io_tree 2244 fs/btrfs/inode.c lock_extent_bits(&BTRFS_I(inode)->io_tree, page_start, page_end, io_tree 2254 fs/btrfs/inode.c unlock_extent_cached(&BTRFS_I(inode)->io_tree, page_start, io_tree 2281 fs/btrfs/inode.c unlock_extent_cached(&BTRFS_I(inode)->io_tree, page_start, page_end, io_tree 2778 fs/btrfs/inode.c lock_extent_bits(&BTRFS_I(inode)->io_tree, lock_start, lock_end, io_tree 2907 fs/btrfs/inode.c unlock_extent_cached(&BTRFS_I(inode)->io_tree, lock_start, lock_end, io_tree 3113 fs/btrfs/inode.c struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; io_tree 3178 fs/btrfs/inode.c lock_extent_bits(io_tree, ordered_extent->file_offset, io_tree 3182 fs/btrfs/inode.c ret = test_range_bit(io_tree, ordered_extent->file_offset, io_tree 3191 fs/btrfs/inode.c clear_extent_bit(io_tree, ordered_extent->file_offset, io_tree 3263 fs/btrfs/inode.c clear_extent_bit(&BTRFS_I(inode)->io_tree, io_tree 3283 fs/btrfs/inode.c clear_extent_uptodate(io_tree, start, end, NULL); io_tree 3409 fs/btrfs/inode.c struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; io_tree 3421 fs/btrfs/inode.c test_range_bit(io_tree, start, end, EXTENT_NODATASUM, 1, NULL)) { io_tree 3422 fs/btrfs/inode.c clear_extent_bits(io_tree, start, end, EXTENT_NODATASUM); io_tree 3957 fs/btrfs/inode.c BTRFS_I(inode)->io_tree.ops = &btrfs_extent_io_ops; io_tree 4756 fs/btrfs/inode.c lock_extent_bits(&BTRFS_I(inode)->io_tree, lock_start, (u64)-1, io_tree 5021 fs/btrfs/inode.c unlock_extent_cached(&BTRFS_I(inode)->io_tree, lock_start, io_tree 5045 fs/btrfs/inode.c struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; io_tree 5096 fs/btrfs/inode.c lock_extent_bits(io_tree, block_start, block_end, &cached_state); io_tree 5101 fs/btrfs/inode.c unlock_extent_cached(io_tree, block_start, block_end, io_tree 5110 fs/btrfs/inode.c clear_extent_bit(&BTRFS_I(inode)->io_tree, block_start, block_end, io_tree 5117 fs/btrfs/inode.c unlock_extent_cached(io_tree, block_start, block_end, io_tree 5137 fs/btrfs/inode.c unlock_extent_cached(io_tree, block_start, block_end, &cached_state); io_tree 5205 fs/btrfs/inode.c struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; io_tree 5228 fs/btrfs/inode.c btrfs_lock_and_flush_ordered_range(io_tree, BTRFS_I(inode), hole_start, io_tree 5290 fs/btrfs/inode.c unlock_extent_cached(io_tree, hole_start, block_end - 1, &cached_state); io_tree 5426 fs/btrfs/inode.c struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; io_tree 5467 fs/btrfs/inode.c spin_lock(&io_tree->lock); io_tree 5468 fs/btrfs/inode.c while (!RB_EMPTY_ROOT(&io_tree->state)) { io_tree 5475 fs/btrfs/inode.c node = rb_first(&io_tree->state); io_tree 5480 fs/btrfs/inode.c spin_unlock(&io_tree->lock); io_tree 5482 fs/btrfs/inode.c lock_extent_bits(io_tree, start, end, &cached_state); io_tree 5495 fs/btrfs/inode.c clear_extent_bit(io_tree, start, end, io_tree 5501 fs/btrfs/inode.c spin_lock(&io_tree->lock); io_tree 5503 fs/btrfs/inode.c spin_unlock(&io_tree->lock); io_tree 6803 fs/btrfs/inode.c BTRFS_I(inode)->io_tree.ops = &btrfs_extent_io_ops; io_tree 7036 fs/btrfs/inode.c struct extent_io_tree *io_tree = &inode->io_tree; io_tree 7212 fs/btrfs/inode.c set_extent_uptodate(io_tree, em->start, io_tree 7284 fs/btrfs/inode.c delalloc_len = count_range_bits(&inode->io_tree, &delalloc_start, io_tree 7453 fs/btrfs/inode.c struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; io_tree 7545 fs/btrfs/inode.c ret = test_range_bit(io_tree, offset, range_end, io_tree 7595 fs/btrfs/inode.c lock_extent_bits(&BTRFS_I(inode)->io_tree, lockstart, lockend, io_tree 7617 fs/btrfs/inode.c unlock_extent_cached(&BTRFS_I(inode)->io_tree, lockstart, lockend, io_tree 7918 fs/btrfs/inode.c unlock_extent_cached(&BTRFS_I(inode)->io_tree, lockstart, io_tree 7935 fs/btrfs/inode.c unlock_extent_cached(&BTRFS_I(inode)->io_tree, io_tree 7947 fs/btrfs/inode.c unlock_extent_cached(&BTRFS_I(inode)->io_tree, lockstart, lockend, io_tree 8015 fs/btrfs/inode.c struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; io_tree 8034 fs/btrfs/inode.c free_io_failure(failure_tree, io_tree, failrec); io_tree 8056 fs/btrfs/inode.c free_io_failure(failure_tree, io_tree, failrec); io_tree 8075 fs/btrfs/inode.c struct extent_io_tree *io_tree, *failure_tree; io_tree 8082 fs/btrfs/inode.c io_tree = &BTRFS_I(inode)->io_tree; io_tree 8090 fs/btrfs/inode.c io_tree, done->start, bvec->bv_page, io_tree 8161 fs/btrfs/inode.c struct extent_io_tree *io_tree, *failure_tree; io_tree 8177 fs/btrfs/inode.c io_tree = &BTRFS_I(inode)->io_tree; io_tree 8187 fs/btrfs/inode.c failure_tree, io_tree, done->start, io_tree 8302 fs/btrfs/inode.c unlock_extent(&BTRFS_I(inode)->io_tree, dip->logical_offset, io_tree 8686 fs/btrfs/inode.c unlock_extent(&BTRFS_I(inode)->io_tree, file_offset, io_tree 8858 fs/btrfs/inode.c tree = &BTRFS_I(page->mapping->host)->io_tree; io_tree 8940 fs/btrfs/inode.c tree = &BTRFS_I(inode)->io_tree; io_tree 9051 fs/btrfs/inode.c struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; io_tree 9106 fs/btrfs/inode.c lock_extent_bits(io_tree, page_start, page_end, &cached_state); io_tree 9116 fs/btrfs/inode.c unlock_extent_cached(io_tree, page_start, page_end, io_tree 9142 fs/btrfs/inode.c clear_extent_bit(&BTRFS_I(inode)->io_tree, page_start, end, io_tree 9149 fs/btrfs/inode.c unlock_extent_cached(io_tree, page_start, page_end, io_tree 9176 fs/btrfs/inode.c unlock_extent_cached(io_tree, page_start, page_end, &cached_state); io_tree 9421 fs/btrfs/inode.c extent_io_tree_init(fs_info, &ei->io_tree, IO_TREE_INODE_IO, inode); io_tree 9424 fs/btrfs/inode.c ei->io_tree.track_uptodate = true; io_tree 10403 fs/btrfs/inode.c BTRFS_I(inode)->io_tree.ops = &btrfs_extent_io_ops; io_tree 10680 fs/btrfs/inode.c BTRFS_I(inode)->io_tree.ops = &btrfs_extent_io_ops; io_tree 10849 fs/btrfs/inode.c struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; io_tree 10909 fs/btrfs/inode.c lock_extent_bits(io_tree, 0, isize - 1, &cached_state); io_tree 11035 fs/btrfs/inode.c unlock_extent_cached(io_tree, 0, isize - 1, &cached_state); io_tree 1020 fs/btrfs/ioctl.c struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; io_tree 1037 fs/btrfs/ioctl.c end = count_range_bits(io_tree, &offset, offset + thresh, io_tree 1114 fs/btrfs/ioctl.c struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; io_tree 1131 fs/btrfs/ioctl.c lock_extent_bits(io_tree, start, end, &cached); io_tree 1133 fs/btrfs/ioctl.c unlock_extent_cached(io_tree, start, end, &cached); io_tree 1265 fs/btrfs/ioctl.c tree = &BTRFS_I(inode)->io_tree; io_tree 1339 fs/btrfs/ioctl.c lock_extent_bits(&BTRFS_I(inode)->io_tree, io_tree 1341 fs/btrfs/ioctl.c clear_extent_bit(&BTRFS_I(inode)->io_tree, page_start, io_tree 1355 fs/btrfs/ioctl.c set_extent_defrag(&BTRFS_I(inode)->io_tree, page_start, page_end - 1, io_tree 1358 fs/btrfs/ioctl.c unlock_extent_cached(&BTRFS_I(inode)->io_tree, io_tree 3227 fs/btrfs/ioctl.c unlock_extent(&BTRFS_I(inode1)->io_tree, loff1, loff1 + len - 1); io_tree 3228 fs/btrfs/ioctl.c unlock_extent(&BTRFS_I(inode2)->io_tree, loff2, loff2 + len - 1); io_tree 3240 fs/btrfs/ioctl.c lock_extent(&BTRFS_I(inode1)->io_tree, loff1, loff1 + len - 1); io_tree 3241 fs/btrfs/ioctl.c lock_extent(&BTRFS_I(inode2)->io_tree, loff2, loff2 + len - 1); io_tree 3434 fs/btrfs/qgroup.c ret = set_record_extent_bits(&BTRFS_I(inode)->io_tree, start, io_tree 3453 fs/btrfs/qgroup.c clear_extent_bit(&BTRFS_I(inode)->io_tree, unode->val, io_tree 3502 fs/btrfs/qgroup.c ret = clear_record_extent_bits(&BTRFS_I(inode)->io_tree, io_tree 3534 fs/btrfs/qgroup.c ret = clear_record_extent_bits(&BTRFS_I(inode)->io_tree, start, io_tree 3766 fs/btrfs/qgroup.c ret = clear_record_extent_bits(&BTRFS_I(inode)->io_tree, 0, (u64)-1, io_tree 1729 fs/btrfs/relocation.c ret = try_lock_extent(&BTRFS_I(inode)->io_tree, io_tree 1736 fs/btrfs/relocation.c unlock_extent(&BTRFS_I(inode)->io_tree, io_tree 2170 fs/btrfs/relocation.c lock_extent(&BTRFS_I(inode)->io_tree, start, end); io_tree 2172 fs/btrfs/relocation.c unlock_extent(&BTRFS_I(inode)->io_tree, start, end); io_tree 3227 fs/btrfs/relocation.c lock_extent(&BTRFS_I(inode)->io_tree, start, end); io_tree 3236 fs/btrfs/relocation.c unlock_extent(&BTRFS_I(inode)->io_tree, start, end); io_tree 3270 fs/btrfs/relocation.c lock_extent(&BTRFS_I(inode)->io_tree, start, end); io_tree 3281 fs/btrfs/relocation.c unlock_extent(&BTRFS_I(inode)->io_tree, start, end); io_tree 3367 fs/btrfs/relocation.c lock_extent(&BTRFS_I(inode)->io_tree, page_start, page_end); io_tree 3373 fs/btrfs/relocation.c set_extent_bits(&BTRFS_I(inode)->io_tree, io_tree 3389 fs/btrfs/relocation.c clear_extent_bits(&BTRFS_I(inode)->io_tree, io_tree 3397 fs/btrfs/relocation.c unlock_extent(&BTRFS_I(inode)->io_tree, io_tree 80 fs/btrfs/tests/extent-io-tests.c tmp = &BTRFS_I(inode)->io_tree; io_tree 988 fs/btrfs/tests/inode-tests.c ret = clear_extent_bit(&BTRFS_I(inode)->io_tree, io_tree 1055 fs/btrfs/tests/inode-tests.c ret = clear_extent_bit(&BTRFS_I(inode)->io_tree, io_tree 1089 fs/btrfs/tests/inode-tests.c ret = clear_extent_bit(&BTRFS_I(inode)->io_tree, 0, (u64)-1, io_tree 1104 fs/btrfs/tests/inode-tests.c clear_extent_bit(&BTRFS_I(inode)->io_tree, 0, (u64)-1,