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.h627 struct btrfs_chunk_map { struct
649 #define btrfs_chunk_map_size(n) (sizeof(struct btrfs_chunk_map) + \ argument
652 static inline void btrfs_free_chunk_map(struct btrfs_chunk_map *map) in btrfs_free_chunk_map()
659 DEFINE_FREE(btrfs_free_chunk_map, struct btrfs_chunk_map *, btrfs_free_chunk_map(_T))
804 u64 btrfs_calc_stripe_length(const struct btrfs_chunk_map *map);
808 int btrfs_remove_dev_extents(struct btrfs_trans_handle *trans, struct btrfs_chunk_map *map);
812 struct btrfs_chunk_map *btrfs_alloc_chunk_map(int num_stripes, gfp_t gfp);
813 int btrfs_add_chunk_map(struct btrfs_fs_info *fs_info, struct btrfs_chunk_map *map);
816 struct btrfs_chunk_map *btrfs_find_chunk_map(struct btrfs_fs_info *fs_info,
818 struct btrfs_chunk_map *btrfs_find_chunk_map_nolock(struct btrfs_fs_info *fs_info,
[all …]
H A Dvolumes.c2035 struct btrfs_chunk_map *map; in find_next_chunk()
2037 map = rb_entry(n, struct btrfs_chunk_map, rb_node); in find_next_chunk()
3353 struct btrfs_chunk_map *btrfs_find_chunk_map_nolock(struct btrfs_fs_info *fs_info, in btrfs_find_chunk_map_nolock()
3359 struct btrfs_chunk_map *map; in btrfs_find_chunk_map_nolock()
3360 struct btrfs_chunk_map *prev_map = NULL; in btrfs_find_chunk_map_nolock()
3363 map = rb_entry(node, struct btrfs_chunk_map, rb_node); in btrfs_find_chunk_map_nolock()
3383 prev_map = rb_entry(prev, struct btrfs_chunk_map, rb_node); in btrfs_find_chunk_map_nolock()
3388 prev_map = rb_entry(prev, struct btrfs_chunk_map, rb_node); in btrfs_find_chunk_map_nolock()
3391 prev_map = rb_entry(prev, struct btrfs_chunk_map, rb_node); in btrfs_find_chunk_map_nolock()
3416 struct btrfs_chunk_map *btrfs_find_chunk_map(struct btrfs_fs_info *fs_info, in btrfs_find_chunk_map()
[all …]
H A Dblock-group.h18 struct btrfs_chunk_map;
283 struct btrfs_chunk_map *physical_map;
354 struct btrfs_chunk_map *map);
H A Draid56.h257 static inline int nr_data_stripes(const struct btrfs_chunk_map *map) in nr_data_stripes()
H A Dzoned.c1326 struct btrfs_chunk_map *map, bool new) in btrfs_load_zone_info()
1451 struct btrfs_chunk_map *map, in btrfs_load_block_group_dup()
1516 struct btrfs_chunk_map *map, in btrfs_load_block_group_raid1()
1582 struct btrfs_chunk_map *map, in btrfs_load_block_group_raid0()
1700 struct btrfs_chunk_map *map, in btrfs_load_block_group_raid10()
1852 struct btrfs_chunk_map *map, in btrfs_load_block_group_by_raid_type()
1909 struct btrfs_chunk_map *map; in btrfs_load_block_group_zone_info()
2407 struct btrfs_chunk_map *map; in btrfs_zone_activate()
2548 struct btrfs_chunk_map *map; in do_zone_finish()
3088 struct btrfs_chunk_map *map = block_group->physical_map; in btrfs_check_active_zone_reservation()
[all …]
H A Dblock-group.c1134 struct btrfs_chunk_map *map) in btrfs_remove_block_group()
1387 struct btrfs_chunk_map *map; in btrfs_start_trans_remove_block_group()
2179 struct btrfs_chunk_map *map; in read_bg_from_eb()
2277 struct btrfs_chunk_map *map; in btrfs_rmap_block()
2458 struct btrfs_chunk_map *map; in check_chunk_block_group_mappings()
2461 map = rb_entry(node, struct btrfs_chunk_map, rb_node); in check_chunk_block_group_mappings()
2621 struct btrfs_chunk_map *map; in fill_dummy_bgs()
2624 map = rb_entry(node, struct btrfs_chunk_map, rb_node); in fill_dummy_bgs()
2884 struct btrfs_chunk_map *map; in insert_dev_extents()
4819 struct btrfs_chunk_map *map; in btrfs_unfreeze_block_group()
[all …]
H A Dscrub.c1401 struct btrfs_chunk_map *map, u64 *offset, in get_raid56_logic_offset()
2081 struct btrfs_chunk_map *map, in scrub_raid56_cached_parity()
2132 struct btrfs_chunk_map *map, in scrub_raid56_parity_stripe()
2331 static u64 simple_stripe_full_stripe_len(const struct btrfs_chunk_map *map) in simple_stripe_full_stripe_len()
2340 static u64 simple_stripe_get_logical(struct btrfs_chunk_map *map, in simple_stripe_get_logical()
2357 static int simple_stripe_mirror_num(struct btrfs_chunk_map *map, int stripe_index) in simple_stripe_mirror_num()
2369 struct btrfs_chunk_map *map, in scrub_simple_stripe()
2403 struct btrfs_chunk_map *map, in scrub_stripe()
2570 struct btrfs_chunk_map *map; in scrub_chunk()
H A Ddev-replace.c541 struct btrfs_chunk_map *map; in btrfs_finish_block_group_to_copy()
843 struct btrfs_chunk_map *map; in btrfs_dev_replace_update_device_in_mapping_tree()
846 map = rb_entry(node, struct btrfs_chunk_map, rb_node); in btrfs_dev_replace_update_device_in_mapping_tree()
H A Draid-stripe-tree.c82 struct btrfs_chunk_map *map; in btrfs_delete_raid_extent()
H A Drelocation.c4777 struct btrfs_chunk_map *chunk_map, in remove_chunk_stripes()
4818 int btrfs_last_identity_remap_gone(struct btrfs_chunk_map *chunk_map, in btrfs_last_identity_remap_gone()
5015 struct btrfs_chunk_map *chunk_map; in mark_chunk_remapped()
H A Dextent-tree.c2922 struct btrfs_chunk_map *map; in btrfs_complete_bg_remapping()
H A Dinode.c10325 struct btrfs_chunk_map *map = NULL; in btrfs_swap_activate()
/linux/include/trace/events/
H A Dbtrfs.h22 struct btrfs_chunk_map;
1914 const struct btrfs_chunk_map *map, u64 offset, u64 size),
1948 const struct btrfs_chunk_map *map, u64 offset, u64 size),
1956 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()