Lines Matching defs:readDataNodes
332 RF_DagNode_t *readDataNodes, *readParityNodes;
376 readDataNodes = &nodes[i];
403 rf_InitNode(&readDataNodes[i], rf_wait, RF_FALSE, rf_DiskReadFunc, rf_DiskReadUndoFunc, rf_GenericWakeupFunc, nNodes, 1, 4, 0, dag_h, "Rod", allocList);
405 readDataNodes[i].params[0].p = pda; /* physical disk addr
407 readDataNodes[i].params[1].p = rf_AllocBuffer(raidPtr, dag_h, pda->numSector << raidPtr->logBytesPerSector); /* buffer to hold old data */
408 readDataNodes[i].params[2].v = parityStripeID;
409 readDataNodes[i].params[3].v = RF_CREATE_PARAM3(RF_IO_NORMAL_PRIORITY, which_ru);
411 readDataNodes[i].propList[0] = NULL;
412 readDataNodes[i].propList[1] = NULL;
469 xorNodes[i].params[0] = readDataNodes[i].params[0];
470 xorNodes[i].params[1] = readDataNodes[i].params[1];
485 xorNodes[0].params[2 * i + 0] = readDataNodes[i].params[0]; /* pda */
486 xorNodes[0].params[2 * i + 1] = readDataNodes[i].params[1]; /* buffer pointer */
520 blockNode->succedents[i] = &readDataNodes[i];
521 RF_ASSERT(readDataNodes[i].numAntecedents == 1);
522 readDataNodes[i].antecedents[0] = blockNode;
523 readDataNodes[i].antType[0] = rf_control;
536 RF_ASSERT(readDataNodes[i].numSuccedents == numDataNodes + numParityNodes);
539 readDataNodes[i].succedents[j] = &writeDataNodes[j];
540 writeDataNodes[j].antecedents[i] = &readDataNodes[i];
552 readDataNodes[i].succedents[numDataNodes + j] = &xorNodes[j];
553 xorNodes[j].antecedents[i] = &readDataNodes[i];