Lines Matching refs:pda

180 	RF_PhysDiskAddr_t *pda, *parityPDA;  in rf_CommonCreateSimpleDegradedWriteDAG()  local
310 for (i = 0, pda = new_asm_h[0]->stripeMap->physInfo; in rf_CommonCreateSimpleDegradedWriteDAG()
312 i++, pda = pda->next) { in rf_CommonCreateSimpleDegradedWriteDAG()
315 RF_ASSERT(pda); in rf_CommonCreateSimpleDegradedWriteDAG()
316 tmprrdNode->params[0].p = pda; in rf_CommonCreateSimpleDegradedWriteDAG()
317 tmprrdNode->params[1].p = pda->bufPtr; in rf_CommonCreateSimpleDegradedWriteDAG()
327 for (j = 0, pda = new_asm_h[1]->stripeMap->physInfo; in rf_CommonCreateSimpleDegradedWriteDAG()
329 j++, pda = pda->next) { in rf_CommonCreateSimpleDegradedWriteDAG()
332 RF_ASSERT(pda); in rf_CommonCreateSimpleDegradedWriteDAG()
333 tmprrdNode->params[0].p = pda; in rf_CommonCreateSimpleDegradedWriteDAG()
334 tmprrdNode->params[1].p = pda->bufPtr; in rf_CommonCreateSimpleDegradedWriteDAG()
337 if (allowBufferRecycle && (pda->numSector == failedPDA->numSector)) in rf_CommonCreateSimpleDegradedWriteDAG()
338 xorTargetBuf = pda->bufPtr; in rf_CommonCreateSimpleDegradedWriteDAG()
403 for (pda = asmap->physInfo, i = 0; i < nWndNodes; i++, pda = pda->next) { in rf_CommonCreateSimpleDegradedWriteDAG()
404 if (pda == failedPDA) { in rf_CommonCreateSimpleDegradedWriteDAG()
410 RF_ASSERT(pda); in rf_CommonCreateSimpleDegradedWriteDAG()
411 tmpwndNode->params[0].p = pda; in rf_CommonCreateSimpleDegradedWriteDAG()
412 tmpwndNode->params[1].p = pda->bufPtr; in rf_CommonCreateSimpleDegradedWriteDAG()
438 pda = rf_AllocPhysDiskAddr(raidPtr); in rf_CommonCreateSimpleDegradedWriteDAG()
439 memcpy((char *) pda, (char *) tmpwndNode->params[0].p, sizeof(RF_PhysDiskAddr_t)); in rf_CommonCreateSimpleDegradedWriteDAG()
441 pda->next = dag_h->pda_cleanup_list; in rf_CommonCreateSimpleDegradedWriteDAG()
442 dag_h->pda_cleanup_list = pda; in rf_CommonCreateSimpleDegradedWriteDAG()
443 rf_RangeRestrictPDA(raidPtr, failedPDA, pda, RF_RESTRICT_DOBUFFER, 0); in rf_CommonCreateSimpleDegradedWriteDAG()
444 xorNode->params[paramNum++].p = pda; in rf_CommonCreateSimpleDegradedWriteDAG()
445 xorNode->params[paramNum++].p = pda->bufPtr; in rf_CommonCreateSimpleDegradedWriteDAG()
723 RF_PhysDiskAddr_t *pda, *pqPDAs; in rf_DoubleDegSmallWrite() local
794 pda = npdas; in rf_DoubleDegSmallWrite()
795 for (i = 0; i < nRrdNodes; i++, pda = pda->next) { in rf_DoubleDegSmallWrite()
797 DISK_NODE_PARAMS(rrdNodes[i], pda); in rf_DoubleDegSmallWrite()
801 pda = pqPDAs; in rf_DoubleDegSmallWrite()
803 RF_ASSERT(pda); in rf_DoubleDegSmallWrite()
804 DISK_NODE_PARAMS(rpNodes[0], pda); in rf_DoubleDegSmallWrite()
805 pda++; in rf_DoubleDegSmallWrite()
807 RF_ASSERT(pda); in rf_DoubleDegSmallWrite()
808 DISK_NODE_PARAMS(rqNodes[0], pda); in rf_DoubleDegSmallWrite()
810 pda++; in rf_DoubleDegSmallWrite()
812 RF_ASSERT(pda); in rf_DoubleDegSmallWrite()
813 DISK_NODE_PARAMS(rpNodes[1], pda); in rf_DoubleDegSmallWrite()
814 pda++; in rf_DoubleDegSmallWrite()
816 RF_ASSERT(pda); in rf_DoubleDegSmallWrite()
817 DISK_NODE_PARAMS(rqNodes[1], pda); in rf_DoubleDegSmallWrite()
850 pda = pqPDAs; in rf_DoubleDegSmallWrite()
851 recoveryNode->results[0] = pda; in rf_DoubleDegSmallWrite()
852 pda++; in rf_DoubleDegSmallWrite()
853 recoveryNode->results[1] = pda; in rf_DoubleDegSmallWrite()
855 pda++; in rf_DoubleDegSmallWrite()
856 recoveryNode->results[2] = pda; in rf_DoubleDegSmallWrite()
857 pda++; in rf_DoubleDegSmallWrite()
858 recoveryNode->results[3] = pda; in rf_DoubleDegSmallWrite()
867 pda = asmap->physInfo; in rf_DoubleDegSmallWrite()
870 DISK_NODE_PARAMS(wudNodes[i], pda); in rf_DoubleDegSmallWrite()
872 pda = pda->next; in rf_DoubleDegSmallWrite()
875 pda = pqPDAs; in rf_DoubleDegSmallWrite()
877 RF_ASSERT(pda); in rf_DoubleDegSmallWrite()
878 DISK_NODE_PARAMS(wpNodes[0], pda); in rf_DoubleDegSmallWrite()
879 pda++; in rf_DoubleDegSmallWrite()
881 RF_ASSERT(pda); in rf_DoubleDegSmallWrite()
882 DISK_NODE_PARAMS(wqNodes[0], pda); in rf_DoubleDegSmallWrite()
884 pda++; in rf_DoubleDegSmallWrite()
886 RF_ASSERT(pda); in rf_DoubleDegSmallWrite()
887 DISK_NODE_PARAMS(wpNodes[1], pda); in rf_DoubleDegSmallWrite()
888 pda++; in rf_DoubleDegSmallWrite()
890 RF_ASSERT(pda); in rf_DoubleDegSmallWrite()
891 DISK_NODE_PARAMS(wqNodes[1], pda); in rf_DoubleDegSmallWrite()