Lines Matching defs:outSU

328 	RF_StripeNum_t base_suid = 0, outSU, SpareRegion = 0, SpareSpace = 0;
353 rf_remap_to_spare_space(layoutPtr, info, FullTableID, TableID, BlockID, (base_suid) ? 1 : 0, SpareRegion, col, &outSU);
356 outSU = base_suid;
357 outSU += FullTableID * fulltable_depth; /* offs to strt of FT */
358 outSU += SpareSpace; /* skip rsvd spare space */
359 outSU += TableID * info->TableDepthInPUs * layoutPtr->SUsPerPU; /* offs to strt of tble */
360 outSU += info->OffsetTable[BlockID][BlockOffset] * layoutPtr->SUsPerPU; /* offs to the PU */
362 outSU += TableOffset / (info->BlocksPerTable * info->PUsPerBlock); /* offs to the SU within
367 *diskSector = outSU * layoutPtr->sectorsPerStripeUnit + (raidSector % layoutPtr->sectorsPerStripeUnit);
386 RF_StripeNum_t base_suid = 0, outSU, SpareRegion = 0, SpareSpace = 0;
413 rf_remap_to_spare_space(layoutPtr, info, FullTableID, TableID, BlockID, (base_suid) ? 1 : 0, SpareRegion, col, &outSU);
418 outSU = base_suid;
419 outSU += FullTableID * fulltable_depth;
420 outSU += SpareSpace; /* skip rsvd spare space */
421 outSU += TableID * info->TableDepthInPUs * layoutPtr->SUsPerPU;
422 outSU += info->OffsetTable[BlockID][RepIndex] * layoutPtr->SUsPerPU;
425 outSU += TableOffset / (info->BlocksPerTable * info->PUsPerBlock);
426 *diskSector = outSU * layoutPtr->sectorsPerStripeUnit + (raidSector % layoutPtr->sectorsPerStripeUnit);
555 * Modifies the "col" and "outSU" parameters only.
566 RF_StripeNum_t *outSU)
598 *outSU = spareTableStartSU + info->SpareTable[TableInSpareRegion][BlockID].spareBlockOffsetInSUs;
599 if (*outSU >= layoutPtr->stripeUnitsPerDisk) {
600 printf("rf_remap_to_spare_space: invalid remapped disk SU offset %ld\n", (long) *outSU);