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-08-14 00:43:33 Functions: 35 36 97.2 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 340 517 65.8 %

Function Name Sort by function name Hit count Sort by hit count
_vfio_iommu_map_dma 628
_vfio_iommu_unmap_dma 580
has_iommu_groups 969
mem_disable_huge_pages 6
mem_map_get_map_1gb 3532508
mem_map_init 2595
mem_map_notify_walk 3769
memory_hotplug_cb 68421
memory_iter_cb 2593
pci_device_vtophys 3222
spdk_iommu_is_enabled 21607
spdk_mem_get_fd_and_offset 54
spdk_mem_map_alloc 8369
spdk_mem_map_clear_translation 665831
spdk_mem_map_free 610
spdk_mem_map_set_translation 3335154
spdk_mem_map_translate 267517596
spdk_mem_register 38214
spdk_mem_reserve 0
spdk_mem_unregister 34560
spdk_vtophys 233049736
vfio_enabled 2575
vfio_noiommu_enabled 969
vtophys_check_contiguous_entries 135661
vtophys_get_paddr_memseg 1041024
vtophys_get_paddr_pagemap 16836
vtophys_get_paddr_pci 2532
vtophys_init 2575
vtophys_iommu_init 2575
vtophys_iommu_map_dma 80
vtophys_iommu_map_dma_bar 548
vtophys_iommu_unmap_dma 80
vtophys_iommu_unmap_dma_bar 500
vtophys_notify 71974
vtophys_pci_device_added 1823
vtophys_pci_device_removed 1085

Generated by: LCOV version 1.14