LCOV - code coverage report
Current view: top level - spdk/lib/env_dpdk - memory.c (source / functions) Hit Total Coverage
Test: Combined Lines: 549 684 80.3 %
Date: 2024-07-15 00:06:18 Functions: 35 36 97.2 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 341 519 65.7 %

Function Name Sort by function name Hit count Sort by hit count
_vfio_iommu_map_dma 730
_vfio_iommu_unmap_dma 682
has_iommu_groups 1763
mem_disable_huge_pages 6
mem_map_get_map_1gb 4740380
mem_map_init 3568
mem_map_notify_walk 5552
memory_hotplug_cb 85615
memory_iter_cb 3540
pci_device_vtophys 3438
spdk_iommu_is_enabled 23302
spdk_mem_get_fd_and_offset 51
spdk_mem_map_alloc 11693
spdk_mem_map_clear_translation 904230
spdk_mem_map_free 1017
spdk_mem_map_set_translation 4320574
spdk_mem_map_translate 265776787
spdk_mem_register 47585
spdk_mem_reserve 0
spdk_mem_unregister 43688
spdk_vtophys 218304917
vfio_enabled 3546
vfio_noiommu_enabled 1763
vtophys_check_contiguous_entries 163855
vtophys_get_paddr_memseg 1279536
vtophys_get_paddr_pagemap 18204
vtophys_get_paddr_pci 2810
vtophys_init 3546
vtophys_iommu_init 3546
vtophys_iommu_map_dma 170
vtophys_iommu_map_dma_bar 560
vtophys_iommu_unmap_dma 170
vtophys_iommu_unmap_dma_bar 512
vtophys_notify 90393
vtophys_pci_device_added 1899
vtophys_pci_device_removed 1128

Generated by: LCOV version 1.14