Lines Matching refs:BlockID
325 RF_StripeNum_t BlockID, BlockOffset, RepIndex; in rf_MapSectorDeclustered() local
342 BlockID = TableOffset / info->PUsPerBlock; in rf_MapSectorDeclustered()
343 BlockOffset = TableOffset - BlockID * info->PUsPerBlock; in rf_MapSectorDeclustered()
344 BlockID %= info->BlocksPerTable; in rf_MapSectorDeclustered()
348 *col = info->LayoutTable[BlockID][BlockOffset]; in rf_MapSectorDeclustered()
353 …rf_remap_to_spare_space(layoutPtr, info, FullTableID, TableID, BlockID, (base_suid) ? 1 : 0, Spare… in rf_MapSectorDeclustered()
360 outSU += info->OffsetTable[BlockID][BlockOffset] * layoutPtr->SUsPerPU; /* offs to the PU */ in rf_MapSectorDeclustered()
383 RF_StripeNum_t BlockID, RepIndex; in rf_MapParityDeclustered() local
404 BlockID = TableOffset / info->PUsPerBlock; in rf_MapParityDeclustered()
405 BlockID %= info->BlocksPerTable; in rf_MapParityDeclustered()
409 *col = info->LayoutTable[BlockID][RepIndex]; in rf_MapParityDeclustered()
413 …rf_remap_to_spare_space(layoutPtr, info, FullTableID, TableID, BlockID, (base_suid) ? 1 : 0, Spare… in rf_MapParityDeclustered()
422 outSU += info->OffsetTable[BlockID][RepIndex] * layoutPtr->SUsPerPU; in rf_MapParityDeclustered()
562 RF_SectorNum_t BlockID, in rf_remap_to_spare_space() argument
592 *outCol = info->SpareTable[TableInSpareRegion][BlockID].spareDisk; in rf_remap_to_spare_space()
598 *outSU = spareTableStartSU + info->SpareTable[TableInSpareRegion][BlockID].spareBlockOffsetInSUs; in rf_remap_to_spare_space()