Lines Matching refs:btrfs_chunk_map

1965 		struct btrfs_chunk_map *map;  in find_next_chunk()
1967 map = rb_entry(n, struct btrfs_chunk_map, rb_node); in find_next_chunk()
3193 struct btrfs_chunk_map *btrfs_find_chunk_map_nolock(struct btrfs_fs_info *fs_info, in btrfs_find_chunk_map_nolock()
3199 struct btrfs_chunk_map *map; in btrfs_find_chunk_map_nolock()
3200 struct btrfs_chunk_map *prev_map = NULL; in btrfs_find_chunk_map_nolock()
3203 map = rb_entry(node, struct btrfs_chunk_map, rb_node); in btrfs_find_chunk_map_nolock()
3223 prev_map = rb_entry(prev, struct btrfs_chunk_map, rb_node); in btrfs_find_chunk_map_nolock()
3228 prev_map = rb_entry(prev, struct btrfs_chunk_map, rb_node); in btrfs_find_chunk_map_nolock()
3231 prev_map = rb_entry(prev, struct btrfs_chunk_map, rb_node); in btrfs_find_chunk_map_nolock()
3256 struct btrfs_chunk_map *btrfs_find_chunk_map(struct btrfs_fs_info *fs_info, in btrfs_find_chunk_map()
3259 struct btrfs_chunk_map *map; in btrfs_find_chunk_map()
3276 struct btrfs_chunk_map *btrfs_get_chunk_map(struct btrfs_fs_info *fs_info, in btrfs_get_chunk_map()
3279 struct btrfs_chunk_map *map; in btrfs_get_chunk_map()
3304 struct btrfs_chunk_map *map, u64 chunk_offset) in remove_chunk_item()
3329 struct btrfs_chunk_map *map; in btrfs_remove_chunk()
5493 static void chunk_map_device_set_bits(struct btrfs_chunk_map *map, unsigned int bits) in chunk_map_device_set_bits()
5505 static void chunk_map_device_clear_bits(struct btrfs_chunk_map *map, unsigned int bits) in chunk_map_device_clear_bits()
5518 void btrfs_remove_chunk_map(struct btrfs_fs_info *fs_info, struct btrfs_chunk_map *map) in btrfs_remove_chunk_map()
5533 const struct btrfs_chunk_map *new_map = in btrfs_chunk_map_cmp()
5534 rb_entry(new, struct btrfs_chunk_map, rb_node); in btrfs_chunk_map_cmp()
5535 const struct btrfs_chunk_map *exist_map = in btrfs_chunk_map_cmp()
5536 rb_entry(exist, struct btrfs_chunk_map, rb_node); in btrfs_chunk_map_cmp()
5546 int btrfs_add_chunk_map(struct btrfs_fs_info *fs_info, struct btrfs_chunk_map *map) in btrfs_add_chunk_map()
5566 struct btrfs_chunk_map *btrfs_alloc_chunk_map(int num_stripes, gfp_t gfp) in btrfs_alloc_chunk_map()
5568 struct btrfs_chunk_map *map; in btrfs_alloc_chunk_map()
5585 struct btrfs_chunk_map *map; in create_chunk()
5719 struct btrfs_chunk_map *map; in btrfs_chunk_alloc_add_chunk_item()
5856 static inline int btrfs_chunk_max_errors(struct btrfs_chunk_map *map) in btrfs_chunk_max_errors()
5865 struct btrfs_chunk_map *map; in btrfs_chunk_writeable()
5902 struct btrfs_chunk_map *map; in btrfs_mapping_tree_free()
5906 map = rb_entry(node, struct btrfs_chunk_map, rb_node); in btrfs_mapping_tree_free()
5917 static int btrfs_chunk_map_num_copies(const struct btrfs_chunk_map *map) in btrfs_chunk_map_num_copies()
5940 struct btrfs_chunk_map *map; in btrfs_num_copies()
5961 struct btrfs_chunk_map *map; in btrfs_full_stripe_len()
5978 static int btrfs_read_preferred(struct btrfs_chunk_map *map, int first, int num_stripes) in btrfs_read_preferred()
6021 static int btrfs_read_rr(const struct btrfs_chunk_map *map, int first, int num_stripes) in btrfs_read_rr()
6048 struct btrfs_chunk_map *map, int first, in find_live_mirror()
6163 struct btrfs_chunk_map *map; in btrfs_map_discard()
6389 static u64 btrfs_max_io_len(struct btrfs_chunk_map *map, u64 offset, in btrfs_max_io_len()
6437 struct btrfs_chunk_map *map, in set_io_stripe()
6455 const struct btrfs_chunk_map *map, in is_single_device_io()
6474 static void map_blocks_raid0(const struct btrfs_chunk_map *map, in map_blocks_raid0()
6484 struct btrfs_chunk_map *map, in map_blocks_raid1()
6503 static void map_blocks_dup(const struct btrfs_chunk_map *map, in map_blocks_dup()
6520 struct btrfs_chunk_map *map, in map_blocks_raid10()
6547 static void map_blocks_raid56_write(struct btrfs_chunk_map *map, in map_blocks_raid56_write()
6578 static void map_blocks_raid56_read(struct btrfs_chunk_map *map, in map_blocks_raid56_read()
6596 static void map_blocks_single(const struct btrfs_chunk_map *map, in map_blocks_single()
6644 struct btrfs_chunk_map *map; in btrfs_map_block()
7001 u64 btrfs_calc_stripe_length(const struct btrfs_chunk_map *map) in btrfs_calc_stripe_length()
7074 struct btrfs_chunk_map *map; in read_one_chunk()
7436 struct btrfs_chunk_map *map; in btrfs_check_rw_degradable()
7965 struct btrfs_chunk_map *map; in verify_one_dev_extent()
8065 struct btrfs_chunk_map *map; in verify_chunk_dev_extent_mapping()
8067 map = rb_entry(node, struct btrfs_chunk_map, rb_node); in verify_chunk_dev_extent_mapping()