Home
last modified time | relevance | path

Searched refs:btrfs_chunk_map (Results 1 – 10 of 10) 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 Dvolumes.c2008 struct btrfs_chunk_map *map; in find_next_chunk()
2010 map = rb_entry(n, struct btrfs_chunk_map, rb_node); in find_next_chunk()
3215 struct btrfs_chunk_map *btrfs_find_chunk_map_nolock(struct btrfs_fs_info *fs_info, in btrfs_find_chunk_map_nolock()
3221 struct btrfs_chunk_map *map; in btrfs_find_chunk_map_nolock()
3222 struct btrfs_chunk_map *prev_map = NULL; in btrfs_find_chunk_map_nolock()
3225 map = rb_entry(node, struct btrfs_chunk_map, rb_node); in btrfs_find_chunk_map_nolock()
3245 prev_map = rb_entry(prev, struct btrfs_chunk_map, rb_node); in btrfs_find_chunk_map_nolock()
3250 prev_map = rb_entry(prev, struct btrfs_chunk_map, rb_node); in btrfs_find_chunk_map_nolock()
3253 prev_map = rb_entry(prev, struct btrfs_chunk_map, rb_node); in btrfs_find_chunk_map_nolock()
3278 struct btrfs_chunk_map *btrfs_find_chunk_map(struct btrfs_fs_info *fs_info, in btrfs_find_chunk_map()
[all …]
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 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 Dextent-tree.c2918 struct btrfs_chunk_map *map; in btrfs_complete_bg_remapping()
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;
1031 const struct btrfs_chunk_map *map, u64 offset, u64 size),
1065 const struct btrfs_chunk_map *map, u64 offset, u64 size),
1073 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()