LCOV - code coverage report
Current view: top level - spdk/lib/env_dpdk - memory.c (source / functions) Hit Total Coverage
Test: Combined Lines: 547 684 80.0 %
Date: 2024-07-12 18:13:41 Functions: 35 36 97.2 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 342 519 65.9 %

Function Name Sort by function name Hit count Sort by hit count
spdk_mem_reserve 0
mem_disable_huge_pages 6
spdk_mem_get_fd_and_offset 56
vtophys_iommu_unmap_dma_bar 116
vtophys_iommu_map_dma_bar 176
spdk_mem_map_free 206
vtophys_iommu_map_dma 224
vtophys_iommu_unmap_dma 224
_vfio_iommu_unmap_dma 340
_vfio_iommu_map_dma 400
vtophys_pci_device_removed 684
vtophys_pci_device_added 1444
has_iommu_groups 1494
vfio_noiommu_enabled 1494
vtophys_get_paddr_pci 2656
pci_device_vtophys 3110
memory_iter_cb 3304
vfio_enabled 3310
vtophys_init 3310
vtophys_iommu_init 3310
mem_map_init 3330
mem_map_notify_walk 3696
spdk_mem_map_alloc 10170
vtophys_get_paddr_pagemap 16505
spdk_iommu_is_enabled 20720
spdk_mem_unregister 39896
spdk_mem_register 44233
memory_hotplug_cb 78941
vtophys_notify 83329
vtophys_check_contiguous_entries 170833
spdk_mem_map_clear_translation 802973
vtophys_get_paddr_memseg 1161338
spdk_mem_map_set_translation 3895392
mem_map_get_map_1gb 3992642
spdk_vtophys 208187914
spdk_mem_map_translate 211020105

Generated by: LCOV version 1.14