Home
last modified time | relevance | path

Searched refs:map_tree (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/fs/btrfs/
Dvolumes.h185 int btrfs_map_block(struct btrfs_mapping_tree *map_tree, int rw,
188 int btrfs_rmap_block(struct btrfs_mapping_tree *map_tree,
211 int btrfs_num_copies(struct btrfs_mapping_tree *map_tree, u64 logical, u64 len);
212 int btrfs_unplug_page(struct btrfs_mapping_tree *map_tree,
Dvolumes.c1838 em_tree = &root->fs_info->mapping_tree.map_tree; in btrfs_relocate_chunk()
2623 em_tree = &extent_root->fs_info->mapping_tree.map_tree; in __btrfs_alloc_chunk()
2824 struct btrfs_mapping_tree *map_tree = &root->fs_info->mapping_tree; in btrfs_chunk_readonly() local
2828 read_lock(&map_tree->map_tree.lock); in btrfs_chunk_readonly()
2829 em = lookup_extent_mapping(&map_tree->map_tree, chunk_offset, 1); in btrfs_chunk_readonly()
2830 read_unlock(&map_tree->map_tree.lock); in btrfs_chunk_readonly()
2852 extent_map_tree_init(&tree->map_tree, GFP_NOFS); in btrfs_mapping_init()
2860 write_lock(&tree->map_tree.lock); in btrfs_mapping_tree_free()
2861 em = lookup_extent_mapping(&tree->map_tree, 0, (u64)-1); in btrfs_mapping_tree_free()
2863 remove_extent_mapping(&tree->map_tree, em); in btrfs_mapping_tree_free()
[all …]
Dinode.c1390 struct btrfs_mapping_tree *map_tree; in btrfs_merge_bio_hook() local
1400 map_tree = &root->fs_info->mapping_tree; in btrfs_merge_bio_hook()
1402 ret = btrfs_map_block(map_tree, READ, logical, in btrfs_merge_bio_hook()
6026 struct btrfs_mapping_tree *map_tree = &root->fs_info->mapping_tree; in btrfs_submit_direct_hook() local
6041 ret = btrfs_map_block(map_tree, READ, start_sector << 9, in btrfs_submit_direct_hook()
6098 ret = btrfs_map_block(map_tree, READ, start_sector << 9, in btrfs_submit_direct_hook()
Dctree.h187 struct extent_map_tree map_tree; member