Searched refs:sub_stripes (Results 1 – 4 of 4) sorted by relevance
3177 int sub_stripes; /* sub_stripes info for map */ in __btrfs_alloc_chunk() local3197 sub_stripes = 1; in __btrfs_alloc_chunk()3221 sub_stripes = 2; in __btrfs_alloc_chunk()3320 if (ndevs < devs_increment * sub_stripes || ndevs < devs_min) { in __btrfs_alloc_chunk()3365 map->sub_stripes = sub_stripes; in __btrfs_alloc_chunk()3481 btrfs_set_stack_chunk_sub_stripes(chunk, map->sub_stripes); in __finish_chunk_alloc()3680 ret = map->sub_stripes; in btrfs_num_copies()3803 int factor = map->num_stripes / map->sub_stripes; in __btrfs_map_block()3806 stripe_index *= map->sub_stripes; in __btrfs_map_block()3809 num_stripes = map->sub_stripes; in __btrfs_map_block()[all …]
182 int sub_stripes; member
1786 int factor = map->num_stripes / map->sub_stripes; in scrub_stripe()1787 offset = map->stripe_len * (num / map->sub_stripes); in scrub_stripe()1789 mirror_num = num % map->sub_stripes + 1; in scrub_stripe()
287 __le16 sub_stripes; member1683 BTRFS_SETGET_FUNCS(chunk_sub_stripes, struct btrfs_chunk, sub_stripes, 16);1706 sub_stripes, 16);