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

Function dma_release

dpdk/lib/dmadev/rte_dmadev.c:338–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336}
337
338static void
339dma_release(struct rte_dma_dev *dev)
340{
341 if (rte_eal_process_type() == RTE_PROC_PRIMARY) {
342 rte_free(dev->data->dev_private);
343 memset(dev->data, 0, sizeof(struct rte_dma_dev_data));
344 }
345
346 dma_fp_object_dummy(dev->fp_obj);
347 memset(dev, 0, sizeof(struct rte_dma_dev));
348}
349
350struct rte_dma_dev *
351rte_dma_pmd_allocate(const char *name, int numa_node, size_t private_data_size)

Callers 2

rte_dma_pmd_releaseFunction · 0.70
rte_dma_closeFunction · 0.70

Calls 4

rte_eal_process_typeFunction · 0.85
rte_freeFunction · 0.85
memsetFunction · 0.85
dma_fp_object_dummyFunction · 0.85

Tested by

no test coverage detected