LCOV - code coverage report
Current view: top level - spdk/lib/env_dpdk - memory.c (source / functions) Hit Total Coverage
Test: Combined Lines: 547 684 80.0 %
Date: 2024-07-14 04:14:37 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 394
_vfio_iommu_unmap_dma 346
has_iommu_groups 1661
mem_disable_huge_pages 4
mem_map_get_map_1gb 3998472
mem_map_init 3240
mem_map_notify_walk 4072
memory_hotplug_cb 76815
memory_iter_cb 3216
pci_device_vtophys 3110
spdk_iommu_is_enabled 20626
spdk_mem_get_fd_and_offset 56
spdk_mem_map_alloc 10134
spdk_mem_map_clear_translation 789676
spdk_mem_map_free 438
spdk_mem_map_set_translation 3836216
spdk_mem_map_translate 257008392
spdk_mem_register 43104
spdk_mem_reserve 0
spdk_mem_unregister 38811
spdk_vtophys 228075787
vfio_enabled 3220
vfio_noiommu_enabled 1661
vtophys_check_contiguous_entries 163520
vtophys_get_paddr_memseg 1142833
vtophys_get_paddr_pagemap 16505
vtophys_get_paddr_pci 2656
vtophys_init 3220
vtophys_iommu_init 3220
vtophys_iommu_map_dma 224
vtophys_iommu_map_dma_bar 170
vtophys_iommu_unmap_dma 224
vtophys_iommu_unmap_dma_bar 122
vtophys_notify 81115
vtophys_pci_device_added 1420
vtophys_pci_device_removed 637

Generated by: LCOV version 1.14