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-11-20 15:05:15 Functions: 36 38 94.7 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 886 1708 51.9 %

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 532
vtophys_iommu_map_dma_bar 556
spdk_mem_map_free 697
_vfio_iommu_unmap_dma 747
_vfio_iommu_map_dma 771
spdk_mem_get_fd_and_offset 944
has_iommu_groups 1065
vfio_noiommu_enabled 1065
vtophys_pci_device_removed 1121
vtophys_pci_device_added 1858
vtophys_get_paddr_pci 2682
vfio_enabled 2708
vtophys_iommu_init 2708
vtophys_init 2775
mem_map_init 2797
memory_iter_cb 2939
pci_device_vtophys 3160
mem_map_notify_walk 6916
spdk_mem_map_alloc 11835
vtophys_get_paddr_pagemap 16571
spdk_iommu_is_enabled 21535
spdk_mem_unregister 37338
spdk_mem_register 39718
memory_hotplug_cb 72127
numa_notify 76176
vtophys_notify 76176
vtophys_check_contiguous_entries 167027
spdk_mem_map_clear_translation 719458
vtophys_get_paddr_memseg 1112831
spdk_mem_map_set_translation 3632738
mem_map_get_map_1gb 5463927
spdk_vtophys 121571761
spdk_mem_map_translate 143820607

Generated by: LCOV version 1.15