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-12 12:12: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 727
_vfio_iommu_unmap_dma 667
has_iommu_groups 1560
mem_disable_huge_pages 6
mem_map_get_map_1gb 4534620
mem_map_init 3364
mem_map_notify_walk 5336
memory_hotplug_cb 77657
memory_iter_cb 3337
pci_device_vtophys 3438
spdk_iommu_is_enabled 23282
spdk_mem_get_fd_and_offset 51
spdk_mem_map_alloc 11075
spdk_mem_map_clear_translation 858519
spdk_mem_map_free 1010
spdk_mem_map_set_translation 4114794
spdk_mem_map_translate 236687201
spdk_mem_register 42201
spdk_mem_reserve 0
spdk_mem_unregister 40871
spdk_vtophys 189736474
vfio_enabled 3343
vfio_noiommu_enabled 1560
vtophys_check_contiguous_entries 159162
vtophys_get_paddr_memseg 1214226
vtophys_get_paddr_pagemap 18204
vtophys_get_paddr_pci 2810
vtophys_init 3343
vtophys_iommu_init 3343
vtophys_iommu_map_dma 170
vtophys_iommu_map_dma_bar 557
vtophys_iommu_unmap_dma 170
vtophys_iommu_unmap_dma_bar 497
vtophys_notify 82232
vtophys_pci_device_added 1875
vtophys_pci_device_removed 1119

Generated by: LCOV version 1.14