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

  /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_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_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_evenodd_dagfuncs.c 102 * e-pda */
109 RF_PhysDiskAddr_t *pda; local in function:rf_RegularONEFunc
132 pda = (RF_PhysDiskAddr_t *) node->params[i].p;
134 scol = rf_EUCol(layoutPtr, pda->raidAddress);
135 suoffset = rf_StripeUnitOffset(layoutPtr, pda->startSector);
137 rf_e_encToBuf(raidPtr, scol, srcbuf, RF_EO_MATRIX_DIM - 2, destbuf, pda->numSector);
156 RF_PhysDiskAddr_t *pda = (RF_PhysDiskAddr_t *) node->params[0].p; local in function:rf_SimpleONEFunc
167 length = rf_RaidAddressToByte(raidPtr, ((RF_PhysDiskAddr_t *) node->params[4].p)->numSector); /* this is a pda of
173 scol = rf_EUCol(layoutPtr, pda->raidAddress);
177 rf_e_encToBuf(raidPtr, scol, srcbuf, RF_EO_MATRIX_DIM - 2, destbuf, pda->numSector)
196 RF_PhysDiskAddr_t *pda; local in function:rf_RegularESubroutine
247 RF_PhysDiskAddr_t *pda; local in function:rf_DegrESubroutine
395 RF_PhysDiskAddr_t *pda; local in function:rf_RecoveryEFunc
644 RF_PhysDiskAddr_t *ppda, *ppda2, *epda, *epda2, *pda, *pda0, *pda1, local in function:rf_EvenOddDoubleRecoveryFunc
838 RF_PhysDiskAddr_t *ppda, *epda, *pda, *fpda, npda; local in function:rf_EOWriteDoubleRecoveryFunc
    [all...]
rf_map.c 113 /* may also need pda(s) per stripe for parity */
274 RF_PhysDiskAddr_t *pda; local in function:rf_MarkFailuresInASMList
283 for (pda = asmap->physInfo; pda; pda = pda->next) {
284 if (RF_DEAD_DISK(disks[pda->col].status)) {
286 asmap->failedPDAs[asmap->numFailedPDAs] = pda;
290 pda = asmap->parityInfo;
291 if (pda && RF_DEAD_DISK(disks[pda->col].status))
    [all...]
rf_dagutils.c 183 RF_PhysDiskAddr_t *pda; local in function:rf_FreeDAG
200 pda = dag_h->pda_cleanup_list;
202 rf_FreePhysDiskAddr(raidPtr, pda);
399 caller (ie. the data of the associated PDA). Glue this buffer
500 RF_PhysDiskAddr_t *pda; local in function:rf_PrintNodeInfoString
508 pda = (RF_PhysDiskAddr_t *) node->params[0].p;
513 printf("c %d offs %ld nsect %d buf 0x%lx %s\n", pda->col,
514 (long) pda->startSector, (int) pda->numSector, (long) bufPtr,
522 pda = (RF_PhysDiskAddr_t *) node->params[i].p
920 RF_PhysDiskAddr_t *pda; local in function:rf_redirect_asm
1083 RF_PhysDiskAddr_t *pda; local in function:rf_GenerateFailedAccessASMs
    [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);

Completed in 73 milliseconds