Lines Matching +defs:val +defs:map
1965 struct btrfs_chunk_map *map; in find_next_chunk() local
3199 struct btrfs_chunk_map *map; in btrfs_find_chunk_map_nolock() local
3259 struct btrfs_chunk_map *map; in btrfs_find_chunk_map() local
3279 struct btrfs_chunk_map *map; in btrfs_get_chunk_map() local
3304 struct btrfs_chunk_map *map, u64 chunk_offset) in remove_chunk_item()
3329 struct btrfs_chunk_map *map; in btrfs_remove_chunk() local
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()
5546 int btrfs_add_chunk_map(struct btrfs_fs_info *fs_info, struct btrfs_chunk_map *map) in btrfs_add_chunk_map()
5568 struct btrfs_chunk_map *map; in btrfs_alloc_chunk_map() local
5585 struct btrfs_chunk_map *map; in create_chunk() local
5719 struct btrfs_chunk_map *map; in btrfs_chunk_alloc_add_chunk_item() local
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() local
5902 struct btrfs_chunk_map *map; in btrfs_mapping_tree_free() local
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() local
5961 struct btrfs_chunk_map *map; in btrfs_full_stripe_len() local
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() local
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() local
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() local
7436 struct btrfs_chunk_map *map; in btrfs_check_rw_degradable() local
7645 u64 val; in btrfs_dev_stats_value() local
7656 int index, u64 val) in btrfs_set_dev_stats_value()
7965 struct btrfs_chunk_map *map; in verify_one_dev_extent() local
8065 struct btrfs_chunk_map *map; in verify_chunk_dev_extent_mapping() local