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-21 01:35:49 Functions: 35 36 97.2 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 869 1697 51.2 %

Function Name Sort by function name Hit count Sort by hit count
_vfio_iommu_map_dma 825
_vfio_iommu_unmap_dma 777
has_iommu_groups 1127
mem_disable_huge_pages 6
mem_map_get_map_1gb 4003656
mem_map_init 2791
mem_map_notify_walk 4185
memory_hotplug_cb 74172
memory_iter_cb 2789
pci_device_vtophys 3438
spdk_iommu_is_enabled 22011
spdk_mem_get_fd_and_offset 1109
spdk_mem_map_alloc 9067
spdk_mem_map_clear_translation 757124
spdk_mem_map_free 722
spdk_mem_map_set_translation 3719156
spdk_mem_map_translate 283512783
spdk_mem_register 40802
spdk_mem_reserve 0
spdk_mem_unregister 38311
spdk_vtophys 246684045
vfio_enabled 2769
vfio_noiommu_enabled 1127
vtophys_check_contiguous_entries 181214
vtophys_get_paddr_memseg 1110574
vtophys_get_paddr_pagemap 16836
vtophys_get_paddr_pci 2844
vtophys_init 2769
vtophys_iommu_init 2769
vtophys_iommu_map_dma 236
vtophys_iommu_map_dma_bar 589
vtophys_iommu_unmap_dma 236
vtophys_iommu_unmap_dma_bar 541
vtophys_notify 78233
vtophys_pci_device_added 1880
vtophys_pci_device_removed 1126

Generated by: LCOV version 1.15