Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/btrfs/
Dvolumes.c6649 struct extent_map_tree *map_tree = &fs_info->mapping_tree; in read_one_chunk() local
6674 read_lock(&map_tree->lock); in read_one_chunk()
6675 em = lookup_extent_mapping(map_tree, logical, 1); in read_one_chunk()
6676 read_unlock(&map_tree->lock); in read_one_chunk()
6745 write_lock(&map_tree->lock); in read_one_chunk()
6746 ret = add_extent_mapping(map_tree, em, 0); in read_one_chunk()
6747 write_unlock(&map_tree->lock); in read_one_chunk()
7065 struct extent_map_tree *map_tree = &fs_info->mapping_tree; in btrfs_check_rw_degradable() local
7070 read_lock(&map_tree->lock); in btrfs_check_rw_degradable()
7071 em = lookup_extent_mapping(map_tree, 0, (u64)-1); in btrfs_check_rw_degradable()
[all …]
Dblock-group.c1833 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()
Dscrub.c3371 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()
Dinode.c4992 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()
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/
Dhispark_taurus.patch57252 + struct btrfs_mapping_tree *map_tree = &fs_info->mapping_tree;
57256 + read_lock(&map_tree->map_tree.lock);
57257 + em = lookup_extent_mapping(&map_tree->map_tree, start, len);
57258 + read_unlock(&map_tree->map_tree.lock);
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/
Dhispark_taurus.patch359582 + struct btrfs_mapping_tree *map_tree = &fs_info->mapping_tree;
359586 + read_lock(&map_tree->map_tree.lock);
359587 + em = lookup_extent_mapping(&map_tree->map_tree, start, len);
359588 + read_unlock(&map_tree->map_tree.lock);