Lines Matching defs:stripe_nr
2643 u64 stripe_nr;
2705 stripe_nr = offset;
2707 * stripe_nr counts the total number of stripes we have to stride
2710 do_div(stripe_nr, map->stripe_len);
2712 stripe_offset = stripe_nr * map->stripe_len;
2753 stripe_index = do_div(stripe_nr, factor);
2767 * after this do_div call, stripe_nr is the number of stripes
2771 stripe_index = do_div(stripe_nr, map->num_stripes);
2789 stripe_offset + stripe_nr * map->stripe_len;
2822 u64 stripe_nr;
2848 stripe_nr = physical - map->stripes[i].physical;
2849 do_div(stripe_nr, map->stripe_len);
2852 stripe_nr = stripe_nr * map->num_stripes + i;
2853 do_div(stripe_nr, map->sub_stripes);
2855 stripe_nr = stripe_nr * map->num_stripes + i;
2857 bytenr = chunk_start + stripe_nr * map->stripe_len;