Lines Matching defs:stripe
35 * This file implements initial version of device-mapper stripe target.
143 printf("Stripe target takes at least 2 args, %d given\n", argc);
147 printf("Stripe target init function called!!\n");
148 printf("Stripe target chunk size %s number of stripes %s\n",
162 printf("Stripe target device name %s -- offset %s\n",
257 uint64_t stripe, stripe_blknr;
272 /* blockno to stripe piece nr */
273 stripe = blkno / tsc->stripe_chunksize;
276 /* where we are inside the stripe */
277 stripe_devnr = stripe % tsc->stripe_num;
278 stripe_blknr = stripe / tsc->stripe_num;
283 /* issue this piece on stripe `stripe' */
360 * For a stripe target we chose the maximum sector size of all
361 * stripe devices. For the supported power-of-2 sizes this is equivalent