HomeSort by: relevance | last modified time | path
    Searched refs:startSector (Results 1 - 19 of 19) sorted by relevancy

  /src/sys/dev/raidframe/
rf_stripelocks.h 92 (_lrd).start = (_asm)->parityInfo->startSector; \
93 (_lrd).stop = (_asm)->parityInfo->startSector + (_asm)->parityInfo->numSector-1; \
95 (_lrd).start2 = (_asm)->parityInfo->next->startSector; \
96 (_lrd).stop2 = (_asm)->parityInfo->next->startSector + (_asm)->parityInfo->next->numSector-1; \
rf_reconmap.c 126 * is sorted by startSector, and so this is the only condition I
135 RF_SectorNum_t startSector, RF_SectorNum_t stopSector)
147 RF_ASSERT(startSector >= 0 && stopSector < mapPtr->sectorsInDisk &&
148 stopSector >= startSector);
150 while (startSector <= stopSector) {
151 i = startSector / mapPtr->sectorsPerReconUnit;
203 if (p == RU_NOTHING || p->startSector > startSector) {
206 mapPtr->status[ru] = MakeReconMapListElem(mapPtr,startSector, RF_MIN(stopSector, last_in_RU), (p == RU_NOTHING) ? NULL : p);
212 } while (p && (p->startSector < startSector))
    [all...]
rf_paritylogging.h 53 RF_SectorNum_t * startSector);
56 RF_RowCol_t * col, RF_SectorNum_t * startSector,
rf_raid5.c 195 rf_CheckRUReconstructed(raidPtr->reconControl->reconMap, failedPDA->startSector) : 0
200 RF_SectorNum_t oo = failedPDA->startSector;
210 &failedPDA->col, &failedPDA->startSector, RF_REMAP);
215 RF_SectorNum_t SUoffs = p->startSector % layoutPtr->sectorsPerStripeUnit;
217 p->startSector = rf_RaidAddressOfPrevStripeUnitBoundary(layoutPtr, failedPDA->startSector) +
219 * startSector is not
230 &failedPDA->col, &failedPDA->startSector, RF_REMAP);
262 (long) failedPDA->startSector);
rf_evenodd_dagfuncs.c 113 int ESUOffset = rf_StripeUnitOffset(layoutPtr, EPDA->startSector);
135 suoffset = rf_StripeUnitOffset(layoutPtr, pda->startSector);
207 suoffset = rf_StripeUnitOffset(layoutPtr, pda->startSector);
248 int i, suoffset, failedSUOffset = rf_StripeUnitOffset(layoutPtr, failedPDA->startSector);
258 suoffset = rf_StripeUnitOffset(layoutPtr, pda->startSector);
396 int suoffset, failedSUOffset = rf_StripeUnitOffset(layoutPtr, failedPDA->startSector);
414 suoffset = rf_StripeUnitOffset(layoutPtr, pda->startSector);
650 RF_SectorNum_t startSector, endSector;
681 psuoff = rf_StripeUnitOffset(layoutPtr, ppda->startSector);
682 esuoff = rf_StripeUnitOffset(layoutPtr, epda->startSector);
    [all...]
rf_reconmap.h 73 RF_SectorNum_t startSector; /* bounding sect nums on this block */
rf_dagdegrd.c 427 parityPDA->startSector = ((asmap->parityInfo->startSector / sectorsPerSU)
428 * sectorsPerSU) + (failedPDA->startSector % sectorsPerSU);
724 fone_start = rf_StripeUnitOffset(layoutPtr, fone->startSector);
731 pda_p->startSector = ((asmap->if->startSector / secPerSU) * secPerSU) + start; \
749 ftwo_start = rf_StripeUnitOffset(layoutPtr, ftwo->startSector);
791 suoff = rf_StripeUnitOffset(layoutPtr, pda_p->startSector);
839 (raidPtr->Layout.map->MapSector) (raidPtr, pda_p->raidAddress, &(pda_p->col), &(pda_p->startSector), 0);
847 pda_p->startSector += fone_start
    [all...]
