Searched refs:map_tree (Results 1 – 9 of 9) sorted by relevance
/fs/btrfs/ |
D | volumes.c | 1616 em_tree = &fs_info->mapping_tree.map_tree; in find_next_chunk() 2817 em_tree = &root->fs_info->mapping_tree.map_tree; in btrfs_remove_chunk() 4848 em_tree = &extent_root->fs_info->mapping_tree.map_tree; in __btrfs_alloc_chunk() 4917 em_tree = &extent_root->fs_info->mapping_tree.map_tree; in btrfs_finish_chunk_alloc() 5081 struct btrfs_mapping_tree *map_tree = &root->fs_info->mapping_tree; in btrfs_chunk_readonly() local 5086 read_lock(&map_tree->map_tree.lock); in btrfs_chunk_readonly() 5087 em = lookup_extent_mapping(&map_tree->map_tree, chunk_offset, 1); in btrfs_chunk_readonly() 5088 read_unlock(&map_tree->map_tree.lock); in btrfs_chunk_readonly() 5119 extent_map_tree_init(&tree->map_tree); in btrfs_mapping_init() 5127 write_lock(&tree->map_tree.lock); in btrfs_mapping_tree_free() [all …]
|
D | volumes.h | 456 int btrfs_is_parity_mirror(struct btrfs_mapping_tree *map_tree, 459 struct btrfs_mapping_tree *map_tree,
|
D | scrub.c | 3445 struct btrfs_mapping_tree *map_tree = in scrub_chunk() local 3452 read_lock(&map_tree->map_tree.lock); in scrub_chunk() 3453 em = lookup_extent_mapping(&map_tree->map_tree, chunk_offset, 1); in scrub_chunk() 3454 read_unlock(&map_tree->map_tree.lock); in scrub_chunk()
|
D | dev-replace.c | 618 struct extent_map_tree *em_tree = &fs_info->mapping_tree.map_tree; in btrfs_dev_replace_update_device_in_mapping_tree()
|
D | inode.c | 5144 struct extent_map_tree *map_tree = &BTRFS_I(inode)->extent_tree; in evict_inode_truncate_pages() local 5150 write_lock(&map_tree->lock); in evict_inode_truncate_pages() 5151 while (!RB_EMPTY_ROOT(&map_tree->map)) { in evict_inode_truncate_pages() 5154 node = rb_first(&map_tree->map); in evict_inode_truncate_pages() 5158 remove_extent_mapping(map_tree, em); in evict_inode_truncate_pages() 5161 write_unlock(&map_tree->lock); in evict_inode_truncate_pages() 5163 write_lock(&map_tree->lock); in evict_inode_truncate_pages() 5166 write_unlock(&map_tree->lock); in evict_inode_truncate_pages()
|
D | extent_io.c | 2010 struct btrfs_mapping_tree *map_tree = &fs_info->mapping_tree; in repair_io_failure() local 2017 if (btrfs_is_parity_mirror(map_tree, logical, length, mirror_num)) in repair_io_failure()
|
D | extent-tree.c | 9903 em_tree = &root->fs_info->mapping_tree.map_tree; in find_first_block_group() 10742 em_tree = &root->fs_info->mapping_tree.map_tree; in btrfs_remove_block_group() 10780 struct extent_map_tree *em_tree = &fs_info->mapping_tree.map_tree; in btrfs_start_trans_remove_block_group()
|
D | free-space-cache.c | 3336 em_tree = &block_group->fs_info->mapping_tree.map_tree; in btrfs_put_block_group_trimming()
|
D | ctree.h | 104 struct extent_map_tree map_tree; member
|