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 21:04:32 Functions: 35 36 97.2 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 343 519 66.1 %

Function Name Sort by function name Hit count Sort by hit count
_vfio_iommu_map_dma 798
_vfio_iommu_unmap_dma 738
has_iommu_groups 1621
mem_disable_huge_pages 6
mem_map_get_map_1gb 4220946
mem_map_init 3204
mem_map_notify_walk 4380
memory_hotplug_cb 81398
memory_iter_cb 3178
pci_device_vtophys 3438
spdk_iommu_is_enabled 21937
spdk_mem_get_fd_and_offset 56
spdk_mem_map_alloc 10197
spdk_mem_map_clear_translation 820692
spdk_mem_map_free 611
spdk_mem_map_set_translation 3958666
spdk_mem_map_translate 246242977
spdk_mem_register 45193
spdk_mem_reserve 0
spdk_mem_unregister 41431
spdk_vtophys 212827505
vfio_enabled 3184
vfio_noiommu_enabled 1621
vtophys_check_contiguous_entries 166039
vtophys_get_paddr_memseg 1177502
vtophys_get_paddr_pagemap 16836
vtophys_get_paddr_pci 2820
vtophys_init 3184
vtophys_iommu_init 3184
vtophys_iommu_map_dma 224
vtophys_iommu_map_dma_bar 574
vtophys_iommu_unmap_dma 224
vtophys_iommu_unmap_dma_bar 514
vtophys_notify 85824
vtophys_pci_device_added 1858
vtophys_pci_device_removed 1103

Generated by: LCOV version 1.14