HomeSort by: relevance | last modified time | path
    Searched defs:reconCtrlPtr (Results 1 - 4 of 4) sorted by relevancy

  /src/sys/dev/raidframe/
rf_reconutil.c 64 RF_ReconCtrl_t *reconCtrlPtr;
76 reconCtrlPtr = RF_Malloc(sizeof(*reconCtrlPtr));
79 reconCtrlPtr->perDiskInfo = RF_Malloc(raidPtr->numCol *
80 sizeof(*reconCtrlPtr->perDiskInfo));
81 reconCtrlPtr->reconDesc = reconDesc;
82 reconCtrlPtr->fcol = fcol;
83 reconCtrlPtr->spareCol = scol;
84 reconCtrlPtr->lastPSID = layoutPtr->numStripe / layoutPtr->SUsPerPU;
85 reconCtrlPtr->percentComplete = 0
    [all...]
rf_reconbuffer.c 124 RF_ReconCtrl_t *reconCtrlPtr = raidPtr->reconControl;
136 RF_ASSERT(rbuf->col != reconCtrlPtr->fcol);
143 rf_lock_mutex2(reconCtrlPtr->rb_mutex);
144 while(reconCtrlPtr->rb_lock) {
145 rf_wait_cond2(reconCtrlPtr->rb_cv, reconCtrlPtr->rb_mutex);
147 reconCtrlPtr->rb_lock = 1;
148 rf_unlock_mutex2(reconCtrlPtr->rb_mutex);
150 pssPtr = rf_LookupRUStatus(raidPtr, reconCtrlPtr->pssTable, rbuf->parityStripeID, rbuf->which_ru, RF_PSS_NONE, NULL);
184 rf_CheckForFullRbuf(raidPtr, reconCtrlPtr, pssPtr, layoutPtr->numDataCol)
    [all...]
rf_raid1.c 557 RF_ReconCtrl_t *reconCtrlPtr;
567 reconCtrlPtr = raidPtr->reconControl;
570 RF_ASSERT(rbuf->col != reconCtrlPtr->fcol);
589 rf_lock_mutex2(reconCtrlPtr->rb_mutex);
590 while(reconCtrlPtr->rb_lock) {
591 rf_wait_cond2(reconCtrlPtr->rb_cv, reconCtrlPtr->rb_mutex);
593 reconCtrlPtr->rb_lock = 1;
594 rf_unlock_mutex2(reconCtrlPtr->rb_mutex);
596 pssPtr = rf_LookupRUStatus(raidPtr, reconCtrlPtr->pssTable
    [all...]
rf_reconstruct.c 1594 RF_ReconCtrl_t *reconCtrlPtr = raidPtr->reconControl;
1598 RF_ASSERT(hsCtr >= reconCtrlPtr->minHeadSepCounter); /* from the definition
1602 rf_lock_mutex2(reconCtrlPtr->rb_mutex);
1603 while(reconCtrlPtr->rb_lock) {
1604 rf_wait_cond2(reconCtrlPtr->rb_cv, reconCtrlPtr->rb_mutex);
1606 reconCtrlPtr->rb_lock = 1;
1607 rf_unlock_mutex2(reconCtrlPtr->rb_mutex);
1611 if (i != reconCtrlPtr->fcol) {
1612 if (reconCtrlPtr->perDiskInfo[i].headSepCounter < new_min
    [all...]

Completed in 13 milliseconds