Home
last modified time | relevance | path

Searched refs:sub_stripes (Results 1 – 4 of 4) sorted by relevance

/fs/btrfs/
Dvolumes.c3177 int sub_stripes; /* sub_stripes info for map */ in __btrfs_alloc_chunk() local
3197 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 …]
Dvolumes.h182 int sub_stripes; member
Dscrub.c1786 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()
Dctree.h287 __le16 sub_stripes; member
1683 BTRFS_SETGET_FUNCS(chunk_sub_stripes, struct btrfs_chunk, sub_stripes, 16);
1706 sub_stripes, 16);