Lines Matching refs:stripe_index

5689 	u32 stripe_index;
5733 * device we have to walk to find the data, and stripe_index is
5737 stripe_index = 0;
5748 stripe_nr = div_u64_rem(stripe_nr, factor, &stripe_index);
5749 stripe_index *= sub_stripes;
5759 &stripe_index);
5770 map->stripes[stripe_index].physical +
5772 bbio->stripes[i].dev = map->stripes[stripe_index].dev;
5795 if (stripe_index >= last_stripe &&
5796 stripe_index <= (last_stripe +
5807 stripe_index++;
5808 if (stripe_index == map->num_stripes) {
5809 stripe_index = 0;
6109 u32 stripe_index;
6167 stripe_index = 0;
6170 &stripe_index);
6177 stripe_index = mirror_num - 1;
6179 stripe_index = find_live_mirror(fs_info, map, 0,
6181 mirror_num = stripe_index + 1;
6188 stripe_index = mirror_num - 1;
6196 stripe_nr = div_u64_rem(stripe_nr, factor, &stripe_index);
6197 stripe_index *= map->sub_stripes;
6202 stripe_index += mirror_num - 1;
6204 int old_stripe_index = stripe_index;
6205 stripe_index = find_live_mirror(fs_info, map,
6206 stripe_index,
6208 mirror_num = stripe_index - old_stripe_index + 1;
6222 stripe_index = 0;
6231 data_stripes, &stripe_index);
6233 stripe_index = data_stripes + mirror_num - 2;
6236 div_u64_rem(stripe_nr + stripe_index, map->num_stripes,
6237 &stripe_index);
6244 * device we have to walk to find the data, and stripe_index is
6248 &stripe_index);
6249 mirror_num = stripe_index + 1;
6251 if (stripe_index >= map->num_stripes) {
6253 "stripe index math went horribly wrong, got stripe_index=%u, num_stripes=%u",
6254 stripe_index, map->num_stripes);
6275 bbio->stripes[i].physical = map->stripes[stripe_index].physical +
6277 bbio->stripes[i].dev = map->stripes[stripe_index].dev;
6278 stripe_index++;