LCOV - code coverage report
Current view: top level - spdk/lib/env_dpdk - memory.c (source / functions) Hit Total Coverage
Test: Combined Lines: 624 795 78.5 %
Date: 2024-12-10 00:39:28 Functions: 36 38 94.7 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 885 1708 51.8 %

Function Name Sort by function name Hit count Sort by hit count
spdk_mem_get_numa_id 0
spdk_mem_reserve 0
mem_disable_huge_pages 6
vtophys_iommu_map_dma 215
vtophys_iommu_unmap_dma 215
vtophys_iommu_unmap_dma_bar 531
vtophys_iommu_map_dma_bar 555
spdk_mem_map_free 684
_vfio_iommu_unmap_dma 746
_vfio_iommu_map_dma 770
spdk_mem_get_fd_and_offset 812
has_iommu_groups 1064
vfio_noiommu_enabled 1064
vtophys_pci_device_removed 1120
vtophys_pci_device_added 1857
vtophys_get_paddr_pci 2682
vfio_enabled 2707
vtophys_iommu_init 2707
vtophys_init 2774
memory_iter_cb 2793
mem_map_init 2796
pci_device_vtophys 3160
mem_map_notify_walk 6888
spdk_mem_map_alloc 11818
vtophys_get_paddr_pagemap 16571
spdk_iommu_is_enabled 21533
spdk_mem_unregister 36366
spdk_mem_register 38860
memory_hotplug_cb 70443
numa_notify 74346
vtophys_notify 74346
vtophys_check_contiguous_entries 165585
spdk_mem_map_clear_translation 716677
vtophys_get_paddr_memseg 1109521
spdk_mem_map_set_translation 3624330
mem_map_get_map_1gb 5454004
spdk_vtophys 131536791
spdk_mem_map_translate 156623507

Generated by: LCOV version 1.15