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

Function dev_devargs

dpdk/drivers/bus/platform/platform.c:43–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43static struct rte_devargs *
44dev_devargs(const char *dev_name)
45{
46 struct rte_devargs *devargs;
47
48 RTE_EAL_DEVARGS_FOREACH("platform", devargs) {
49 if (!strcmp(devargs->name, dev_name))
50 return devargs;
51 }
52
53 return NULL;
54}
55
56static bool
57dev_allowed(const char *dev_name)

Callers 2

dev_allowedFunction · 0.85
dev_addFunction · 0.85

Calls 2

RTE_EAL_DEVARGS_FOREACHFunction · 0.85
strcmpFunction · 0.85

Tested by

no test coverage detected