LCOV - code coverage report
Current view: top level - spdk/lib/env_dpdk - memory.c (source / functions) Hit Total Coverage
Test: Combined Lines: 626 795 78.7 %
Date: 2024-12-10 00:26:27 Functions: 36 38 94.7 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 927 1708 54.3 %

Function Name Sort by function name Hit count Sort by hit count
_vfio_iommu_map_dma 789
_vfio_iommu_unmap_dma 765
has_iommu_groups 1063
mem_disable_huge_pages 6
mem_map_get_map_1gb 5457013
mem_map_init 2795
mem_map_notify_walk 6952
memory_hotplug_cb 71794
memory_iter_cb 2937
numa_notify 75841
pci_device_vtophys 3176
spdk_iommu_is_enabled 21571
spdk_mem_get_fd_and_offset 1184
spdk_mem_get_numa_id 0
spdk_mem_map_alloc 11847
spdk_mem_map_clear_translation 718206
spdk_mem_map_free 717
spdk_mem_map_set_translation 3627801
spdk_mem_map_translate 133770657
spdk_mem_register 39546
spdk_mem_reserve 0
spdk_mem_unregister 37175
spdk_vtophys 107874088
vfio_enabled 2706
vfio_noiommu_enabled 1063
vtophys_check_contiguous_entries 167432
vtophys_get_paddr_memseg 1111284
vtophys_get_paddr_pagemap 16571
vtophys_get_paddr_pci 2682
vtophys_init 2773
vtophys_iommu_init 2706
vtophys_iommu_map_dma 215
vtophys_iommu_map_dma_bar 574
vtophys_iommu_unmap_dma 215
vtophys_iommu_unmap_dma_bar 550
vtophys_notify 75841
vtophys_pci_device_added 1876
vtophys_pci_device_removed 1139

Generated by: LCOV version 1.14