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