Home | History | Annotate | Download | only in raidframe

Lines Matching defs:nodes

69 /* The maximum number of nodes in a DAG is bounded by
204 while (dag_h->nodes) {
205 tmpnode = dag_h->nodes;
206 dag_h->nodes = dag_h->nodes->list_next;
703 RF_DagNode_t **nodes, int unvisited)
709 nodes[node->nodeNum] = node;
751 acount, nodes, unvisited)) {
796 * -- all nodes have status wait
797 * -- numAntDone is zero in all nodes
812 RF_DagNode_t **nodes; /* array of ptrs to nodes in dag */
821 printf("INVALID DAG: num nodes completed is %d, should be 0\n", dag_h->numNodesCompleted);
847 nodes = RF_Malloc(nodecount * sizeof(*nodes));
851 acount, nodes, unvisited)) {
857 if (nodes[i]->commitNode)
859 if (nodes[i]->doFunc == NULL) {
860 printf("INVALID DAG: node %s has an undefined doFunc\n", nodes[i]->name);
864 if (nodes[i]->undoFunc == NULL) {
865 printf("INVALID DAG: node %s has an undefined doFunc\n", nodes[i]->name);
869 if (nodes[i]->numAntecedents != scount[nodes[i]->nodeNum]) {
871 nodes[i]->name, nodes[i]->numAntecedents, scount[nodes[i]->nodeNum]);
875 if (nodes[i]->numSuccedents != acount[nodes[i]->nodeNum]) {
877 nodes[i]->name, nodes[i]->numSuccedents, acount[nodes[i]->nodeNum]);
884 printf("INVALID DAG: incorrect commit node count. hdr->numCommitNodes (%d) found (%d) commit nodes in graph\n",
892 RF_Free(nodes, nodecount * sizeof(RF_DagNode_t *));
964 * computes and returns the number of DAG nodes needed to read all this data.
973 * nRodNodes - out: num nodes to be generated to read unaccessed data
1105 /* Also count nodes to find out how many bufs need to be xored together */