Home | History | Annotate | Download | only in raidframe

Lines Matching refs:dag_h

81 				 RF_DagHeader_t *dag_h,
86 rf_CreateDegradedReadDAG(raidPtr, asmap, dag_h, bp, flags, allocList,
116 RF_DagHeader_t *dag_h,
135 dag_h->creator = "RaidOneDegradedReadDAG";
145 rdNode->list_next = dag_h->nodes;
146 dag_h->nodes = rdNode;
149 blockNode->list_next = dag_h->nodes;
150 dag_h->nodes = blockNode;
153 commitNode->list_next = dag_h->nodes;
154 dag_h->nodes = commitNode;
157 termNode->list_next = dag_h->nodes;
158 dag_h->nodes = termNode;
163 dag_h->numCommitNodes = 1;
164 dag_h->numCommits = 0;
165 dag_h->numSuccedents = 1;
169 NULL, 1, 0, 0, 0, dag_h, "Nil", allocList);
171 NULL, 1, 1, 0, 0, dag_h, "Cmt", allocList);
173 NULL, 0, 1, 0, 0, dag_h, "Trm", allocList);
184 rf_GenericWakeupFunc, 1, 1, 4, 0, dag_h, "Rpd", allocList);
193 rf_GenericWakeupFunc, 1, 1, 4, 0, dag_h, "Rsd", allocList);
202 RF_ASSERT(dag_h->numSuccedents == 1);
204 dag_h->succedents[0] = blockNode;
263 RF_DagHeader_t *dag_h, void *bp,
297 dag_h->creator = "DegradedReadDAG";
306 rf_GenerateFailedAccessASMs(raidPtr, asmap, failedPDA, dag_h, new_asm_h, &nXorBufs,
319 blockNode->list_next = dag_h->nodes;
320 dag_h->nodes = blockNode;
323 commitNode->list_next = dag_h->nodes;
324 dag_h->nodes = commitNode;
327 xorNode->list_next = dag_h->nodes;
328 dag_h->nodes = xorNode;
331 rpNode->list_next = dag_h->nodes;
332 dag_h->nodes = rpNode;
335 termNode->list_next = dag_h->nodes;
336 dag_h->nodes = termNode;
340 tmpNode->list_next = dag_h->nodes;
341 dag_h->nodes = tmpNode;
343 rudNodes = dag_h->nodes;
347 tmpNode->list_next = dag_h->nodes;
348 dag_h->nodes = tmpNode;
350 rrdNodes = dag_h->nodes;
353 dag_h->numCommitNodes = 1;
354 dag_h->numCommits = 0;
357 dag_h->numSuccedents = 1;
360 NULL, nRudNodes + nRrdNodes + 1, 0, 0, 0, dag_h, "Nil", allocList);
362 NULL, 1, 1, 0, 0, dag_h, "Cmt", allocList);
364 NULL, 0, 1, 0, 0, dag_h, "Trm", allocList);
366 NULL, 1, nRudNodes + nRrdNodes + 1, 2 * nXorBufs + 2, 1, dag_h,
377 rf_DiskReadUndoFunc, rf_GenericWakeupFunc, 1, 1, 4, 0, dag_h,
396 dag_h, "Rrd", allocList);
413 dag_h, "Rrd", allocList);
424 parityPDA->next = dag_h->pda_cleanup_list;
425 dag_h->pda_cleanup_list = parityPDA;
433 rf_GenericWakeupFunc, 1, 1, 4, 0, dag_h, "Rp ", allocList);
459 pda->next = dag_h->pda_cleanup_list;
460 dag_h->pda_cleanup_list = pda;
491 RF_ASSERT(dag_h->numSuccedents == 1);
493 dag_h->succedents[0] = blockNode;
576 RF_DagHeader_t *dag_h, void *bp,
600 dag_h->creator = "RaidCDegradedReadDAG";
624 dag_h->numCommitNodes = 1;
625 dag_h->numCommits = 0;
626 dag_h->numSuccedents = 1;
630 NULL, 1, 0, 0, 0, dag_h, "Nil", allocList);
632 NULL, 1, 1, 0, 0, dag_h, "Cmt", allocList);
634 NULL, 0, 1, 0, 0, dag_h, "Trm", allocList);
644 rf_GenericWakeupFunc, 1, 1, 4, 0, dag_h, "Rpd", allocList);
661 rf_GenericWakeupFunc, 1, 1, 4, 0, dag_h, "Rsd", allocList);
669 RF_ASSERT(dag_h->numSuccedents == 1);
671 dag_h->succedents[0] = blockNode;
1024 rf_InitNode(node, rf_wait, RF_FALSE, rf_DiskReadFunc, rf_DiskReadUndoFunc, rf_GenericWakeupFunc, 2,1,4,0, dag_h, name, allocList); \
1038 RF_DagHeader_t *dag_h, void *bp,
1087 dag_h->numSuccedents = 1;
1088 dag_h->succedents[0] = blockNode;
1089 dag_h->creator = "DoubleDegRead";
1090 dag_h->numCommits = 0;
1091 dag_h->numCommitNodes = 1; /* unblock */
1093 rf_InitNode(termNode, rf_wait, RF_FALSE, rf_TerminateFunc, rf_TerminateUndoFunc, NULL, 0, 2, 0, 0, dag_h, "Trm", allocList);
1102 rf_InitNode(blockNode, rf_wait, RF_FALSE, rf_NullNodeFunc, rf_NullNodeUndoFunc, NULL, nReadNodes, 0, 0, 0, dag_h, "Nil", allocList);
1103 rf_InitNode(unblockNode, rf_wait, RF_TRUE, rf_NullNodeFunc, rf_NullNodeUndoFunc, NULL, 1, nReadNodes, 0, 0, dag_h, "Nil", allocList);
1120 dag_h, recoveryNodeName, allocList);