Home | History | Annotate | Download | only in raidframe

Lines Matching defs:BlockID

325 	RF_StripeNum_t BlockID, BlockOffset, RepIndex;
342 BlockID = TableOffset / info->PUsPerBlock;
343 BlockOffset = TableOffset - BlockID * info->PUsPerBlock;
344 BlockID %= info->BlocksPerTable;
348 *col = info->LayoutTable[BlockID][BlockOffset];
353 rf_remap_to_spare_space(layoutPtr, info, FullTableID, TableID, BlockID, (base_suid) ? 1 : 0, SpareRegion, col, &outSU);
360 outSU += info->OffsetTable[BlockID][BlockOffset] * layoutPtr->SUsPerPU; /* offs to the PU */
383 RF_StripeNum_t BlockID, RepIndex;
397 /* compute BlockID and RepIndex exactly as before */
402 /* BlockID = (TableOffset / info->PUsPerBlock) %
404 BlockID = TableOffset / info->PUsPerBlock;
405 BlockID %= info->BlocksPerTable;
409 *col = info->LayoutTable[BlockID][RepIndex];
413 rf_remap_to_spare_space(layoutPtr, info, FullTableID, TableID, BlockID, (base_suid) ? 1 : 0, SpareRegion, col, &outSU);
422 outSU += info->OffsetTable[BlockID][RepIndex] * layoutPtr->SUsPerPU;
562 RF_SectorNum_t BlockID,
592 *outCol = info->SpareTable[TableInSpareRegion][BlockID].spareDisk;
598 *outSU = spareTableStartSU + info->SpareTable[TableInSpareRegion][BlockID].spareBlockOffsetInSUs;