Searched refs:RepIndex (Results 1 - 2 of 2) sorted by relevance
/netbsd-current/sys/dev/raidframe/ |
H A D | rf_declusterPQ.c | 285 RF_StripeNum_t BlockID, BlockOffset, RepIndex; local 313 RepIndex = info->groupSize - 1 - TableID; 314 RF_ASSERT(RepIndex >= 0); 319 BlockOffset += ((BlockOffset >= RepIndex) ? 2 : 0); /* skip over PQ */ 352 RF_StripeNum_t BlockID, RepIndex; local 367 /* compute BlockID and RepIndex exactly as before */ 374 /* the parity block is in the position indicated by RepIndex */ 375 RepIndex = (raidPtr->noRotate) ? info->PUsPerBlock : info->groupSize - 1 - TableID; 376 *col = info->LayoutTable[BlockID][RepIndex]; 381 /* compute sector as before, except use RepIndex instea 402 RF_StripeNum_t BlockID, RepIndex, RepIndexQ; local [all...] |
H A D | rf_decluster.c | 325 RF_StripeNum_t BlockID, BlockOffset, RepIndex; local 345 RepIndex = info->PUsPerBlock - TableID; 347 BlockOffset += ((BlockOffset >= RepIndex) ? 1 : 0); 383 RF_StripeNum_t BlockID, RepIndex; local 397 /* compute BlockID and RepIndex exactly as before */ 407 /* the parity block is in the position indicated by RepIndex */ 408 RepIndex = (raidPtr->noRotate) ? info->PUsPerBlock : info->PUsPerBlock - TableID; 409 *col = info->LayoutTable[BlockID][RepIndex]; 416 /* compute sector as before, except use RepIndex instead of 422 outSU += info->OffsetTable[BlockID][RepIndex] * layoutPt [all...] |
Completed in 306 milliseconds