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 19:04:35 Functions: 35 36 97.2 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 339 519 65.3 %

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 51
vtophys_iommu_unmap_dma_bar 122
vtophys_iommu_map_dma_bar 146
vtophys_iommu_map_dma 170
vtophys_iommu_unmap_dma 170
_vfio_iommu_unmap_dma 292
_vfio_iommu_map_dma 316
vtophys_pci_device_removed 644
spdk_mem_map_free 647
vtophys_pci_device_added 1427
has_iommu_groups 1696
vfio_noiommu_enabled 1696
vtophys_get_paddr_pci 2646
pci_device_vtophys 3110
vfio_enabled 3352
vtophys_init 3352
vtophys_iommu_init 3352
mem_map_init 3372
memory_iter_cb 3541
mem_map_notify_walk 4620
spdk_mem_map_alloc 10737
vtophys_get_paddr_pagemap 17873
spdk_iommu_is_enabled 21943
spdk_mem_unregister 40978
spdk_mem_register 44685
memory_hotplug_cb 80248
vtophys_notify 84863
vtophys_check_contiguous_entries 162493
spdk_mem_map_clear_translation 804851
vtophys_get_paddr_memseg 1165638
spdk_mem_map_set_translation 3904462
mem_map_get_map_1gb 4110760
spdk_vtophys 217453078
spdk_mem_map_translate 259971021

Generated by: LCOV version 1.14