Searched refs:reconControl (Results 1 – 15 of 15) sorted by relevance
| /netbsd-src/sys/dev/raidframe/ |
| H A D | rf_reconstruct.c | 603 raidPtr->reconControl = tmp_reconctrl; in rf_ContinueReconstructFailedDisk() 604 mapPtr = raidPtr->reconControl->reconMap; in rf_ContinueReconstructFailedDisk() 605 raidPtr->reconControl->numRUsTotal = mapPtr->totalRUs; in rf_ContinueReconstructFailedDisk() 606 raidPtr->reconControl->numRUsComplete = 0; in rf_ContinueReconstructFailedDisk() 613 RF_GETTIME(raidPtr->reconControl->starttime); in rf_ContinueReconstructFailedDisk() 619 mapPtr = raidPtr->reconControl->reconMap; in rf_ContinueReconstructFailedDisk() 627 raidPtr->reconControl->lastPSID = incPSID - 1; in rf_ContinueReconstructFailedDisk() 633 if (raidPtr->reconControl->lastPSID > lastPSID) in rf_ContinueReconstructFailedDisk() 634 raidPtr->reconControl->lastPSID = lastPSID; in rf_ContinueReconstructFailedDisk() 679 startPSID = raidPtr->reconControl->lastPSID - pending_writes + 1; in rf_ContinueReconstructFailedDisk() [all …]
|
| H A D | rf_psstatus.h | 59 rf_lock_mutex2((_raidPtr)->reconControl->pssTable[ RF_HASH_PSID(_raidPtr,_psid) ].mutex); \ 60 while((_raidPtr)->reconControl->pssTable[ RF_HASH_PSID(_raidPtr,_psid) ].lock) { \ 61 rf_wait_cond2((_raidPtr)->reconControl->pssTable[ RF_HASH_PSID(_raidPtr,_psid) ].cond,\ 62 (_raidPtr)->reconControl->pssTable[ RF_HASH_PSID(_raidPtr,_psid) ].mutex);\ 64 (_raidPtr)->reconControl->pssTable[ RF_HASH_PSID(_raidPtr,_psid) ].lock = 1; \ 65 rf_unlock_mutex2((_raidPtr)->reconControl->pssTable[ RF_HASH_PSID(_raidPtr,_psid) ].mutex);\ 69 rf_lock_mutex2((_raidPtr)->reconControl->pssTable[ RF_HASH_PSID(_raidPtr,_psid) ].mutex); \ 70 (_raidPtr)->reconControl->pssTable[ RF_HASH_PSID(_raidPtr,_psid) ].lock = 0; \ 71 rf_broadcast_cond2((_raidPtr)->reconControl->pssTable[ RF_HASH_PSID(_raidPtr,_psid) ].cond); \ 72 rf_unlock_mutex2((_raidPtr)->reconControl->pssTable[ RF_HASH_PSID(_raidPtr,_psid) ].mutex);
|
| H A D | rf_reconutil.c | 160 RF_ReconCtrl_t *reconCtrlPtr = raidPtr->reconControl; in rf_FreeReconControl() 273 rf_lock_mutex2(raidPtr->reconControl->rb_mutex); 274 pssTable = raidPtr->reconControl->pssTable; 297 for (rbuf = raidPtr->reconControl->floatingRbufs; rbuf; 302 for (rbuf = raidPtr->reconControl->committedRbufs; rbuf; 307 for (rbuf = raidPtr->reconControl->fullBufferList; rbuf; 315 rf_unlock_mutex2(raidPtr->reconControl->rb_mutex);
|
| H A D | rf_revent.c | 85 RF_ReconCtrl_t *rctrl = raidPtr->reconControl; in rf_GetNextReconEvent() 170 RF_ReconCtrl_t *rctrl = raidPtr->reconControl; in rf_CauseReconEvent() 209 RF_ReconCtrl_t *rctrl = reconDesc->raidPtr->reconControl; in rf_DrainReconEventQueue()
|
| H A D | rf_psstatus.c | 225 RF_PSStatusHeader_t *hdr = &(raidPtr->reconControl->pssTable[RF_HASH_PSID(raidPtr, psid)]); in rf_RemoveFromActiveReconTable() 331 RF_PSStatusHeader_t *pssTable = raidPtr->reconControl->pssTable; in rf_PrintPSStatusTable()
|
| H A D | rf_reconbuffer.c | 124 RF_ReconCtrl_t *reconCtrlPtr = raidPtr->reconControl; in rf_SubmitReconBufferBasic() 401 RF_ReconCtrl_t *rcPtr = raidPtr->reconControl; in rf_ReleaseFloatingReconBuffer()
|
| H A D | rf_raid.h | 194 RF_ReconCtrl_t *reconControl; /* reconstruction control structure member
|
| H A D | rf_dagutils.c | 918 int fcol = raidPtr->reconControl->fcol; in rf_redirect_asm() 919 int scol = raidPtr->reconControl->spareCol; in rf_redirect_asm() 927 if (!rf_CheckRUReconstructed(raidPtr->reconControl->reconMap, in rf_redirect_asm() 946 if (!rf_CheckRUReconstructed(raidPtr->reconControl->reconMap, pda->startSector)) { in rf_redirect_asm()
|
| H A D | rf_raid1.c | 210 rf_CheckRUReconstructed(raidPtr->reconControl->reconMap, failedPDA->startSector) : 0 in rf_RAID1DagSelect() 567 reconCtrlPtr = raidPtr->reconControl; in rf_SubmitReconBufferRAID1()
|
| H A D | rf_raid5.c | 195 rf_CheckRUReconstructed(raidPtr->reconControl->reconMap, failedPDA->startSector) : 0 in rf_RaidFiveDagSelect()
|
| H A D | rf_map.c | 629 RF_ASSERT(raidPtr->reconControl->fcol == diskids[i]); in rf_CheckStripeForFailures() 634 if (!rf_CheckRUReconstructed(raidPtr->reconControl->reconMap, diskOffset)) in rf_CheckStripeForFailures()
|
| H A D | rf_parityscan.c | 344 if (rf_CheckRUReconstructed(raidPtr->reconControl->reconMap, pda->startSector)) { in rf_TryToRedirectPDA()
|
| H A D | rf_netbsdkintf.c | 1550 if (raidPtr->reconControl->numRUsTotal == 0) { in rf_check_recon_status() 1554 *data = (raidPtr->reconControl->numRUsComplete * 100 in rf_check_recon_status() 1555 / raidPtr->reconControl->numRUsTotal); in rf_check_recon_status() 3944 info->total = raidPtr->reconControl->numRUsTotal; in rf_check_recon_status_ext() 3945 info->completed = raidPtr->reconControl->numRUsComplete; in rf_check_recon_status_ext()
|
| H A D | rf_driver.c | 352 raidPtr->reconControl = NULL; in rf_Configure()
|
| H A D | rf_paritylogging.c | 839 rf_CheckRUReconstructed(raidPtr->reconControl->reconMap, failedPDA->startSector) : 0 in rf_ParityLoggingDagSelect()
|