LCOV - code coverage report
Current view: top level - spdk/lib/env_dpdk - memory.c (source / functions) Hit Total Coverage
Test: Combined Lines: 609 770 79.1 %
Date: 2024-11-17 02:18:21 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 824
_vfio_iommu_unmap_dma 776
has_iommu_groups 1126
mem_disable_huge_pages 6
mem_map_get_map_1gb 4014408
mem_map_init 2812
mem_map_notify_walk 4272
memory_hotplug_cb 74147
memory_iter_cb 2810
pci_device_vtophys 3438
spdk_iommu_is_enabled 23427
spdk_mem_get_fd_and_offset 1145
spdk_mem_map_alloc 9163
spdk_mem_map_clear_translation 759310
spdk_mem_map_free 755
spdk_mem_map_set_translation 3729908
spdk_mem_map_translate 267680748
spdk_mem_register 40858
spdk_mem_reserve 0
spdk_mem_unregister 38349
spdk_vtophys 231324199
vfio_enabled 2790
vfio_noiommu_enabled 1126
vtophys_check_contiguous_entries 181449
vtophys_get_paddr_memseg 1112539
vtophys_get_paddr_pagemap 18204
vtophys_get_paddr_pci 2942
vtophys_init 2790
vtophys_iommu_init 2790
vtophys_iommu_map_dma 236
vtophys_iommu_map_dma_bar 588
vtophys_iommu_unmap_dma 236
vtophys_iommu_unmap_dma_bar 540
vtophys_notify 78327
vtophys_pci_device_added 1879
vtophys_pci_device_removed 1125

Generated by: LCOV version 1.15