LCOV - code coverage report
Current view: top level - spdk/lib/env_dpdk - memory.c (source / functions) Hit Total Coverage
Test: Combined Lines: 548 684 80.1 %
Date: 2024-07-15 15:19:34 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
_vfio_iommu_map_dma 712
_vfio_iommu_unmap_dma 688
has_iommu_groups 1515
mem_disable_huge_pages 6
mem_map_get_map_1gb 4237524
mem_map_init 3264
mem_map_notify_walk 4394
memory_hotplug_cb 81021
memory_iter_cb 3238
pci_device_vtophys 3160
spdk_iommu_is_enabled 21477
spdk_mem_get_fd_and_offset 56
spdk_mem_map_alloc 10354
spdk_mem_map_clear_translation 830575
spdk_mem_map_free 588
spdk_mem_map_set_translation 4001550
spdk_mem_map_translate 140914921
spdk_mem_register 44876
spdk_mem_reserve 0
spdk_mem_unregister 41269
spdk_vtophys 119388348
vfio_enabled 3244
vfio_noiommu_enabled 1515
vtophys_check_contiguous_entries 147375
vtophys_get_paddr_memseg 1199560
vtophys_get_paddr_pagemap 16571
vtophys_get_paddr_pci 2658
vtophys_init 3244
vtophys_iommu_init 3244
vtophys_iommu_map_dma 203
vtophys_iommu_map_dma_bar 509
vtophys_iommu_unmap_dma 203
vtophys_iommu_unmap_dma_bar 485
vtophys_notify 85345
vtophys_pci_device_added 1814
vtophys_pci_device_removed 1078

Generated by: LCOV version 1.14