LCOV - code coverage report
Current view: top level - spdk/lib/env_dpdk - memory.c (source / functions) Hit Total Coverage
Test: Combined Lines: 613 795 77.1 %
Date: 2024-11-18 13:17:53 Functions: 36 38 94.7 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 885 1708 51.8 %

Function Name Sort by function name Hit count Sort by hit count
_vfio_iommu_map_dma 700
_vfio_iommu_unmap_dma 676
has_iommu_groups 675
mem_disable_huge_pages 2
mem_map_get_map_1gb 4490716
mem_map_init 2151
mem_map_notify_walk 4737
memory_hotplug_cb 57412
memory_iter_cb 2302
numa_notify 60716
pci_device_vtophys 3160
spdk_iommu_is_enabled 21362
spdk_mem_get_fd_and_offset 998
spdk_mem_get_numa_id 0
spdk_mem_map_alloc 8811
spdk_mem_map_clear_translation 579975
spdk_mem_map_free 247
spdk_mem_map_set_translation 3077094
spdk_mem_map_translate 120951151
spdk_mem_register 31481
spdk_mem_reserve 0
spdk_mem_unregister 29995
spdk_vtophys 118831118
vfio_enabled 2066
vfio_noiommu_enabled 675
vtophys_check_contiguous_entries 168870
vtophys_get_paddr_memseg 960967
vtophys_get_paddr_pagemap 16571
vtophys_get_paddr_pci 2574
vtophys_init 2132
vtophys_iommu_init 2066
vtophys_iommu_map_dma 161
vtophys_iommu_map_dma_bar 539
vtophys_iommu_unmap_dma 161
vtophys_iommu_unmap_dma_bar 515
vtophys_notify 60716
vtophys_pci_device_added 1900
vtophys_pci_device_removed 1092

Generated by: LCOV version 1.15