LCOV - code coverage report
Current view: top level - spdk/lib/env_dpdk - memory.c (source / functions) Hit Total Coverage
Test: Combined Lines: 537 684 78.5 %
Date: 2024-07-15 16:11:34 Functions: 35 36 97.2 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 338 519 65.1 %

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_map_dma_bar 67
vtophys_iommu_unmap_dma_bar 67
vtophys_iommu_map_dma 203
vtophys_iommu_unmap_dma 203
_vfio_iommu_map_dma 270
_vfio_iommu_unmap_dma 270
spdk_mem_map_free 574
vtophys_pci_device_removed 635
vtophys_pci_device_added 946
has_iommu_groups 1384
vfio_noiommu_enabled 1384
vtophys_get_paddr_pci 2658
memory_iter_cb 2908
vfio_enabled 2914
vtophys_init 2914
vtophys_iommu_init 2914
mem_map_init 2932
pci_device_vtophys 3160
mem_map_notify_walk 4038
spdk_mem_map_alloc 9346
vtophys_get_paddr_pagemap 16571
spdk_iommu_is_enabled 20547
spdk_mem_unregister 35455
spdk_mem_register 38910
memory_hotplug_cb 69651
vtophys_notify 73645
vtophys_check_contiguous_entries 139903
spdk_mem_map_clear_translation 734399
vtophys_get_paddr_memseg 1040415
spdk_mem_map_set_translation 3514188
mem_map_get_map_1gb 3750146
spdk_vtophys 85048706
spdk_mem_map_translate 106746922

Generated by: LCOV version 1.14