MCPcopy Create free account
hub / github.com/F-Stack/f-stack / node_to_graph_node

Function node_to_graph_node

dpdk/lib/graph/graph.c:126–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126static struct graph_node *
127node_to_graph_node(struct graph *graph, struct node *node)
128{
129 struct graph_node *graph_node;
130
131 STAILQ_FOREACH(graph_node, &graph->node_list, next)
132 if (graph_node->node == node)
133 return graph_node;
134
135 SET_ERR_JMP(ENODEV, fail, "Found isolated node %s", node->name);
136fail:
137 return NULL;
138}
139
140static int
141graph_node_edges_add(struct graph *graph)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected