LCOV - code coverage report
Current view: top level - spdk/lib/env_dpdk - memory.c (source / functions) Hit Total Coverage
Test: Combined Lines: 592 765 77.4 %
Date: 2024-12-14 15:01:46 Functions: 35 36 97.2 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 868 1697 51.1 %

Function Name Sort by function name Hit count Sort by hit count
spdk_mem_reserve 0
mem_disable_huge_pages 6
vtophys_iommu_map_dma_bar 76
vtophys_iommu_unmap_dma_bar 76
vtophys_iommu_map_dma 170
vtophys_iommu_unmap_dma 170
_vfio_iommu_map_dma 246
_vfio_iommu_unmap_dma 246
vtophys_pci_device_removed 606
spdk_mem_map_free 723
vtophys_pci_device_added 934
spdk_mem_get_fd_and_offset 1039
has_iommu_groups 1399
vfio_noiommu_enabled 1399
vtophys_get_paddr_pci 2646
pci_device_vtophys 3110
memory_iter_cb 3327
vfio_enabled 3333
vtophys_init 3333
vtophys_iommu_init 3333
mem_map_init 3353
mem_map_notify_walk 4753
spdk_mem_map_alloc 10756
vtophys_get_paddr_pagemap 17873
spdk_iommu_is_enabled 21827
spdk_mem_unregister 37323
spdk_mem_register 41661
memory_hotplug_cb 73783
vtophys_notify 78184
vtophys_check_contiguous_entries 167847
spdk_mem_map_clear_translation 784890
vtophys_get_paddr_memseg 1096416
spdk_mem_map_set_translation 3739454
mem_map_get_map_1gb 3945752
spdk_vtophys 200327610
spdk_mem_map_translate 242922321

Generated by: LCOV version 1.15