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

Function graph_node_name_to_ptr

dpdk/lib/graph/graph_populate.c:123–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123struct rte_node *
124graph_node_name_to_ptr(const struct rte_graph *graph, const char *name)
125{
126 rte_node_t count;
127 rte_graph_off_t off;
128 struct rte_node *node;
129
130 rte_graph_foreach_node(count, off, graph, node)
131 if (strncmp(name, node->name, RTE_NODE_NAMESIZE) == 0)
132 return node;
133
134 return NULL;
135}
136
137static int
138graph_node_nexts_populate(struct graph *_graph)

Callers 4

graph_src_nodes_populateFunction · 0.85
graph_node_initFunction · 0.85
graph_node_finiFunction · 0.85

Calls 1

strncmpFunction · 0.85

Tested by

no test coverage detected