Searched refs:map_tree (Results 1 – 4 of 4) sorted by relevance
| /OK3568_Linux_fs/kernel/fs/btrfs/ |
| H A D | volumes.c | 6648 struct extent_map_tree *map_tree = &fs_info->mapping_tree; in read_one_chunk() local 6673 read_lock(&map_tree->lock); in read_one_chunk() 6674 em = lookup_extent_mapping(map_tree, logical, 1); in read_one_chunk() 6675 read_unlock(&map_tree->lock); in read_one_chunk() 6744 write_lock(&map_tree->lock); in read_one_chunk() 6745 ret = add_extent_mapping(map_tree, em, 0); in read_one_chunk() 6746 write_unlock(&map_tree->lock); in read_one_chunk() 7064 struct extent_map_tree *map_tree = &fs_info->mapping_tree; in btrfs_check_rw_degradable() local 7069 read_lock(&map_tree->lock); in btrfs_check_rw_degradable() 7070 em = lookup_extent_mapping(map_tree, 0, (u64)-1); in btrfs_check_rw_degradable() [all …]
|
| H A D | block-group.c | 1833 struct extent_map_tree *map_tree = &fs_info->mapping_tree; in check_chunk_block_group_mappings() local 1840 read_lock(&map_tree->lock); in check_chunk_block_group_mappings() 1846 em = lookup_extent_mapping(map_tree, start, 1); in check_chunk_block_group_mappings() 1847 read_unlock(&map_tree->lock); in check_chunk_block_group_mappings()
|
| H A D | scrub.c | 3371 struct extent_map_tree *map_tree = &fs_info->mapping_tree; in scrub_chunk() local 3377 read_lock(&map_tree->lock); in scrub_chunk() 3378 em = lookup_extent_mapping(map_tree, chunk_offset, 1); in scrub_chunk() 3379 read_unlock(&map_tree->lock); in scrub_chunk()
|
| H A D | inode.c | 4992 struct extent_map_tree *map_tree = &BTRFS_I(inode)->extent_tree; in evict_inode_truncate_pages() local 4998 write_lock(&map_tree->lock); in evict_inode_truncate_pages() 4999 while (!RB_EMPTY_ROOT(&map_tree->map.rb_root)) { in evict_inode_truncate_pages() 5002 node = rb_first_cached(&map_tree->map); in evict_inode_truncate_pages() 5006 remove_extent_mapping(map_tree, em); in evict_inode_truncate_pages() 5009 write_unlock(&map_tree->lock); in evict_inode_truncate_pages() 5011 write_lock(&map_tree->lock); in evict_inode_truncate_pages() 5014 write_unlock(&map_tree->lock); in evict_inode_truncate_pages()
|