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

Function graph_scan_dump

dpdk/lib/graph/graph.c:771–790  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

769}
770
771static void
772graph_scan_dump(FILE *f, rte_graph_t id, bool all)
773{
774 struct graph *graph;
775
776 RTE_VERIFY(f);
777 if (graph_from_id(id) == NULL)
778 goto fail;
779
780 STAILQ_FOREACH(graph, &graph_list, next) {
781 if (all == true) {
782 graph_dump(f, graph);
783 } else if (graph->id == id) {
784 graph_dump(f, graph);
785 return;
786 }
787 }
788fail:
789 return;
790}
791
792void
793rte_graph_dump(FILE *f, rte_graph_t id)

Callers 2

rte_graph_dumpFunction · 0.85
rte_graph_list_dumpFunction · 0.85

Calls 2

graph_from_idFunction · 0.85
graph_dumpFunction · 0.85

Tested by

no test coverage detected