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

Function get_dev

dpdk/lib/bbdev/rte_bbdev.c:104–110  ·  view source on GitHub ↗

Return pointer to device structure, with validity check */

Source from the content-addressed store, hash-verified

102
103/* Return pointer to device structure, with validity check */
104static struct rte_bbdev *
105get_dev(uint16_t dev_id)
106{
107 if (rte_bbdev_is_valid(dev_id))
108 return &rte_bbdev_devices[dev_id];
109 return NULL;
110}
111
112/* Allocate global data array */
113static int

Callers 15

rte_bbdev_get_named_devFunction · 0.85
rte_bbdev_setup_queuesFunction · 0.85
rte_bbdev_intr_enableFunction · 0.85
rte_bbdev_startFunction · 0.85
rte_bbdev_stopFunction · 0.85
rte_bbdev_closeFunction · 0.85
rte_bbdev_queue_startFunction · 0.85
rte_bbdev_queue_stopFunction · 0.85
rte_bbdev_stats_getFunction · 0.85
rte_bbdev_stats_resetFunction · 0.85
rte_bbdev_info_getFunction · 0.85

Calls 1

rte_bbdev_is_validFunction · 0.85

Tested by

no test coverage detected