Home
last modified time | relevance | path

Searched refs:RepIndex (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/sys/dev/raidframe/
H A Drf_declusterPQ.c285 RF_StripeNum_t BlockID, BlockOffset, RepIndex; in rf_MapSectorDeclusteredPQ() local
313 RepIndex = info->groupSize - 1 - TableID; in rf_MapSectorDeclusteredPQ()
314 RF_ASSERT(RepIndex >= 0); in rf_MapSectorDeclusteredPQ()
319 BlockOffset += ((BlockOffset >= RepIndex) ? 2 : 0); /* skip over PQ */ in rf_MapSectorDeclusteredPQ()
352 RF_StripeNum_t BlockID, RepIndex; in rf_MapParityDeclusteredPQ() local
375 RepIndex = (raidPtr->noRotate) ? info->PUsPerBlock : info->groupSize - 1 - TableID; in rf_MapParityDeclusteredPQ()
376 *col = info->LayoutTable[BlockID][RepIndex]; in rf_MapParityDeclusteredPQ()
387 outSU += info->OffsetTable[BlockID][RepIndex] * layoutPtr->SUsPerPU; in rf_MapParityDeclusteredPQ()
402 RF_StripeNum_t BlockID, RepIndex, RepIndexQ; in rf_MapQDeclusteredPQ() local
425 RepIndex = (raidPtr->noRotate) ? info->PUsPerBlock : info->groupSize - 1 - TableID; in rf_MapQDeclusteredPQ()
[all …]
H A Drf_decluster.c325 RF_StripeNum_t BlockID, BlockOffset, RepIndex; in rf_MapSectorDeclustered() local
345 RepIndex = info->PUsPerBlock - TableID; in rf_MapSectorDeclustered()
347 BlockOffset += ((BlockOffset >= RepIndex) ? 1 : 0); in rf_MapSectorDeclustered()
383 RF_StripeNum_t BlockID, RepIndex; in rf_MapParityDeclustered() local
408 RepIndex = (raidPtr->noRotate) ? info->PUsPerBlock : info->PUsPerBlock - TableID; in rf_MapParityDeclustered()
409 *col = info->LayoutTable[BlockID][RepIndex]; in rf_MapParityDeclustered()
422 outSU += info->OffsetTable[BlockID][RepIndex] * layoutPtr->SUsPerPU; in rf_MapParityDeclustered()