rf_map.c 171 &(pda_p->startSector),
192 /* Map the parity. At this stage, the startSector and
207 &(pda_p->col), &(pda_p->startSector), remap);
229 &(pda_p->col), &(pda_p->startSector), remap);
231 &(pda_q->col), &(pda_q->startSector), remap);
711 (int) asmap->parityInfo->startSector,
712 (int) (asmap->parityInfo->startSector +
718 (int) asmap->parityInfo->next->startSector,
719 (int) (asmap->parityInfo->next->startSector +
728 printf("SU c%d s%d-%d ", p->col, (int) p->startSector,
    [all...]
rf_dagutils.c 514 (long) pda->startSector, (int) pda->numSector, (long) bufPtr,
526 (long) pda->startSector, (int) pda->numSector);
536 pda->col, (long) pda->startSector,
928 pda->startSector)) {
936 &pda->col, &pda->startSector, RF_REMAP);
946 if (!rf_CheckRUReconstructed(raidPtr->reconControl->reconMap, pda->startSector)) {
953 (raidPtr->Layout.map->MapParity) (raidPtr, pda->raidAddress, &pda->col, &pda->startSector, RF_REMAP);
1033 RF_SectorNum_t soffs = rf_StripeUnitOffset(layoutPtr, src->startSector);
1034 RF_SectorNum_t doffs = rf_StripeUnitOffset(layoutPtr, dest->startSector);
1036 RF_SectorNum_t send = rf_StripeUnitOffset(layoutPtr, src->startSector + src->numSector - 1)
    [all...]
rf_dagdegwr.c 366 parityPDA->startSector = ((asmap->parityInfo->startSector / sectorsPerSU)
367 * sectorsPerSU) + (failedPDA->startSector % sectorsPerSU);
387 parityPDA->startSector = ((asmap->qInfo->startSector / sectorsPerSU)
388 * sectorsPerSU) + (failedPDA->startSector % sectorsPerSU);
564 pda_p->startSector = ((asmap->if->startSector / secPerSU) * secPerSU) + start; \
594 fone_start = rf_StripeUnitOffset(layoutPtr, fone->startSector);
609 ftwo_start = rf_StripeUnitOffset(layoutPtr, ftwo->startSector);
    [all...]
rf_parityscan.c 344 if (rf_CheckRUReconstructed(raidPtr->reconControl->reconMap, pda->startSector)) {
349 RF_SectorNum_t os = pda->startSector;
352 (raidPtr->Layout.map->MapParity) (raidPtr, pda->raidAddress, &pda->col, &pda->startSector, RF_REMAP);
356 oc, (long) os, pda->col, (long) pda->startSector);
359 (raidPtr->Layout.map->MapSector) (raidPtr, pda->raidAddress, &pda->col, &pda->startSector, RF_REMAP);
363 oc, (long) os, pda->col, (long) pda->startSector);
rf_paritylogging.c 754 RF_SectorNum_t * startSector)
757 *startSector = raidPtr->regionInfo[regionID].regionStartAddr + regionOffset;
768 RF_SectorNum_t * startSector,
772 *startSector = raidPtr->regionInfo[regionID].parityStartAddr;
839 rf_CheckRUReconstructed(raidPtr->reconControl->reconMap, failedPDA->startSector) : 0
843 RF_SectorNum_t oo = failedPDA->startSector;
852 &failedPDA->col, &failedPDA->startSector, RF_REMAP);
857 RF_SectorNum_t SUoffs = p->startSector % layoutPtr->sectorsPerStripeUnit;
859 p->startSector = rf_RaidAddressOfPrevStripeUnitBoundary(layoutPtr, failedPDA->startSector)
    [all...]
rf_pq.c 273 qpbuf = qbuf + rf_RaidAddressToByte(raidPtr, old->startSector % secPerSU);
379 qpbuf = qbuf + rf_RaidAddressToByte(raidPtr, old->startSector % secPerSU);
411 fail_start = old->startSector % secPerSU;
427 j = old->startSector % secPerSU;
538 RF_RaidAddr_t suoffset, failedSUOffset = rf_StripeUnitOffset(layoutPtr, failedPDA->startSector);
552 suoffset = rf_StripeUnitOffset(layoutPtr, pda->startSector);
560 coeff = (rf_RaidAddressToStripeUnitID(&(raidPtr->Layout), failedPDA->startSector) % raidPtr->Layout.numDataCol);
606 fail_start = old->startSector % secPerSU;
620 j = old->startSector % secPerSU;
rf_pqdegdags.c 127 RF_RaidAddr_t s0off = rf_StripeUnitOffset(layoutPtr, ppda->startSector);
136 suoffset = rf_StripeUnitOffset(layoutPtr, pda->startSector);
224 /* suoffset = rf_StripeUnitOffset(layoutPtr, pda->startSector); */
249 (raidPtr->Layout.map->MapSector) (raidPtr, npda.raidAddress, &(npda.col), &(npda.startSector), 0);
330 (raidPtr->Layout.map->MapSector) (raidPtr, npda.raidAddress, &(npda.col), &(npda.startSector), 0);
rf_dagfuncs.c 276 req = rf_CreateDiskQueueData(iotype, pda->startSector, pda->numSector,
306 req = rf_CreateDiskQueueData(iotype, pda->startSector, pda->numSector,
484 int suoffset, failedSUOffset = rf_StripeUnitOffset(layoutPtr, failedPDA->startSector);
499 suoffset = rf_StripeUnitOffset(layoutPtr, pda->startSector);
532 int SUOffset = pda->startSector % sectPerSU;
rf_paritylog.c 302 data->regionID = rf_MapRegionIDParityLogging(raidPtr, diskAddress->startSector);
303 if (data->regionID == rf_MapRegionIDParityLogging(raidPtr, diskAddress->startSector + diskAddress->numSector - 1)) {
315 while (data->regionID == rf_MapRegionIDParityLogging(raidPtr, diskAddress->startSector + boundary))
325 diskAddress->startSector += boundary;
807 RF_ASSERT(log->records[logItem].parityAddr.startSector >= raidPtr->regionInfo[regionID].parityStartAddr);
808 RF_ASSERT(log->records[logItem].parityAddr.startSector < raidPtr->regionInfo[regionID].parityStartAddr + raidPtr->regionInfo[regionID].numSectorsParity);
813 item->diskAddress.startSector++;
rf_layout.h 103 RF_SectorNum_t startSector; /* sector offset into the disk */
rf_paritylogDiskMgr.c 139 &((*rrd_pda)->col), &((*rrd_pda)->startSector));
191 &((*fwr_pda)->startSector));
237 &((*prd_pda)->col), &((*prd_pda)->startSector),
292 &((*pwr_pda)->col), &((*pwr_pda)->startSector),
rf_raid1.c 210 rf_CheckRUReconstructed(raidPtr->reconControl->reconMap, failedPDA->startSector) : 0
214 oo = failedPDA->startSector;
240 (long) failedPDA->startSector);

Completed in 48 milliseconds