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

Function mempool_find

dpdk/examples/ip_pipeline/mempool.c:25–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25struct mempool *
26mempool_find(const char *name)
27{
28 struct mempool *mempool;
29
30 if (name == NULL)
31 return NULL;
32
33 TAILQ_FOREACH(mempool, &mempool_list, node)
34 if (strcmp(mempool->name, name) == 0)
35 return mempool;
36
37 return NULL;
38}
39
40struct mempool *
41mempool_create(const char *name, struct mempool_params *params)

Callers 3

mempool_createFunction · 0.85
link_createFunction · 0.85
pipeline_port_in_createFunction · 0.85

Calls 1

strcmpFunction · 0.85

Tested by

no test coverage detected