Searched refs:map_lookup (Results 1 – 11 of 11) sorted by relevance
81 kfree(em->map_lookup); in free_extent_map()217 if (prev->map_lookup || next->map_lookup) in mergable_maps()223 prev->map_lookup == next->map_lookup && in mergable_maps()358 struct map_lookup *map = em->map_lookup; in extent_map_device_set_bits()373 struct map_lookup *map = em->map_lookup; in extent_map_device_clear_bits()
10 static inline int nr_parity_stripes(const struct map_lookup *map) in nr_parity_stripes()20 static inline int nr_data_stripes(const struct map_lookup *map) in nr_data_stripes()
46 struct map_lookup *map_lookup; member
3086 struct map_lookup *map, u64 chunk_offset) in remove_chunk_item()3112 struct map_lookup *map; in btrfs_remove_chunk()3127 map = em->map_lookup; in btrfs_remove_chunk()5401 struct map_lookup *map = NULL; in create_chunk()5438 em->map_lookup = map; in create_chunk()5566 struct map_lookup *map; in btrfs_chunk_alloc_add_chunk_item()5602 map = em->map_lookup; in btrfs_chunk_alloc_add_chunk_item()5704 static inline int btrfs_chunk_max_errors(struct map_lookup *map) in btrfs_chunk_max_errors()5714 struct map_lookup *map; in btrfs_chunk_readonly()5723 map = em->map_lookup; in btrfs_chunk_readonly()[all …]
1108 struct map_lookup *map; in btrfs_start_trans_remove_block_group()1135 map = em->map_lookup; in btrfs_start_trans_remove_block_group()1670 if (flags != (em->map_lookup->type & BTRFS_BLOCK_GROUP_TYPE_MASK)) { in read_bg_from_eb()1674 (BTRFS_BLOCK_GROUP_TYPE_MASK & em->map_lookup->type)); in read_bg_from_eb()1757 struct map_lookup *map; in btrfs_rmap_block()1769 map = em->map_lookup; in btrfs_rmap_block()1972 (em->map_lookup->type & BTRFS_BLOCK_GROUP_TYPE_MASK)) { in check_chunk_block_group_mappings()1976 em->map_lookup->type & BTRFS_BLOCK_GROUP_TYPE_MASK, in check_chunk_block_group_mappings()2120 struct map_lookup *map; in fill_dummy_bgs()2124 map = em->map_lookup; in fill_dummy_bgs()[all …]
411 struct map_lookup { struct422 #define map_lookup_size(n) (sizeof(struct map_lookup) + \ argument
594 struct map_lookup *map; in btrfs_finish_block_group_to_copy()612 map = em->map_lookup; in btrfs_finish_block_group_to_copy()853 struct map_lookup *map; in btrfs_dev_replace_update_device_in_mapping_tree()862 map = em->map_lookup; in btrfs_dev_replace_update_device_in_mapping_tree()
1114 struct map_lookup *map; in btrfs_load_block_group_zone_info()1145 map = em->map_lookup; in btrfs_load_block_group_zone_info()1613 struct map_lookup *map; in btrfs_zoned_get_device()1619 map = em->map_lookup; in btrfs_zoned_get_device()
2539 static int scrub_extent(struct scrub_ctx *sctx, struct map_lookup *map, in scrub_extent()2738 struct map_lookup *map, u64 *offset, in get_raid56_logic_offset()2893 struct map_lookup *map, in scrub_raid56_parity()3164 struct map_lookup *map, in scrub_stripe()3586 struct map_lookup *map; in scrub_chunk()3608 map = em->map_lookup; in scrub_chunk()
10956 if (em->map_lookup->type & BTRFS_BLOCK_GROUP_PROFILE_MASK) { in btrfs_swap_activate()10964 device = em->map_lookup->stripes[0].dev; in btrfs_swap_activate()10970 } else if (device != em->map_lookup->stripes[0].dev) { in btrfs_swap_activate()10976 physical_block_start = (em->map_lookup->stripes[0].physical + in btrfs_swap_activate()
460 struct map_lookup *map = NULL; in test_rmap_block()484 em->map_lookup = map; in test_rmap_block()