/src/sys/dev/raidframe/ |
rf_dagffrd.c | 134 RF_PhysDiskAddr_t *pda = asmap->physInfo; local in function:rf_CreateNonredundantDAG 230 RF_ASSERT(pda != NULL); 233 tmpdiskNode->params[0].p = pda; 234 tmpdiskNode->params[1].p = pda->bufPtr; 238 pda = pda->next;
|
rf_dagffrd.c | 134 RF_PhysDiskAddr_t *pda = asmap->physInfo; local in function:rf_CreateNonredundantDAG 230 RF_ASSERT(pda != NULL); 233 tmpdiskNode->params[0].p = pda; 234 tmpdiskNode->params[1].p = pda->bufPtr; 238 pda = pda->next;
|
rf_parityloggingdags.c | 95 RF_PhysDiskAddr_t *pda; local in function:rf_CommonCreateParityLoggingLargeWriteDAG 140 pda = new_asm_h[asmNum]->stripeMap->physInfo; 141 while (pda) { 143 rodNodes[nodeNum].params[0].p = pda; 144 rodNodes[nodeNum].params[1].p = pda->bufPtr; 148 pda = pda->next; 155 pda = asmap->physInfo; 158 RF_ASSERT(pda != NULL); 159 wndNodes[i].params[0].p = pda; 335 RF_PhysDiskAddr_t *pda = asmap->physInfo; local in function:rf_CommonCreateParityLoggingSmallWriteDAG [all...] |
rf_pqdegdags.c | 57 applyPDA(RF_Raid_t * raidPtr, RF_PhysDiskAddr_t * pda, RF_PhysDiskAddr_t * ppda, 124 applyPDA(RF_Raid_t *raidPtr, RF_PhysDiskAddr_t *pda, RF_PhysDiskAddr_t *ppda, RF_PhysDiskAddr_t *qpda, const struct buf *bp) 136 suoffset = rf_StripeUnitOffset(layoutPtr, pda->startSector); 137 len = pda->numSector; 138 /* see if pda intersects a recovery pda */ 140 buf = pda->bufPtr; 141 coeff = rf_RaidAddressToStripeUnitID(&(raidPtr->Layout), pda->raidAddress); 169 The params are pda's that have not been range restricted or otherwise 173 pda, pda, ... , p pda, q pda, raidptr, as 198 RF_PhysDiskAddr_t *ppda, *qpda, *pda, npda; local in function:rf_PQDoubleRecoveryFunc 307 RF_PhysDiskAddr_t *ppda, *qpda, *pda, npda; local in function:rf_PQWriteDoubleRecoveryFunc [all...] |
rf_parityloggingdags.c | 95 RF_PhysDiskAddr_t *pda; local in function:rf_CommonCreateParityLoggingLargeWriteDAG 140 pda = new_asm_h[asmNum]->stripeMap->physInfo; 141 while (pda) { 143 rodNodes[nodeNum].params[0].p = pda; 144 rodNodes[nodeNum].params[1].p = pda->bufPtr; 148 pda = pda->next; 155 pda = asmap->physInfo; 158 RF_ASSERT(pda != NULL); 159 wndNodes[i].params[0].p = pda; 335 RF_PhysDiskAddr_t *pda = asmap->physInfo; local in function:rf_CommonCreateParityLoggingSmallWriteDAG [all...] |
rf_pqdegdags.c | 57 applyPDA(RF_Raid_t * raidPtr, RF_PhysDiskAddr_t * pda, RF_PhysDiskAddr_t * ppda, 124 applyPDA(RF_Raid_t *raidPtr, RF_PhysDiskAddr_t *pda, RF_PhysDiskAddr_t *ppda, RF_PhysDiskAddr_t *qpda, const struct buf *bp) 136 suoffset = rf_StripeUnitOffset(layoutPtr, pda->startSector); 137 len = pda->numSector; 138 /* see if pda intersects a recovery pda */ 140 buf = pda->bufPtr; 141 coeff = rf_RaidAddressToStripeUnitID(&(raidPtr->Layout), pda->raidAddress); 169 The params are pda's that have not been range restricted or otherwise 173 pda, pda, ... , p pda, q pda, raidptr, as 198 RF_PhysDiskAddr_t *ppda, *qpda, *pda, npda; local in function:rf_PQDoubleRecoveryFunc 307 RF_PhysDiskAddr_t *ppda, *qpda, *pda, npda; local in function:rf_PQWriteDoubleRecoveryFunc [all...] |
rf_netbsd.h | 74 struct pool pda; /* Physical Disk Access structures */ member in struct:RF_Pools_s 100 char pda[RF_MAX_POOLNAMELEN]; /* Physical Disk Access structures */ member in struct:RF_PoolNames_s
|
rf_parityscan.c | 206 RF_PhysDiskAddr_t *pda; local in function:rf_VerifyParityBasic 236 for (pda = asmap->physInfo, i = 0; i < layoutPtr->numDataCol; i++, pda = pda->next) { 237 RF_ASSERT(pda); 238 rf_RangeRestrictPDA(raidPtr, parityPDA, pda, 0, 1); 239 RF_ASSERT(pda->numSector != 0); 240 if (rf_TryToRedirectPDA(raidPtr, pda, 0)) 243 blockNode->succedents[i]->params[0].p = pda; 340 rf_TryToRedirectPDA(RF_Raid_t *raidPtr, RF_PhysDiskAddr_t *pda, [all...] |
rf_raid1.c | 275 RF_PhysDiskAddr_t *pda; local in function:rf_VerifyParityRAID1 335 for (pda = aasm->physInfo, i = 0; i < layoutPtr->numDataCol; i++, pda = pda->next) { 336 RF_ASSERT(pda); 338 rf_RangeRestrictPDA(raidPtr, parityPDA, pda, 0, 1); 340 RF_ASSERT(pda->numSector != 0); 341 if (rf_TryToRedirectPDA(raidPtr, pda, 0)) { 345 pda->bufPtr = buf1; 346 blockNode->succedents[i]->params[0].p = pda; [all...] |
rf_dagffwr.c | 182 RF_PhysDiskAddr_t *pda; local in function:rf_CommonCreateLargeWriteDAG 273 pda = new_asm_h[asmNum]->stripeMap->physInfo; 274 while (pda) { 281 tmpNode->params[0].p = pda; 282 tmpNode->params[1].p = pda->bufPtr; 287 pda = pda->next; 295 pda = asmap->physInfo; 302 RF_ASSERT(pda != NULL); 303 tmpNode->params[0].p = pda; 545 RF_PhysDiskAddr_t *pda; local in function:rf_CommonCreateSmallWriteDAG 1208 RF_PhysDiskAddr_t *pda, *pdaP; local in function:rf_CreateRaidOneWriteDAG [all...] |
rf_pq.c | 503 pda_0, buffer_0, .... pda_n, buffer_n, P pda, P buffer, failedPDA, raidPtr 510 * the second-to-last parameter is the PDA for the failed portion of the access. 511 * the code here looks at this PDA and assumes that the xor target buffer is 512 * equal in size to the number of sectors in the failed PDA. It then uses 537 RF_PhysDiskAddr_t *pda = NULL; local in function:rf_RecoveryQFunc 550 pda = (RF_PhysDiskAddr_t *) node->params[i].p; 552 suoffset = rf_StripeUnitOffset(layoutPtr, pda->startSector); 554 coeff = rf_RaidAddressToStripeUnitID(&(raidPtr->Layout), pda->raidAddress); 557 rf_IncQ((unsigned long *) destbuf, (unsigned long *) srcbuf, rf_RaidAddressToByte(raidPtr, pda->numSector), coeff); 561 rf_InvertQ(node->results[0], node->results[0], rf_RaidAddressToByte(raidPtr, pda->numSector), coeff) [all...] |
rf_evenodd.c | 344 RF_PhysDiskAddr_t *pda; local in function:rf_VerifyParityEvenOdd 376 for (pda = asmap->physInfo, i = 0; i < layoutPtr->numDataCol; i++, pda = pda->next) { 377 RF_ASSERT(pda); 378 rf_RangeRestrictPDA(raidPtr, parityPDA, pda, 0, 1); 379 RF_ASSERT(pda->numSector != 0); 380 if (rf_TryToRedirectPDA(raidPtr, pda, 0)) 383 blockNode->succedents[i]->params[0].p = pda;
|
rf_netbsd.h | 74 struct pool pda; /* Physical Disk Access structures */ member in struct:RF_Pools_s 100 char pda[RF_MAX_POOLNAMELEN]; /* Physical Disk Access structures */ member in struct:RF_PoolNames_s
|
rf_parityscan.c | 206 RF_PhysDiskAddr_t *pda; local in function:rf_VerifyParityBasic 236 for (pda = asmap->physInfo, i = 0; i < layoutPtr->numDataCol; i++, pda = pda->next) { 237 RF_ASSERT(pda); 238 rf_RangeRestrictPDA(raidPtr, parityPDA, pda, 0, 1); 239 RF_ASSERT(pda->numSector != 0); 240 if (rf_TryToRedirectPDA(raidPtr, pda, 0)) 243 blockNode->succedents[i]->params[0].p = pda; 340 rf_TryToRedirectPDA(RF_Raid_t *raidPtr, RF_PhysDiskAddr_t *pda, [all...] |
rf_raid1.c | 275 RF_PhysDiskAddr_t *pda; local in function:rf_VerifyParityRAID1 335 for (pda = aasm->physInfo, i = 0; i < layoutPtr->numDataCol; i++, pda = pda->next) { 336 RF_ASSERT(pda); 338 rf_RangeRestrictPDA(raidPtr, parityPDA, pda, 0, 1); 340 RF_ASSERT(pda->numSector != 0); 341 if (rf_TryToRedirectPDA(raidPtr, pda, 0)) { 345 pda->bufPtr = buf1; 346 blockNode->succedents[i]->params[0].p = pda; [all...] |
rf_dagffwr.c | 182 RF_PhysDiskAddr_t *pda; local in function:rf_CommonCreateLargeWriteDAG 273 pda = new_asm_h[asmNum]->stripeMap->physInfo; 274 while (pda) { 281 tmpNode->params[0].p = pda; 282 tmpNode->params[1].p = pda->bufPtr; 287 pda = pda->next; 295 pda = asmap->physInfo; 302 RF_ASSERT(pda != NULL); 303 tmpNode->params[0].p = pda; 545 RF_PhysDiskAddr_t *pda; local in function:rf_CommonCreateSmallWriteDAG 1208 RF_PhysDiskAddr_t *pda, *pdaP; local in function:rf_CreateRaidOneWriteDAG [all...] |
rf_pq.c | 503 pda_0, buffer_0, .... pda_n, buffer_n, P pda, P buffer, failedPDA, raidPtr 510 * the second-to-last parameter is the PDA for the failed portion of the access. 511 * the code here looks at this PDA and assumes that the xor target buffer is 512 * equal in size to the number of sectors in the failed PDA. It then uses 537 RF_PhysDiskAddr_t *pda = NULL; local in function:rf_RecoveryQFunc 550 pda = (RF_PhysDiskAddr_t *) node->params[i].p; 552 suoffset = rf_StripeUnitOffset(layoutPtr, pda->startSector); 554 coeff = rf_RaidAddressToStripeUnitID(&(raidPtr->Layout), pda->raidAddress); 557 rf_IncQ((unsigned long *) destbuf, (unsigned long *) srcbuf, rf_RaidAddressToByte(raidPtr, pda->numSector), coeff); 561 rf_InvertQ(node->results[0], node->results[0], rf_RaidAddressToByte(raidPtr, pda->numSector), coeff) [all...] |
rf_evenodd.c | 344 RF_PhysDiskAddr_t *pda; local in function:rf_VerifyParityEvenOdd 376 for (pda = asmap->physInfo, i = 0; i < layoutPtr->numDataCol; i++, pda = pda->next) { 377 RF_ASSERT(pda); 378 rf_RangeRestrictPDA(raidPtr, parityPDA, pda, 0, 1); 379 RF_ASSERT(pda->numSector != 0); 380 if (rf_TryToRedirectPDA(raidPtr, pda, 0)) 383 blockNode->succedents[i]->params[0].p = pda;
|
rf_dagdegrd.c | 124 RF_PhysDiskAddr_t *pda; local in function:rf_CreateRaidOneDegradedReadDAG 175 pda = asmap->physInfo; 176 RF_ASSERT(pda != NULL); 185 rdNode->params[0].p = pda; 186 rdNode->params[1].p = pda->bufPtr; 195 rdNode->params[1].p = pda->bufPtr; 277 RF_PhysDiskAddr_t *pda, *parityPDA; local in function:rf_CreateDegradedReadDAG 284 /* failedPDA points to the pda within the asm that targets the failed 312 * -1 because no access is generated for the failed pda 371 for (pda = asmap->physInfo, i = 0; i < nRudNodes; i++, pda = pda->next) 584 RF_PhysDiskAddr_t *pda; local in function:rf_CreateRaidCDegradedReadDAG 1048 RF_PhysDiskAddr_t *pda, *pqPDAs; local in function:rf_DoubleDegRead [all...] |
rf_dagfuncs.c | 168 RF_PhysDiskAddr_t *pda = (RF_PhysDiskAddr_t *) node->params[0].p; local in function:rf_ParityLogUpdateFunc 180 logData = rf_CreateParityLogData(RF_UPDATE, pda, bf, 204 RF_PhysDiskAddr_t *pda = (RF_PhysDiskAddr_t *) node->params[0].p; local in function:rf_ParityLogOverwriteFunc 216 logData = rf_CreateParityLogData(RF_OVERWRITE, pda, bf, 268 RF_PhysDiskAddr_t *pda = (RF_PhysDiskAddr_t *) node->params[0].p; local in function:rf_DiskReadFuncForThreads 276 req = rf_CreateDiskQueueData(iotype, pda->startSector, pda->numSector, 286 rf_DiskIOEnqueue(&(dqs[pda->col]), req, priority); 297 RF_PhysDiskAddr_t *pda = (RF_PhysDiskAddr_t *) node->params[0].p; local in function:rf_DiskWriteFuncForThreads 306 req = rf_CreateDiskQueueData(iotype, pda->startSector, pda->numSector 328 RF_PhysDiskAddr_t *pda = (RF_PhysDiskAddr_t *) node->params[0].p; local in function:rf_DiskUndoFunc 483 RF_PhysDiskAddr_t *pda; local in function:rf_RecoveryXorFunc [all...] |
rf_dagdegwr.c | 180 RF_PhysDiskAddr_t *pda, *parityPDA; local in function:rf_CommonCreateSimpleDegradedWriteDAG 189 /* failedPDA points to the pda within the asm that targets the failed 213 * failed pda */ 310 for (i = 0, pda = new_asm_h[0]->stripeMap->physInfo; 312 i++, pda = pda->next) { 315 RF_ASSERT(pda); 316 tmprrdNode->params[0].p = pda; 317 tmprrdNode->params[1].p = pda->bufPtr; 327 for (j = 0, pda = new_asm_h[1]->stripeMap->physInfo 723 RF_PhysDiskAddr_t *pda, *pqPDAs; local in function:rf_DoubleDegSmallWrite [all...] |
rf_dagdegrd.c | 124 RF_PhysDiskAddr_t *pda; local in function:rf_CreateRaidOneDegradedReadDAG 175 pda = asmap->physInfo; 176 RF_ASSERT(pda != NULL); 185 rdNode->params[0].p = pda; 186 rdNode->params[1].p = pda->bufPtr; 195 rdNode->params[1].p = pda->bufPtr; 277 RF_PhysDiskAddr_t *pda, *parityPDA; local in function:rf_CreateDegradedReadDAG 284 /* failedPDA points to the pda within the asm that targets the failed 312 * -1 because no access is generated for the failed pda 371 for (pda = asmap->physInfo, i = 0; i < nRudNodes; i++, pda = pda->next) 584 RF_PhysDiskAddr_t *pda; local in function:rf_CreateRaidCDegradedReadDAG 1048 RF_PhysDiskAddr_t *pda, *pqPDAs; local in function:rf_DoubleDegRead [all...] |
rf_dagfuncs.c | 168 RF_PhysDiskAddr_t *pda = (RF_PhysDiskAddr_t *) node->params[0].p; local in function:rf_ParityLogUpdateFunc 180 logData = rf_CreateParityLogData(RF_UPDATE, pda, bf, 204 RF_PhysDiskAddr_t *pda = (RF_PhysDiskAddr_t *) node->params[0].p; local in function:rf_ParityLogOverwriteFunc 216 logData = rf_CreateParityLogData(RF_OVERWRITE, pda, bf, 268 RF_PhysDiskAddr_t *pda = (RF_PhysDiskAddr_t *) node->params[0].p; local in function:rf_DiskReadFuncForThreads 276 req = rf_CreateDiskQueueData(iotype, pda->startSector, pda->numSector, 286 rf_DiskIOEnqueue(&(dqs[pda->col]), req, priority); 297 RF_PhysDiskAddr_t *pda = (RF_PhysDiskAddr_t *) node->params[0].p; local in function:rf_DiskWriteFuncForThreads 306 req = rf_CreateDiskQueueData(iotype, pda->startSector, pda->numSector 328 RF_PhysDiskAddr_t *pda = (RF_PhysDiskAddr_t *) node->params[0].p; local in function:rf_DiskUndoFunc 483 RF_PhysDiskAddr_t *pda; local in function:rf_RecoveryXorFunc [all...] |
/src/sys/lib/libsa/ |
ustarfs.c | 310 setwindow(ust_active_t *ustf, ustoffs pda, ustoffs vda) 312 ustf->uas_windowbase = lda2vda(pda2lda(pda), ustf->uas_volsize, 321 ustoffs pda; local in function:read512block 358 pda = lda2pda(vda2lda(vda, ustf->uas_volsize)); 359 pda-= pda % sizeof ustf->uas_1cyl; 360 e = ustarfs_cylinder_read(f, pda, 0); 363 setwindow(ustf, pda, vda);
|
ustarfs.c | 310 setwindow(ust_active_t *ustf, ustoffs pda, ustoffs vda) 312 ustf->uas_windowbase = lda2vda(pda2lda(pda), ustf->uas_volsize, 321 ustoffs pda; local in function:read512block 358 pda = lda2pda(vda2lda(vda, ustf->uas_volsize)); 359 pda-= pda % sizeof ustf->uas_1cyl; 360 e = ustarfs_cylinder_read(f, pda, 0); 363 setwindow(ustf, pda, vda);
|