LCOV - code coverage report
Current view: top level - spdk/lib/env_dpdk - memory.c (source / functions) Hit Total Coverage
Test: Combined Lines: 549 684 80.3 %
Date: 2024-08-12 15:39:37 Functions: 35 36 97.2 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 341 517 66.0 %

Function Name Sort by function name Hit count Sort by hit count
_vfio_iommu_map_dma 714
_vfio_iommu_unmap_dma 666
has_iommu_groups 786
mem_disable_huge_pages 4
mem_map_get_map_1gb 3588744
mem_map_init 2412
mem_map_notify_walk 3520
memory_hotplug_cb 63818
memory_iter_cb 2412
pci_device_vtophys 3438
spdk_iommu_is_enabled 21782
spdk_mem_get_fd_and_offset 2
spdk_mem_map_alloc 7788
spdk_mem_map_clear_translation 665438
spdk_mem_map_free 576
spdk_mem_map_set_translation 3329032
spdk_mem_map_translate 266832316
spdk_mem_register 35853
spdk_mem_reserve 0
spdk_mem_unregister 32317
spdk_vtophys 232347539
vfio_enabled 2392
vfio_noiommu_enabled 786
vtophys_check_contiguous_entries 167213
vtophys_get_paddr_memseg 1000913
vtophys_get_paddr_pagemap 16836
vtophys_get_paddr_pci 2712
vtophys_init 2392
vtophys_iommu_init 2392
vtophys_iommu_map_dma 170
vtophys_iommu_map_dma_bar 544
vtophys_iommu_unmap_dma 170
vtophys_iommu_unmap_dma_bar 496
vtophys_notify 67370
vtophys_pci_device_added 1818
vtophys_pci_device_removed 1081

Generated by: LCOV version 1.14