Searched refs:map_lookup (Results 1 – 9 of 9) sorted by relevance
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()
52 struct map_lookup *map_lookup; member
81 kfree(em->map_lookup); in free_extent_map()354 struct map_lookup *map = em->map_lookup; in extent_map_device_set_bits()369 struct map_lookup *map = em->map_lookup; in extent_map_device_clear_bits()
3115 struct map_lookup *map; in btrfs_remove_chunk()3130 map = em->map_lookup; in btrfs_remove_chunk()5092 struct map_lookup *map = NULL; in __btrfs_alloc_chunk()5315 em->map_lookup = map; in __btrfs_alloc_chunk()5378 struct map_lookup *map; in btrfs_finish_chunk_alloc()5389 map = em->map_lookup; in btrfs_finish_chunk_alloc()5501 static inline int btrfs_chunk_max_errors(struct map_lookup *map) in btrfs_chunk_max_errors()5511 struct map_lookup *map; in btrfs_chunk_readonly()5520 map = em->map_lookup; in btrfs_chunk_readonly()5568 struct map_lookup *map; in btrfs_num_copies()[all …]
374 struct map_lookup { struct385 #define map_lookup_size(n) (sizeof(struct map_lookup) + \ argument
1145 struct map_lookup *map; in btrfs_start_trans_remove_block_group()1172 map = em->map_lookup; in btrfs_start_trans_remove_block_group()1508 if (flags != (em->map_lookup->type & in find_first_block_group()1515 em->map_lookup->type)); in find_first_block_group()1695 (em->map_lookup->type & BTRFS_BLOCK_GROUP_TYPE_MASK)) { in check_chunk_block_group_mappings()1699 em->map_lookup->type & BTRFS_BLOCK_GROUP_TYPE_MASK, in check_chunk_block_group_mappings()
810 struct map_lookup *map; in btrfs_dev_replace_update_device_in_mapping_tree()819 map = em->map_lookup; in btrfs_dev_replace_update_device_in_mapping_tree()
2470 static int scrub_extent(struct scrub_ctx *sctx, struct map_lookup *map, in scrub_extent()2664 struct map_lookup *map, u64 *offset, in get_raid56_logic_offset()2819 struct map_lookup *map, in scrub_raid56_parity()3044 struct map_lookup *map, in scrub_stripe()3424 struct map_lookup *map; in scrub_chunk()3446 map = em->map_lookup; in scrub_chunk()
11017 if (em->map_lookup->type & BTRFS_BLOCK_GROUP_PROFILE_MASK) { in btrfs_swap_activate()11025 device = em->map_lookup->stripes[0].dev; in btrfs_swap_activate()11031 } else if (device != em->map_lookup->stripes[0].dev) { in btrfs_swap_activate()11037 physical_block_start = (em->map_lookup->stripes[0].physical + in btrfs_swap_activate()