Lines Matching refs:name
51 if (strncmp(node->name, graph_node->node->name, in graph_node_add()
61 node->name); in graph_node_add()
84 SET_ERR_JMP(ENODEV, fail, "Found isolated node %s", node->name); in node_to_graph_node()
149 if (fnmatch(pattern, node->name, 0) == 0) { in expand_pattern_to_node()
179 const char *name; in graph_node_init() local
184 name = graph_node->node->name; in graph_node_init()
187 graph_node_name_to_ptr(graph->graph, name)); in graph_node_init()
190 name); in graph_node_init()
209 graph_node->node->name)); in graph_node_fini()
219 const char *name; in graph_mem_fixup_node_ctx() local
223 name = node->name; in graph_mem_fixup_node_ctx()
225 name = node->parent; in graph_mem_fixup_node_ctx()
227 node_db = node_from_name(name); in graph_mem_fixup_node_ctx()
229 SET_ERR_JMP(ENOLINK, fail, "Node %s not found", name); in graph_mem_fixup_node_ctx()
248 rte_graph_lookup(const char *name) in rte_graph_lookup() argument
253 mz = rte_memzone_lookup(name); in rte_graph_lookup()
261 rte_graph_create(const char *name, struct rte_graph_param *prm) in rte_graph_create() argument
274 if (name == NULL) in rte_graph_create()
279 if (strncmp(name, graph->name, RTE_GRAPH_NAMESIZE) == 0) in rte_graph_create()
281 name); in rte_graph_create()
290 if (rte_strscpy(graph->name, name, RTE_GRAPH_NAMESIZE) < 0) in rte_graph_create()
291 SET_ERR_JMP(E2BIG, free, "Too big name=%s", name); in rte_graph_create()
375 graph->name); in rte_graph_destroy()
391 rte_graph_from_name(const char *name) in rte_graph_from_name() argument
396 if (strncmp(graph->name, name, RTE_GRAPH_NAMESIZE) == 0) in rte_graph_from_name()
410 return graph->name; in rte_graph_id_to_name()
447 if (!strncmp(graph->name, graph_name, RTE_GRAPH_NAMESIZE)) { in rte_graph_node_get_by_name()
450 if (!strncmp(node->name, node_name, in rte_graph_node_get_by_name()
501 rc = fprintf(f, "Digraph %s {\n\trankdir=LR;\n", graph->name); in graph_to_dot()
506 node_name = graph_node->node->name; in graph_to_dot()
509 graph_node->adjacency_list[i]->node->name, in graph_to_dot()
528 rte_graph_export(const char *name, FILE *f) in rte_graph_export() argument
534 if (strncmp(graph->name, name, RTE_GRAPH_NAMESIZE) == 0) { in rte_graph_export()