LCOV - code coverage report
Current view: top level - spdk/lib/env_dpdk - memory.c (source / functions) Hit Total Coverage
Test: Combined Lines: 607 770 78.8 %
Date: 2024-12-16 13:10:26 Functions: 35 36 97.2 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 871 1697 51.3 %

Function Name Sort by function name Hit count Sort by hit count
_vfio_iommu_map_dma 835
_vfio_iommu_unmap_dma 775
has_iommu_groups 1125
mem_disable_huge_pages 6
mem_map_get_map_1gb 4016438
mem_map_init 2811
mem_map_notify_walk 4267
memory_hotplug_cb 76608
memory_iter_cb 2945
pci_device_vtophys 3438
spdk_iommu_is_enabled 23437
spdk_mem_get_fd_and_offset 1080
spdk_mem_map_alloc 9158
spdk_mem_map_clear_translation 759927
spdk_mem_map_free 753
spdk_mem_map_set_translation 3731930
spdk_mem_map_translate 272323705
spdk_mem_register 41814
spdk_mem_reserve 0
spdk_mem_unregister 39989
spdk_vtophys 234673734
vfio_enabled 2789
vfio_noiommu_enabled 1125
vtophys_check_contiguous_entries 193831
vtophys_get_paddr_memseg 1115529
vtophys_get_paddr_pagemap 18204
vtophys_get_paddr_pci 2942
vtophys_init 2789
vtophys_iommu_init 2789
vtophys_iommu_map_dma 236
vtophys_iommu_map_dma_bar 599
vtophys_iommu_unmap_dma 236
vtophys_iommu_unmap_dma_bar 539
vtophys_notify 80923
vtophys_pci_device_added 1991
vtophys_pci_device_removed 1130

Generated by: LCOV version 1.15