LCOV - code coverage report
Current view: top level - spdk/lib/env_dpdk - memory.c (source / functions) Hit Total Coverage
Test: Combined Lines: 631 795 79.4 %
Date: 2024-12-15 10:36:08 Functions: 36 38 94.7 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 890 1708 52.1 %

Function Name Sort by function name Hit count Sort by hit count
spdk_mem_get_numa_id 0
spdk_mem_reserve 0
mem_disable_huge_pages 6
vtophys_iommu_map_dma 182
vtophys_iommu_unmap_dma 182
vtophys_iommu_unmap_dma_bar 560
vtophys_iommu_map_dma_bar 608
_vfio_iommu_unmap_dma 742
_vfio_iommu_map_dma 790
spdk_mem_get_fd_and_offset 1011
spdk_mem_map_free 1148
vtophys_pci_device_removed 1172
has_iommu_groups 1265
vfio_noiommu_enabled 1265
vtophys_pci_device_added 1944
vtophys_get_paddr_pci 2834
vfio_enabled 2962
vtophys_iommu_init 2962
vtophys_init 3029
mem_map_init 3053
memory_iter_cb 3176
pci_device_vtophys 3438
mem_map_notify_walk 8324
spdk_mem_map_alloc 13306
vtophys_get_paddr_pagemap 18204
spdk_iommu_is_enabled 23362
spdk_mem_unregister 39615
spdk_mem_register 42425
memory_hotplug_cb 76642
numa_notify 81080
vtophys_notify 81080
vtophys_check_contiguous_entries 187738
spdk_mem_map_clear_translation 784854
vtophys_get_paddr_memseg 1182438
spdk_mem_map_set_translation 3915264
mem_map_get_map_1gb 6042720
spdk_vtophys 259210244
spdk_mem_map_translate 307563567

Generated by: LCOV version 1.15