Home | History | Annotate | Download | only in raidframe

Lines Matching refs:pda

124 	RF_PhysDiskAddr_t *pda;
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;
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) {
372 if (pda == failedPDA) {
379 RF_ASSERT(pda);
380 tmprudNode->params[0].p = pda;
381 tmprudNode->params[1].p = pda->bufPtr;
391 for (pda = new_asm_h[0]->stripeMap->physInfo;
393 i++, pda = pda->next) {
397 RF_ASSERT(pda);
398 tmprrdNode->params[0].p = pda;
399 tmprrdNode->params[1].p = pda->bufPtr;
408 for (j = 0, pda = new_asm_h[1]->stripeMap->physInfo;
410 j++, pda = pda->next) {
414 RF_ASSERT(pda);
415 tmprrdNode->params[0].p = pda;
416 tmprrdNode->params[1].p = pda->bufPtr;
422 /* make a PDA for the parity unit */
456 pda = rf_AllocPhysDiskAddr(raidPtr);
457 memcpy((char *) pda, (char *) tmprudNode->params[0].p, sizeof(RF_PhysDiskAddr_t));
459 pda->next = dag_h->pda_cleanup_list;
460 dag_h->pda_cleanup_list = pda;
461 rf_RangeRestrictPDA(raidPtr, failedPDA, pda, RF_RESTRICT_DOBUFFER, 0);
462 xorNode->params[paramNum++].p = pda;
463 xorNode->params[paramNum++].p = pda->bufPtr;
468 /* install parity pda
474 * the failed PDA and the raidPtr
584 RF_PhysDiskAddr_t *pda;
636 pda = asmap->physInfo;
637 RF_ASSERT(pda != NULL);
645 if (shiftable && rf_compute_workload_shift(raidPtr, pda)) {
648 rdNode->params[1].p = pda->bufPtr;
653 rdNode->params[0].p = pda;
654 rdNode->params[1].p = pda->bufPtr;
663 rdNode->params[1].p = pda->bufPtr;
720 /* determine how many pda's we will have to generate per unaccess
780 /* figure out number of nonaccessed pda */
784 /* sweep over the over accessed pda's, figuring out the number of
785 * additional pda's to generate. Of course, skip the failed ones */
794 case 1: /* one failed PDA to overlap */
795 /* if a PDA doesn't contain the failed unit, it can
822 /* allocate up our list of pda's */
1048 RF_PhysDiskAddr_t *pda, *pqPDAs;
1113 * node as successors. It gets a pda as a param from each of the read
1114 * nodes plus the raidPtr. For each failed unit is has a result pda. */
1130 pda = asmap->physInfo;
1131 for (i = 0; i < nRudNodes; pda = pda->next) {
1132 if ((pda == failedPDA) || (pda == failedPDAtwo))
1135 RF_ASSERT(pda);
1136 DISK_NODE_PARAMS(rudNodes[i], pda);
1140 pda = npdas;
1141 for (i = 0; i < nRrdNodes; i++, pda = pda->next) {
1143 RF_ASSERT(pda);
1144 DISK_NODE_PARAMS(rrdNodes[i], pda);
1148 pda = pqPDAs;
1150 RF_ASSERT(pda);
1151 DISK_NODE_PARAMS(rpNodes[0], pda);
1152 pda++;
1154 RF_ASSERT(pda);
1155 DISK_NODE_PARAMS(rqNodes[0], pda);
1157 pda++;
1159 RF_ASSERT(pda);
1160 DISK_NODE_PARAMS(rpNodes[1], pda);
1161 pda++;
1163 RF_ASSERT(pda);
1164 DISK_NODE_PARAMS(rqNodes[1], pda);
1168 recoveryNode->params[i] = rudNodes[i].params[0]; /* pda */