Home | History | Annotate | Download | only in raidframe

Lines Matching defs:nodes

62  * through the graph, blindly executing nodes until it reaches the end.
136 /* alloc the Wnd nodes and the Wmir node */
142 /* total number of nodes = 1 + (block + commit + terminator) */
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;
167 /* initialize the block, commit, and terminator nodes */
310 * create all the nodes at once
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;
352 /* initialize nodes */
369 /* fill in the Rud nodes */
387 /* fill in the Rrd nodes */
446 /* all the Rrd nodes need to be xored together */
453 /* any Rud nodes that overlap the failed access need to be
489 /* connect nodes to form graph */
495 /* connect the block node to the read nodes */
518 /* connect the read nodes to the xor node */
580 RF_DagNode_t *nodes, *rdNode, *blockNode, *commitNode, *termNode;
601 /* alloc the Wnd nodes and the Wmir node */
607 /* total number of nodes = 1 + (block + commit + terminator) */
608 nodes = RF_MallocAndAdd(4 * sizeof(*nodes), allocList);
610 rdNode = &nodes[i];
612 blockNode = &nodes[i];
614 commitNode = &nodes[i];
616 termNode = &nodes[i];
628 /* initialize the block, commit, and terminator nodes */
1046 RF_DagNode_t *nodes, *rudNodes, *rrdNodes, *recoveryNode, *blockNode,
1067 nodes = RF_MallocAndAdd(nNodes * sizeof(*nodes), allocList);
1069 blockNode = &nodes[i];
1071 unblockNode = &nodes[i];
1073 recoveryNode = &nodes[i];
1075 termNode = &nodes[i];
1077 rudNodes = &nodes[i];
1079 rrdNodes = &nodes[i];
1081 rpNodes = &nodes[i];
1083 rqNodes = &nodes[i];
1099 /* init the block and unblock nodes */
1100 /* The block node has all nodes except itself, unblock and recovery as
1114 * nodes plus the raidPtr. For each failed unit is has a result pda. */
1128 /* build the read nodes, then come back and fill in recovery params