Lines Matching refs:reconDesc

289 	RF_RaidReconDesc_t *reconDesc;  in rf_AllocRaidReconDesc()  local
291 RF_FREELIST_GET(rf_recond_freelist, reconDesc, next, in rf_AllocRaidReconDesc()
294 reconDesc->raidPtr = raidPtr; in rf_AllocRaidReconDesc()
295 reconDesc->row = row; in rf_AllocRaidReconDesc()
296 reconDesc->col = col; in rf_AllocRaidReconDesc()
297 reconDesc->spareDiskPtr = spareDiskPtr; in rf_AllocRaidReconDesc()
298 reconDesc->numDisksDone = numDisksDone; in rf_AllocRaidReconDesc()
299 reconDesc->srow = srow; in rf_AllocRaidReconDesc()
300 reconDesc->scol = scol; in rf_AllocRaidReconDesc()
301 reconDesc->state = 0; in rf_AllocRaidReconDesc()
302 reconDesc->next = NULL; in rf_AllocRaidReconDesc()
304 return (reconDesc); in rf_AllocRaidReconDesc()
308 rf_FreeReconDesc(RF_RaidReconDesc_t *reconDesc) in rf_FreeReconDesc() argument
312 reconDesc->numReconEventWaits, reconDesc->numReconExecDelays); in rf_FreeReconDesc()
316 reconDesc->maxReconExecTicks); in rf_FreeReconDesc()
321 RF_FREELIST_FREE(rf_recond_freelist, reconDesc, next); in rf_FreeReconDesc()
373 RF_RaidReconDesc_t *reconDesc; in rf_ReconstructFailedDiskBasic() local
417 reconDesc = rf_AllocRaidReconDesc((void *) raidPtr, row, col, in rf_ReconstructFailedDiskBasic()
419 raidPtr->reconDesc = (void *) reconDesc; in rf_ReconstructFailedDiskBasic()
421 reconDesc->hsStallCount = 0; in rf_ReconstructFailedDiskBasic()
422 reconDesc->numReconExecDelays = 0; in rf_ReconstructFailedDiskBasic()
423 reconDesc->numReconEventWaits = 0; in rf_ReconstructFailedDiskBasic()
425 reconDesc->reconExecTimerRunning = 0; in rf_ReconstructFailedDiskBasic()
426 reconDesc->reconExecTicks = 0; in rf_ReconstructFailedDiskBasic()
427 reconDesc->maxReconExecTicks = 0; in rf_ReconstructFailedDiskBasic()
428 rc = rf_ContinueReconstructFailedDisk(reconDesc); in rf_ReconstructFailedDiskBasic()
469 RF_RaidReconDesc_t *reconDesc; in rf_ReconstructInPlace() local
652 reconDesc = rf_AllocRaidReconDesc((void *) raidPtr, row, col, in rf_ReconstructInPlace()
654 raidPtr->reconDesc = (void *) reconDesc; in rf_ReconstructInPlace()
656 reconDesc->hsStallCount = 0; in rf_ReconstructInPlace()
657 reconDesc->numReconExecDelays = 0; in rf_ReconstructInPlace()
658 reconDesc->numReconEventWaits = 0; in rf_ReconstructInPlace()
660 reconDesc->reconExecTimerRunning = 0; in rf_ReconstructInPlace()
661 reconDesc->reconExecTicks = 0; in rf_ReconstructInPlace()
662 reconDesc->maxReconExecTicks = 0; in rf_ReconstructInPlace()
663 rc = rf_ContinueReconstructFailedDisk(reconDesc); in rf_ReconstructInPlace()
709 rf_ContinueReconstructFailedDisk(RF_RaidReconDesc_t *reconDesc) in rf_ContinueReconstructFailedDisk() argument
711 RF_Raid_t *raidPtr = reconDesc->raidPtr; in rf_ContinueReconstructFailedDisk()
712 RF_RowCol_t row = reconDesc->row; in rf_ContinueReconstructFailedDisk()
713 RF_RowCol_t col = reconDesc->col; in rf_ContinueReconstructFailedDisk()
714 RF_RowCol_t srow = reconDesc->srow; in rf_ContinueReconstructFailedDisk()
715 RF_RowCol_t scol = reconDesc->scol; in rf_ContinueReconstructFailedDisk()
723 switch (reconDesc->state) { in rf_ContinueReconstructFailedDisk()
736 reconDesc->state = 1; in rf_ContinueReconstructFailedDisk()
754 rf_MakeReconControl(reconDesc, row, col, srow, scol); in rf_ContinueReconstructFailedDisk()
770 reconDesc->numDisksDone = 0; in rf_ContinueReconstructFailedDisk()
780 reconDesc->numDisksDone++; in rf_ContinueReconstructFailedDisk()
785 reconDesc->state = 2; in rf_ContinueReconstructFailedDisk()
791 reconDesc->state = 3; in rf_ContinueReconstructFailedDisk()
801 while (reconDesc->numDisksDone < raidPtr->numCol - 1) { in rf_ContinueReconstructFailedDisk()
803 event = rf_GetNextReconEvent(reconDesc, row, in rf_ContinueReconstructFailedDisk()
805 reconDesc); in rf_ContinueReconstructFailedDisk()
809 reconDesc->numDisksDone++; in rf_ContinueReconstructFailedDisk()
826 reconDesc->state = 4; in rf_ContinueReconstructFailedDisk()
841 event = rf_GetNextReconEvent(reconDesc, row, in rf_ContinueReconstructFailedDisk()
843 reconDesc); in rf_ContinueReconstructFailedDisk()
857 reconDesc->state = 5; in rf_ContinueReconstructFailedDisk()
867 reconDesc->state = 6; in rf_ContinueReconstructFailedDisk()
918 (int) reconDesc->hsStallCount); in rf_ContinueReconstructFailedDisk()
923 rf_FreeReconDesc(reconDesc); in rf_ContinueReconstructFailedDisk()
1511 RF_Raid_t *raidPtr = ctrl->reconCtrl->reconDesc->raidPtr; in rf_ReconReadDoneProc()
1677 ctrl->reconCtrl->reconDesc->hsStallCount++; in rf_CheckHeadSeparation()