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

Function graph_from_id

dpdk/lib/graph/graph.c:24–34  ·  view source on GitHub ↗

Private functions */

Source from the content-addressed store, hash-verified

22
23/* Private functions */
24static struct graph *
25graph_from_id(rte_graph_t id)
26{
27 struct graph *graph;
28 STAILQ_FOREACH(graph, &graph_list, next) {
29 if (graph->id == id)
30 return graph;
31 }
32 rte_errno = EINVAL;
33 return NULL;
34}
35
36static rte_graph_t
37graph_next_free_id(void)

Callers 6

rte_graph_cloneFunction · 0.85
rte_graph_id_to_nameFunction · 0.85
rte_graph_node_getFunction · 0.85
graph_scan_dumpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected