Lines Matching defs:outSU

288 	RF_StripeNum_t base_suid = 0, outSU, SpareRegion = 0, SpareSpace = 0;
325 rf_remap_to_spare_space(layoutPtr, info, FullTableID, TableID, BlockID, (base_suid) ? 1 : 0, SpareRegion, col, &outSU);
328 outSU = base_suid;
329 outSU += FullTableID * fulltable_depth; /* offs to strt of FT */
330 outSU += SpareSpace; /* skip rsvd spare space */
331 outSU += TableID * info->TableDepthInPUs * layoutPtr->SUsPerPU; /* offs to strt of tble */
332 outSU += info->OffsetTable[BlockID][BlockOffset] * layoutPtr->SUsPerPU; /* offs to the PU */
334 outSU += TableOffset / (info->BlocksPerTable * info->PUsPerBlock); /* offs to the SU within
339 *diskSector = outSU * layoutPtr->sectorsPerStripeUnit + (raidSector % layoutPtr->sectorsPerStripeUnit);
355 RF_StripeNum_t base_suid = 0, outSU, SpareRegion, SpareSpace = 0;
383 outSU = base_suid;
384 outSU += FullTableID * fulltable_depth;
385 outSU += SpareSpace; /* skip rsvd spare space */
386 outSU += TableID * info->TableDepthInPUs * layoutPtr->SUsPerPU;
387 outSU += info->OffsetTable[BlockID][RepIndex] * layoutPtr->SUsPerPU;
388 outSU += TableOffset / (info->BlocksPerTable * info->PUsPerBlock);
390 *diskSector = outSU * layoutPtr->sectorsPerStripeUnit + (raidSector % layoutPtr->sectorsPerStripeUnit);
405 RF_StripeNum_t base_suid = 0, outSU, SpareRegion, SpareSpace = 0;
434 outSU = base_suid;
435 outSU += FullTableID * fulltable_depth;
436 outSU += SpareSpace; /* skip rsvd spare space */
437 outSU += TableID * info->TableDepthInPUs * layoutPtr->SUsPerPU;
438 outSU += TableOffset / (info->BlocksPerTable * info->PUsPerBlock);
440 outSU += info->OffsetTable[BlockID][RepIndexQ] * layoutPtr->SUsPerPU;
441 *diskSector = outSU * layoutPtr->sectorsPerStripeUnit + (raidSector % layoutPtr->sectorsPerStripeUnit);