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

Function node_from_name

dpdk/lib/graph/node.c:29–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29struct node *
30node_from_name(const char *name)
31{
32 struct node *node;
33
34 STAILQ_FOREACH(node, &node_list, next)
35 if (strncmp(node->name, name, RTE_NODE_NAMESIZE) == 0)
36 return node;
37
38 return NULL;
39}
40
41static bool
42node_has_duplicate_entry(const char *name)

Callers 3

graph_node_edges_addFunction · 0.85
graph_mem_fixup_node_ctxFunction · 0.85

Calls 1

strncmpFunction · 0.85

Tested by

no test coverage detected