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

Function pci_free

dpdk/drivers/bus/pci/pci_common.c:113–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113void
114pci_free(struct rte_pci_device_internal *pdev)
115{
116 if (pdev == NULL)
117 return;
118 free(pdev->device.bus_info);
119 free(pdev);
120}
121
122/* map a particular resource from a file */
123void *

Callers 5

pci_cleanupFunction · 0.85
pci_unplugFunction · 0.85
pci_scan_oneFunction · 0.85
pci_scan_oneFunction · 0.85
pci_scan_oneFunction · 0.85

Calls 1

freeFunction · 0.50

Tested by

no test coverage detected