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

Function cryptodev_find

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

Source from the content-addressed store, hash-verified

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

Callers 4

cmd_table_action_profileFunction · 0.70
cryptodev_createFunction · 0.70
pipeline_port_in_createFunction · 0.70
pipeline_port_out_createFunction · 0.70

Calls 1

strcmpFunction · 0.85

Tested by

no test coverage detected