Lines Matching refs:stripe_index
2646 int stripe_index;
2732 stripe_index = 0;
2737 stripe_index = mirror_num - 1;
2739 stripe_index = find_live_mirror(map, 0,
2748 stripe_index = mirror_num - 1;
2753 stripe_index = do_div(stripe_nr, factor);
2754 stripe_index *= map->sub_stripes;
2759 stripe_index += mirror_num - 1;
2761 stripe_index = find_live_mirror(map, stripe_index,
2762 map->sub_stripes, stripe_index +
2769 * stripe_index is the number of our device in the stripe array
2771 stripe_index = do_div(stripe_nr, map->num_stripes);
2773 BUG_ON(stripe_index >= map->num_stripes);
2780 device = map->stripes[stripe_index].dev;
2788 map->stripes[stripe_index].physical +
2790 multi->stripes[i].dev = map->stripes[stripe_index].dev;
2792 stripe_index++;