reconCtrlPtr 571 dev/raidframe/rf_raid1.c RF_ReconCtrl_t *reconCtrlPtr; reconCtrlPtr 584 dev/raidframe/rf_raid1.c reconCtrlPtr = raidPtr->reconControl[rbuf->row]; reconCtrlPtr 587 dev/raidframe/rf_raid1.c RF_ASSERT(rbuf->col != reconCtrlPtr->fcol); reconCtrlPtr 605 dev/raidframe/rf_raid1.c RF_LOCK_MUTEX(reconCtrlPtr->rb_mutex); reconCtrlPtr 607 dev/raidframe/rf_raid1.c pssPtr = rf_LookupRUStatus(raidPtr, reconCtrlPtr->pssTable, reconCtrlPtr 633 dev/raidframe/rf_raid1.c t = reconCtrlPtr->committedRbufs; reconCtrlPtr 635 dev/raidframe/rf_raid1.c reconCtrlPtr->committedRbufs = t->next; reconCtrlPtr 638 dev/raidframe/rf_raid1.c if (reconCtrlPtr->floatingRbufs) { reconCtrlPtr 644 dev/raidframe/rf_raid1.c t = reconCtrlPtr->floatingRbufs; reconCtrlPtr 645 dev/raidframe/rf_raid1.c reconCtrlPtr->floatingRbufs = t->next; reconCtrlPtr 670 dev/raidframe/rf_raid1.c if (reconCtrlPtr->bufferWaitList == NULL) { reconCtrlPtr 672 dev/raidframe/rf_raid1.c reconCtrlPtr->bufferWaitList = cb; reconCtrlPtr 675 dev/raidframe/rf_raid1.c for (p = reconCtrlPtr->bufferWaitList; p->next; reconCtrlPtr 684 dev/raidframe/rf_raid1.c t->col = reconCtrlPtr->fcol; reconCtrlPtr 707 dev/raidframe/rf_raid1.c rf_CheckForFullRbuf(raidPtr, reconCtrlPtr, pssPtr, 1); reconCtrlPtr 711 dev/raidframe/rf_raid1.c RF_UNLOCK_MUTEX(reconCtrlPtr->rb_mutex); reconCtrlPtr 132 dev/raidframe/rf_reconbuffer.c RF_ReconCtrl_t *reconCtrlPtr = raidPtr->reconControl[rbuf->row]; reconCtrlPtr 145 dev/raidframe/rf_reconbuffer.c RF_ASSERT(rbuf->col != reconCtrlPtr->fcol); reconCtrlPtr 154 dev/raidframe/rf_reconbuffer.c RF_LOCK_MUTEX(reconCtrlPtr->rb_mutex); reconCtrlPtr 156 dev/raidframe/rf_reconbuffer.c pssPtr = rf_LookupRUStatus(raidPtr, reconCtrlPtr->pssTable, reconCtrlPtr 204 dev/raidframe/rf_reconbuffer.c rf_CheckForFullRbuf(raidPtr, reconCtrlPtr, pssPtr, reconCtrlPtr 212 dev/raidframe/rf_reconbuffer.c t = reconCtrlPtr->committedRbufs; reconCtrlPtr 214 dev/raidframe/rf_reconbuffer.c reconCtrlPtr->committedRbufs = t->next; reconCtrlPtr 220 dev/raidframe/rf_reconbuffer.c RF_UNLOCK_MUTEX(reconCtrlPtr->rb_mutex); reconCtrlPtr 233 dev/raidframe/rf_reconbuffer.c t = reconCtrlPtr->committedRbufs; reconCtrlPtr 235 dev/raidframe/rf_reconbuffer.c reconCtrlPtr->committedRbufs = t->next; reconCtrlPtr 238 dev/raidframe/rf_reconbuffer.c if (reconCtrlPtr->floatingRbufs) { reconCtrlPtr 239 dev/raidframe/rf_reconbuffer.c t = reconCtrlPtr->floatingRbufs; reconCtrlPtr 240 dev/raidframe/rf_reconbuffer.c reconCtrlPtr->floatingRbufs = t->next; reconCtrlPtr 269 dev/raidframe/rf_reconbuffer.c if (!reconCtrlPtr->bufferWaitList) reconCtrlPtr 270 dev/raidframe/rf_reconbuffer.c reconCtrlPtr->bufferWaitList = cb; reconCtrlPtr 276 dev/raidframe/rf_reconbuffer.c for (p = reconCtrlPtr->bufferWaitList; p->next; reconCtrlPtr 296 dev/raidframe/rf_reconbuffer.c t->col = reconCtrlPtr->fcol; reconCtrlPtr 321 dev/raidframe/rf_reconbuffer.c rf_CheckForFullRbuf(raidPtr, reconCtrlPtr, pssPtr, reconCtrlPtr 326 dev/raidframe/rf_reconbuffer.c RF_UNLOCK_MUTEX(reconCtrlPtr->rb_mutex); reconCtrlPtr 387 dev/raidframe/rf_reconbuffer.c rf_GetFullReconBuffer(RF_ReconCtrl_t *reconCtrlPtr) reconCtrlPtr 391 dev/raidframe/rf_reconbuffer.c RF_LOCK_MUTEX(reconCtrlPtr->rb_mutex); reconCtrlPtr 393 dev/raidframe/rf_reconbuffer.c if ((p = reconCtrlPtr->priorityList) != NULL) { reconCtrlPtr 394 dev/raidframe/rf_reconbuffer.c reconCtrlPtr->priorityList = p->next; reconCtrlPtr 398 dev/raidframe/rf_reconbuffer.c if ((p = reconCtrlPtr->fullBufferList) != NULL) { reconCtrlPtr 399 dev/raidframe/rf_reconbuffer.c reconCtrlPtr->fullBufferList = p->next; reconCtrlPtr 404 dev/raidframe/rf_reconbuffer.c RF_UNLOCK_MUTEX(reconCtrlPtr->rb_mutex); reconCtrlPtr 1565 dev/raidframe/rf_reconstruct.c RF_ReconCtrl_t *reconCtrlPtr = raidPtr->reconControl[row]; reconCtrlPtr 1570 dev/raidframe/rf_reconstruct.c RF_ASSERT(hsCtr >= reconCtrlPtr->minHeadSepCounter); reconCtrlPtr 1573 dev/raidframe/rf_reconstruct.c RF_LOCK_MUTEX(reconCtrlPtr->rb_mutex); reconCtrlPtr 1577 dev/raidframe/rf_reconstruct.c if (i != reconCtrlPtr->fcol) { reconCtrlPtr 1578 dev/raidframe/rf_reconstruct.c if (reconCtrlPtr->perDiskInfo[i].headSepCounter < reconCtrlPtr 1581 dev/raidframe/rf_reconstruct.c reconCtrlPtr->perDiskInfo[i].headSepCounter; reconCtrlPtr 1584 dev/raidframe/rf_reconstruct.c if (new_min != reconCtrlPtr->minHeadSepCounter) { reconCtrlPtr 1585 dev/raidframe/rf_reconstruct.c reconCtrlPtr->minHeadSepCounter = new_min; reconCtrlPtr 1588 dev/raidframe/rf_reconstruct.c while (reconCtrlPtr->headSepCBList) { reconCtrlPtr 1589 dev/raidframe/rf_reconstruct.c if (reconCtrlPtr->headSepCBList->callbackArg.v > reconCtrlPtr 1592 dev/raidframe/rf_reconstruct.c p = reconCtrlPtr->headSepCBList; reconCtrlPtr 1593 dev/raidframe/rf_reconstruct.c reconCtrlPtr->headSepCBList = p->next; reconCtrlPtr 1601 dev/raidframe/rf_reconstruct.c RF_UNLOCK_MUTEX(reconCtrlPtr->rb_mutex); reconCtrlPtr 1626 dev/raidframe/rf_reconstruct.c RF_ReconCtrl_t *reconCtrlPtr = raidPtr->reconControl[row]; reconCtrlPtr 1638 dev/raidframe/rf_reconstruct.c RF_LOCK_MUTEX(reconCtrlPtr->rb_mutex); reconCtrlPtr 1640 dev/raidframe/rf_reconstruct.c ((ctrl->headSepCounter - reconCtrlPtr->minHeadSepCounter) > reconCtrlPtr 1645 dev/raidframe/rf_reconstruct.c reconCtrlPtr->minHeadSepCounter, raidPtr->headSepLimit); reconCtrlPtr 1661 dev/raidframe/rf_reconstruct.c p = reconCtrlPtr->headSepCBList; reconCtrlPtr 1663 dev/raidframe/rf_reconstruct.c reconCtrlPtr->headSepCBList = cb; reconCtrlPtr 1666 dev/raidframe/rf_reconstruct.c cb->next = reconCtrlPtr->headSepCBList; reconCtrlPtr 1667 dev/raidframe/rf_reconstruct.c reconCtrlPtr->headSepCBList = cb; reconCtrlPtr 1680 dev/raidframe/rf_reconstruct.c RF_UNLOCK_MUTEX(reconCtrlPtr->rb_mutex); reconCtrlPtr 64 dev/raidframe/rf_reconutil.c RF_ReconCtrl_t *reconCtrlPtr; reconCtrlPtr 76 dev/raidframe/rf_reconutil.c RF_Calloc(reconCtrlPtr, 1, sizeof(RF_ReconCtrl_t), (RF_ReconCtrl_t *)); reconCtrlPtr 78 dev/raidframe/rf_reconutil.c RF_Calloc(reconCtrlPtr->perDiskInfo, raidPtr->numCol, reconCtrlPtr 80 dev/raidframe/rf_reconutil.c reconCtrlPtr->reconDesc = reconDesc; reconCtrlPtr 81 dev/raidframe/rf_reconutil.c reconCtrlPtr->fcol = fcol; reconCtrlPtr 82 dev/raidframe/rf_reconutil.c reconCtrlPtr->spareRow = srow; reconCtrlPtr 83 dev/raidframe/rf_reconutil.c reconCtrlPtr->spareCol = scol; reconCtrlPtr 84 dev/raidframe/rf_reconutil.c reconCtrlPtr->lastPSID = layoutPtr->numStripe / layoutPtr->SUsPerPU; reconCtrlPtr 85 dev/raidframe/rf_reconutil.c reconCtrlPtr->percentComplete = 0; reconCtrlPtr 89 dev/raidframe/rf_reconutil.c reconCtrlPtr->perDiskInfo[i].reconCtrl = reconCtrlPtr; reconCtrlPtr 90 dev/raidframe/rf_reconutil.c reconCtrlPtr->perDiskInfo[i].row = frow; reconCtrlPtr 91 dev/raidframe/rf_reconutil.c reconCtrlPtr->perDiskInfo[i].col = i; reconCtrlPtr 93 dev/raidframe/rf_reconutil.c reconCtrlPtr->perDiskInfo[i].curPSID = -1; reconCtrlPtr 94 dev/raidframe/rf_reconutil.c reconCtrlPtr->perDiskInfo[i].ru_count = RUsPerPU - 1; reconCtrlPtr 118 dev/raidframe/rf_reconutil.c reconCtrlPtr->reconMap = rf_MakeReconMap(raidPtr, reconCtrlPtr 124 dev/raidframe/rf_reconutil.c reconCtrlPtr->perDiskInfo[i].rbuf = (i == fcol) ? NULL : reconCtrlPtr 130 dev/raidframe/rf_reconutil.c rc = rf_mutex_init(&reconCtrlPtr->eq_mutex); reconCtrlPtr 137 dev/raidframe/rf_reconutil.c rc = rf_cond_init(&reconCtrlPtr->eq_cond); reconCtrlPtr 144 dev/raidframe/rf_reconutil.c reconCtrlPtr->eventQueue = NULL; reconCtrlPtr 145 dev/raidframe/rf_reconutil.c reconCtrlPtr->eq_count = 0; reconCtrlPtr 148 dev/raidframe/rf_reconutil.c rc = rf_mutex_init(&reconCtrlPtr->rb_mutex); reconCtrlPtr 155 dev/raidframe/rf_reconutil.c reconCtrlPtr->fullBufferList = NULL; reconCtrlPtr 156 dev/raidframe/rf_reconutil.c reconCtrlPtr->priorityList = NULL; reconCtrlPtr 157 dev/raidframe/rf_reconutil.c reconCtrlPtr->floatingRbufs = NULL; reconCtrlPtr 158 dev/raidframe/rf_reconutil.c reconCtrlPtr->committedRbufs = NULL; reconCtrlPtr 162 dev/raidframe/rf_reconutil.c rbuf->next = reconCtrlPtr->floatingRbufs; reconCtrlPtr 163 dev/raidframe/rf_reconutil.c reconCtrlPtr->floatingRbufs = rbuf; reconCtrlPtr 167 dev/raidframe/rf_reconutil.c reconCtrlPtr->pssTable = rf_MakeParityStripeStatusTable(raidPtr); reconCtrlPtr 170 dev/raidframe/rf_reconutil.c reconCtrlPtr->minHeadSepCounter = 0; reconCtrlPtr 172 dev/raidframe/rf_reconutil.c return (reconCtrlPtr); reconCtrlPtr 178 dev/raidframe/rf_reconutil.c RF_ReconCtrl_t *reconCtrlPtr = raidPtr->reconControl[row]; reconCtrlPtr 182 dev/raidframe/rf_reconutil.c RF_ASSERT(reconCtrlPtr); reconCtrlPtr 184 dev/raidframe/rf_reconutil.c if (reconCtrlPtr->perDiskInfo[i].rbuf) reconCtrlPtr 185 dev/raidframe/rf_reconutil.c rf_FreeReconBuffer(reconCtrlPtr->perDiskInfo[i].rbuf); reconCtrlPtr 187 dev/raidframe/rf_reconutil.c t = reconCtrlPtr->floatingRbufs; reconCtrlPtr 189 dev/raidframe/rf_reconutil.c reconCtrlPtr->floatingRbufs = t->next; reconCtrlPtr 192 dev/raidframe/rf_reconutil.c rf_mutex_destroy(&reconCtrlPtr->rb_mutex); reconCtrlPtr 193 dev/raidframe/rf_reconutil.c rf_mutex_destroy(&reconCtrlPtr->eq_mutex); reconCtrlPtr 194 dev/raidframe/rf_reconutil.c rf_cond_destroy(&reconCtrlPtr->eq_cond); reconCtrlPtr 195 dev/raidframe/rf_reconutil.c rf_FreeReconMap(reconCtrlPtr->reconMap); reconCtrlPtr 196 dev/raidframe/rf_reconutil.c rf_FreeParityStripeStatusTable(raidPtr, reconCtrlPtr->pssTable); reconCtrlPtr 197 dev/raidframe/rf_reconutil.c RF_Free(reconCtrlPtr->perDiskInfo, raidPtr->numCol * reconCtrlPtr 199 dev/raidframe/rf_reconutil.c RF_Free(reconCtrlPtr, sizeof(*reconCtrlPtr));