Home
last modified time | relevance | path

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

/linux/fs/btrfs/tests/
H A Dinode-tests.c953 ret = btrfs_clear_extent_bit(&BTRFS_I(inode)->io_tree, in test_extent_accounting()
1020 ret = btrfs_clear_extent_bit(&BTRFS_I(inode)->io_tree, in test_extent_accounting()
1054 ret = btrfs_clear_extent_bit(&BTRFS_I(inode)->io_tree, 0, (u64)-1, in test_extent_accounting()
1069 btrfs_clear_extent_bit(&BTRFS_I(inode)->io_tree, 0, (u64)-1, in test_extent_accounting()
/linux/fs/btrfs/
H A Drelocation.c926 ret = btrfs_try_lock_extent(&inode->io_tree, key.offset, in replace_file_extents()
934 btrfs_unlock_extent(&inode->io_tree, key.offset, end, in replace_file_extents()
1394 btrfs_lock_extent(&inode->io_tree, start, end, &cached_state); in invalidate_extent_cache()
1396 btrfs_unlock_extent(&inode->io_tree, start, end, &cached_state); in invalidate_extent_cache()
2708 btrfs_lock_extent(&inode->io_tree, start, end, &cached_state); in prealloc_file_extent_cluster()
2714 btrfs_unlock_extent(&inode->io_tree, start, end, &cached_state); in prealloc_file_extent_cluster()
2747 btrfs_lock_extent(&inode->io_tree, start, end, &cached_state); in setup_relocation_extent_mapping()
2749 btrfs_unlock_extent(&inode->io_tree, start, end, &cached_state); in setup_relocation_extent_mapping()
2872 btrfs_lock_extent(&BTRFS_I(inode)->io_tree, clamped_start, in relocate_one_folio()
2877 btrfs_clear_extent_bit(&BTRFS_I(inode)->io_tree, in relocate_one_folio()
[all …]
H A Dextent_io.c374 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()
1287 btrfs_lock_extent(&inode->io_tree, start, end, cached_state); in lock_extents_for_read()
1310 btrfs_unlock_extent(&inode->io_tree, start, end, cached_state); in lock_extents_for_read()
1333 btrfs_unlock_extent(&inode->io_tree, start, end, &cached_state); in btrfs_read_folio()
1521 btrfs_unlock_extent(&inode->io_tree, found_start, in writepage_delalloc()
2710 btrfs_unlock_extent(&inode->io_tree, start, end, &cached_state); in btrfs_readahead()
2806 struct extent_io_tree *io_tree = &inode->io_tree; in try_release_extent_mapping() local
2825 if (btrfs_test_range_bit_exists(io_tree, em->start, in try_release_extent_mapping()
2875 return try_release_extent_state(io_tree, folio); in try_release_extent_mapping()
H A Dfiemap.c664 btrfs_lock_extent(&inode->io_tree, range_start, range_end, &cached_state); in extent_fiemap()
844 btrfs_unlock_extent(&inode->io_tree, range_start, range_end, &cached_state); in extent_fiemap()
H A Dioctl.c4349 struct extent_io_tree *io_tree = &inode->io_tree; in btrfs_ioctl_encoded_read() local
4431 btrfs_unlock_extent(io_tree, start, lockend, &cached_state); in btrfs_ioctl_encoded_read()
4591 struct extent_io_tree *io_tree = &inode->io_tree; in btrfs_uring_read_finished() local
4629 btrfs_unlock_extent(io_tree, priv->start, priv->lockend, &priv->cached_state); in btrfs_uring_read_finished()
4663 struct extent_io_tree *io_tree = &inode->io_tree; in btrfs_uring_read_extent() local
4719 btrfs_unlock_extent(io_tree, start, lockend, &cached_state); in btrfs_uring_read_extent()
4729 struct extent_io_tree *io_tree = &inode->io_tree; in btrfs_uring_encoded_read() local
4838 btrfs_unlock_extent(io_tree, start, lockend, &cached_state); in btrfs_uring_encoded_read()
H A Dextent_map.c1057 btrfs_lock_extent(&inode->io_tree, start, start + len - 1, NULL); in btrfs_split_extent_map()
1110 btrfs_unlock_extent(&inode->io_tree, start, start + len - 1, NULL); in btrfs_split_extent_map()
H A Dcompression.c428 tree = &BTRFS_I(inode)->io_tree; in add_ra_bio_pages()