LCOV - code coverage report
Current view: top level - spdk/lib/env_dpdk - memory.c (source / functions) Hit Total Coverage
Test: Combined Lines: 602 840 71.7 %
Date: 2024-11-18 09:49:03 Functions: 35 36 97.2 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 871 1707 51.0 %

Function Name Sort by function name Hit count Sort by hit count
_vfio_iommu_map_dma 396
_vfio_iommu_unmap_dma 348
has_iommu_groups 1489
mem_disable_huge_pages 6
mem_map_get_map_1gb 4107022
mem_map_init 3422
mem_map_notify_walk 4420
memory_hotplug_cb 78970
memory_iter_cb 3395
pci_device_vtophys 3110
spdk_iommu_is_enabled 20662
spdk_mem_get_fd_and_offset 1083
spdk_mem_map_alloc 10762
spdk_mem_map_clear_translation 812995
spdk_mem_map_free 523
spdk_mem_map_set_translation 3944778
spdk_mem_map_translate 261022468
spdk_mem_register 44347
spdk_mem_reserve 0
spdk_mem_unregister 39942
spdk_vtophys 231714180
vfio_enabled 3401
vfio_noiommu_enabled 1489
vtophys_check_contiguous_entries 172399
vtophys_get_paddr_memseg 1176099
vtophys_get_paddr_pagemap 16505
vtophys_get_paddr_pci 2656
vtophys_init 3401
vtophys_iommu_init 3401
vtophys_iommu_map_dma 224
vtophys_iommu_map_dma_bar 172
vtophys_iommu_unmap_dma 224
vtophys_iommu_unmap_dma_bar 124
vtophys_notify 83449
vtophys_pci_device_added 1437
vtophys_pci_device_removed 653

Generated by: LCOV version 1.14