Searched refs:map_tree (Results 1 - 9 of 9) sorted by relevance
/linux-4.1.27/fs/btrfs/ |
H A D | volumes.c | 1379 em_tree = &fs_info->mapping_tree.map_tree; find_next_chunk() 2594 em_tree = &root->fs_info->mapping_tree.map_tree; btrfs_remove_chunk() 4462 em_tree = &extent_root->fs_info->mapping_tree.map_tree; __btrfs_alloc_chunk() 4531 em_tree = &extent_root->fs_info->mapping_tree.map_tree; btrfs_finish_chunk_alloc() 4681 struct btrfs_mapping_tree *map_tree = &root->fs_info->mapping_tree; btrfs_chunk_readonly() local 4686 read_lock(&map_tree->map_tree.lock); btrfs_chunk_readonly() 4687 em = lookup_extent_mapping(&map_tree->map_tree, chunk_offset, 1); btrfs_chunk_readonly() 4688 read_unlock(&map_tree->map_tree.lock); btrfs_chunk_readonly() 4719 extent_map_tree_init(&tree->map_tree); btrfs_mapping_init() 4727 write_lock(&tree->map_tree.lock); btrfs_mapping_tree_free() 4728 em = lookup_extent_mapping(&tree->map_tree, 0, (u64)-1); btrfs_mapping_tree_free() 4730 remove_extent_mapping(&tree->map_tree, em); btrfs_mapping_tree_free() 4731 write_unlock(&tree->map_tree.lock); btrfs_mapping_tree_free() 4743 struct btrfs_mapping_tree *map_tree = &fs_info->mapping_tree; btrfs_num_copies() local 4746 struct extent_map_tree *em_tree = &map_tree->map_tree; btrfs_num_copies() 4794 struct btrfs_mapping_tree *map_tree, btrfs_full_stripe_len() 4799 struct extent_map_tree *em_tree = &map_tree->map_tree; btrfs_full_stripe_len() 4815 int btrfs_is_parity_mirror(struct btrfs_mapping_tree *map_tree, btrfs_is_parity_mirror() argument 4820 struct extent_map_tree *em_tree = &map_tree->map_tree; btrfs_is_parity_mirror() 4949 struct btrfs_mapping_tree *map_tree = &fs_info->mapping_tree; __btrfs_map_block() local 4950 struct extent_map_tree *em_tree = &map_tree->map_tree; __btrfs_map_block() 5502 int btrfs_rmap_block(struct btrfs_mapping_tree *map_tree, btrfs_rmap_block() argument 5506 struct extent_map_tree *em_tree = &map_tree->map_tree; btrfs_rmap_block() 6010 struct btrfs_mapping_tree *map_tree = &root->fs_info->mapping_tree; read_one_chunk() local 6024 read_lock(&map_tree->map_tree.lock); read_one_chunk() 6025 em = lookup_extent_mapping(&map_tree->map_tree, logical, 1); read_one_chunk() 6026 read_unlock(&map_tree->map_tree.lock); read_one_chunk() 6086 write_lock(&map_tree->map_tree.lock); read_one_chunk() 6087 ret = add_extent_mapping(&map_tree->map_tree, em, 0); read_one_chunk() 6088 write_unlock(&map_tree->map_tree.lock); read_one_chunk() 4793 btrfs_full_stripe_len(struct btrfs_root *root, struct btrfs_mapping_tree *map_tree, u64 logical) btrfs_full_stripe_len() argument
|
H A D | volumes.h | 416 int btrfs_rmap_block(struct btrfs_mapping_tree *map_tree, 479 int btrfs_is_parity_mirror(struct btrfs_mapping_tree *map_tree, 482 struct btrfs_mapping_tree *map_tree,
|
H A D | scrub.c | 3328 struct btrfs_mapping_tree *map_tree = scrub_chunk() local 3335 read_lock(&map_tree->map_tree.lock); scrub_chunk() 3336 em = lookup_extent_mapping(&map_tree->map_tree, chunk_offset, 1); scrub_chunk() 3337 read_unlock(&map_tree->map_tree.lock); scrub_chunk()
|
H A D | dev-replace.c | 605 struct extent_map_tree *em_tree = &fs_info->mapping_tree.map_tree; btrfs_dev_replace_update_device_in_mapping_tree()
|
H A D | inode.c | 5015 struct extent_map_tree *map_tree = &BTRFS_I(inode)->extent_tree; evict_inode_truncate_pages() local 5021 write_lock(&map_tree->lock); evict_inode_truncate_pages() 5022 while (!RB_EMPTY_ROOT(&map_tree->map)) { evict_inode_truncate_pages() 5025 node = rb_first(&map_tree->map); evict_inode_truncate_pages() 5029 remove_extent_mapping(map_tree, em); evict_inode_truncate_pages() 5032 write_unlock(&map_tree->lock); evict_inode_truncate_pages() 5034 write_lock(&map_tree->lock); evict_inode_truncate_pages() 5037 write_unlock(&map_tree->lock); evict_inode_truncate_pages()
|
H A D | extent_io.c | 2035 struct btrfs_mapping_tree *map_tree = &fs_info->mapping_tree; repair_io_failure() local 2042 if (btrfs_is_parity_mirror(map_tree, logical, length, mirror_num)) repair_io_failure()
|
H A D | free-space-cache.c | 3307 em_tree = &block_group->fs_info->mapping_tree.map_tree; btrfs_trim_block_group()
|
H A D | ctree.h | 233 struct extent_map_tree map_tree; member in struct:btrfs_mapping_tree
|
H A D | extent-tree.c | 9880 em_tree = &root->fs_info->mapping_tree.map_tree; btrfs_remove_block_group()
|
Completed in 368 milliseconds