Home | History | Annotate | Download | only in raidframe

Lines Matching refs:dag

69 /* The maximum number of nodes in a DAG is bounded by
86 * InitNode - initialize a dag node
600 /* set dag status */
618 printf("DAG type: %s\n", dag_h->creator);
712 printf("INVALID DAG: next pointer in node is not NULL\n");
716 printf("INVALID DAG: Node status is not wait\n");
720 printf("INVALID DAG: numAntDone is not zero\n");
725 printf("INVALID DAG: Terminator node has succedents\n");
730 printf("INVALID DAG: Non-terminator node has no succedents\n");
736 printf("INVALID DAG: succedent %d of node %s is NULL\n", i, node->name);
743 printf("INVALID DAG: antecedent %d of node %s is NULL\n", i, node->name);
773 /* NOTE: never call this on a big dag, because it is exponential
777 rf_ValidateVisitedBits(RF_DagHeader_t *dag)
781 unvisited = dag->succedents[0]->visited;
783 for (i = 0; i < dag->numSuccedents; i++) {
784 if (dag->succedents[i] == NULL) {
785 printf("dag=%lx dag->succedents[%d] is NULL\n", (long) dag, i);
788 rf_ValidateBranchVisitedBits(dag->succedents[i], unvisited, 0);
791 /* validate a DAG. _at entry_ verify that:
794 * -- dag status is rf_enable
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);
826 printf("INVALID DAG: not enabled\n");
831 printf("INVALID DAG: numCommits != 0 (%d)\n", dag_h->numCommits);
837 printf("INVALID DAG: numSuccedents !1 (%d)\n", dag_h->numSuccedents);
860 printf("INVALID DAG: node %s has an undefined doFunc\n", nodes[i]->name);
865 printf("INVALID DAG: node %s has an undefined doFunc\n", nodes[i]->name);
870 printf("INVALID DAG: node %s has %d antecedents but appears as a succedent %d times\n",
876 printf("INVALID DAG: node %s has %d succedents but appears as an antecedent %d times\n",
884 printf("INVALID DAG: incorrect commit node count. hdr->numCommitNodes (%d) found (%d) commit nodes in graph\n",
964 * computes and returns the number of DAG nodes needed to read all this data.
971 * dag_h - in: header of the dag to create
1066 /* in: dag_h - header of the DAG we're going to create */