Lines Matching refs:pda
206 RF_PhysDiskAddr_t *pda; in rf_VerifyParityBasic() local
236 for (pda = asmap->physInfo, i = 0; i < layoutPtr->numDataCol; i++, pda = pda->next) { in rf_VerifyParityBasic()
237 RF_ASSERT(pda); in rf_VerifyParityBasic()
238 rf_RangeRestrictPDA(raidPtr, parityPDA, pda, 0, 1); in rf_VerifyParityBasic()
239 RF_ASSERT(pda->numSector != 0); in rf_VerifyParityBasic()
240 if (rf_TryToRedirectPDA(raidPtr, pda, 0)) in rf_VerifyParityBasic()
243 blockNode->succedents[i]->params[0].p = pda; in rf_VerifyParityBasic()
340 rf_TryToRedirectPDA(RF_Raid_t *raidPtr, RF_PhysDiskAddr_t *pda, in rf_TryToRedirectPDA() argument
343 if (raidPtr->Disks[pda->col].status == rf_ds_reconstructing) { in rf_TryToRedirectPDA()
344 if (rf_CheckRUReconstructed(raidPtr->reconControl->reconMap, pda->startSector)) { in rf_TryToRedirectPDA()
348 RF_RowCol_t oc = pda->col; in rf_TryToRedirectPDA()
349 RF_SectorNum_t os = pda->startSector; in rf_TryToRedirectPDA()
352 …(raidPtr->Layout.map->MapParity) (raidPtr, pda->raidAddress, &pda->col, &pda->startSector, RF_REMA… in rf_TryToRedirectPDA()
356 oc, (long) os, pda->col, (long) pda->startSector); in rf_TryToRedirectPDA()
359 …(raidPtr->Layout.map->MapSector) (raidPtr, pda->raidAddress, &pda->col, &pda->startSector, RF_REMA… in rf_TryToRedirectPDA()
363 oc, (long) os, pda->col, (long) pda->startSector); in rf_TryToRedirectPDA()
368 RF_RowCol_t spCol = raidPtr->Disks[pda->col].spareCol; in rf_TryToRedirectPDA()
369 pda->col = spCol; in rf_TryToRedirectPDA()
375 if (RF_DEAD_DISK(raidPtr->Disks[pda->col].status)) in rf_TryToRedirectPDA()