Home
last modified time | relevance | path

Searched refs:btrfs_chunk_map (Results 1 – 14 of 14) sorted by relevance

/linux/fs/btrfs/
H A Dvolumes.h611 struct btrfs_chunk_map { struct
627 #define btrfs_chunk_map_size(n) (sizeof(struct btrfs_chunk_map) + \ argument
630 static inline void btrfs_free_chunk_map(struct btrfs_chunk_map *map) in btrfs_free_chunk_map()
637 DEFINE_FREE(btrfs_free_chunk_map, struct btrfs_chunk_map *, btrfs_free_chunk_map(_T))
777 u64 btrfs_calc_stripe_length(const struct btrfs_chunk_map *map);
781 int btrfs_remove_dev_extents(struct btrfs_trans_handle *trans, struct btrfs_chunk_map *map);
785 struct btrfs_chunk_map *btrfs_alloc_chunk_map(int num_stripes, gfp_t gfp);
786 int btrfs_add_chunk_map(struct btrfs_fs_info *fs_info, struct btrfs_chunk_map *map);
789 struct btrfs_chunk_map *btrfs_find_chunk_map(struct btrfs_fs_info *fs_info,
791 struct btrfs_chunk_map *btrfs_find_chunk_map_nolock(struct btrfs_fs_info *fs_info,
[all …]
H A Dblock-group.h18 struct btrfs_chunk_map;
280 struct btrfs_chunk_map *physical_map;
350 struct btrfs_chunk_map *map);
H A Drelocation.h49 int btrfs_last_identity_remap_gone(struct btrfs_chunk_map *chunk_map,
H A Draid56.h257 static inline int nr_data_stripes(const struct btrfs_chunk_map *map) in nr_data_stripes()
H A Dzoned.c1310 struct btrfs_chunk_map *map, bool new) in btrfs_load_zone_info()
1435 struct btrfs_chunk_map *map, in btrfs_load_block_group_dup()
1500 struct btrfs_chunk_map *map, in btrfs_load_block_group_raid1()
1566 struct btrfs_chunk_map *map, in btrfs_load_block_group_raid0()
1684 struct btrfs_chunk_map *map, in btrfs_load_block_group_raid10()
1837 struct btrfs_chunk_map *map, in btrfs_load_block_group_by_raid_type()
1894 struct btrfs_chunk_map *map; in btrfs_load_block_group_zone_info()
2379 struct btrfs_chunk_map *map; in btrfs_zone_activate()
2517 struct btrfs_chunk_map *map; in do_zone_finish()
3063 struct btrfs_chunk_map *map = block_group->physical_map; in btrfs_check_active_zone_reservation()
[all …]
H A Dscrub.c1437 struct btrfs_chunk_map *map, u64 *offset, in get_raid56_logic_offset()
2118 struct btrfs_chunk_map *map, in scrub_raid56_cached_parity()
2169 struct btrfs_chunk_map *map, in scrub_raid56_parity_stripe()
2368 static u64 simple_stripe_full_stripe_len(const struct btrfs_chunk_map *map) in simple_stripe_full_stripe_len()
2377 static u64 simple_stripe_get_logical(struct btrfs_chunk_map *map, in simple_stripe_get_logical()
2394 static int simple_stripe_mirror_num(struct btrfs_chunk_map *map, int stripe_index) in simple_stripe_mirror_num()
2406 struct btrfs_chunk_map *map, in scrub_simple_stripe()
2440 struct btrfs_chunk_map *map, in scrub_stripe()
2607 struct btrfs_chunk_map *map; in scrub_chunk()
H A Dblock-group.c1107 struct btrfs_chunk_map *map) in btrfs_remove_block_group()
1360 struct btrfs_chunk_map *map; in btrfs_start_trans_remove_block_group()
2107 struct btrfs_chunk_map *map; in read_bg_from_eb()
2205 struct btrfs_chunk_map *map; in btrfs_rmap_block()
2381 struct btrfs_chunk_map *map; in check_chunk_block_group_mappings()
2556 struct btrfs_chunk_map *map; in fill_dummy_bgs()
2559 map = rb_entry(node, struct btrfs_chunk_map, rb_node); in fill_dummy_bgs()
2820 struct btrfs_chunk_map *map; in insert_dev_extents()
4744 struct btrfs_chunk_map *map; in btrfs_unfreeze_block_group()
4906 struct btrfs_chunk_map *map; in btrfs_populate_fully_remapped_bgs_list()
[all …]
H A Ddev-replace.c537 struct btrfs_chunk_map *map; in btrfs_finish_block_group_to_copy()
828 struct btrfs_chunk_map *map; in btrfs_dev_replace_update_device_in_mapping_tree()
831 map = rb_entry(node, struct btrfs_chunk_map, rb_node); in btrfs_dev_replace_update_device_in_mapping_tree()
H A Dzoned.h106 struct btrfs_chunk_map *map,
H A Draid-stripe-tree.c79 struct btrfs_chunk_map *map; in btrfs_delete_raid_extent()
H A Drelocation.c4656 struct btrfs_chunk_map *chunk_map, in remove_chunk_stripes()
4697 int btrfs_last_identity_remap_gone(struct btrfs_chunk_map *chunk_map, in btrfs_last_identity_remap_gone()
4894 struct btrfs_chunk_map *chunk_map; in mark_chunk_remapped()
H A Dinode.c10270 struct btrfs_chunk_map *map = NULL; in btrfs_swap_activate()
/linux/include/trace/events/
H A Dbtrfs.h22 struct btrfs_chunk_map;
1034 const struct btrfs_chunk_map *map, u64 offset, u64 size),
1068 const struct btrfs_chunk_map *map, u64 offset, u64 size),
1076 const struct btrfs_chunk_map *map, u64 offset, u64 size),
/linux/fs/btrfs/tests/
H A Dextent-map-tests.c1018 struct btrfs_chunk_map *map; in test_rmap_block()