LCOV - code coverage report
Current view: top level - spdk/lib/env_dpdk - memory.c (source / functions) Hit Total Coverage
Test: Combined Lines: 630 795 79.2 %
Date: 2024-12-09 11:32:52 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 533
vtophys_iommu_map_dma_bar 557
spdk_mem_map_free 704
_vfio_iommu_unmap_dma 748
_vfio_iommu_map_dma 772
spdk_mem_get_fd_and_offset 1028
has_iommu_groups 1066
vfio_noiommu_enabled 1066
vtophys_pci_device_removed 1122
vtophys_pci_device_added 1860
vtophys_get_paddr_pci 2682
vfio_enabled 2709
vtophys_iommu_init 2709
vtophys_init 2776
mem_map_init 2798
memory_iter_cb 2922
pci_device_vtophys 3160
mem_map_notify_walk 6932
spdk_mem_map_alloc 11846
vtophys_get_paddr_pagemap 16571
spdk_iommu_is_enabled 21537
spdk_mem_unregister 36934
spdk_mem_register 39558
memory_hotplug_cb 71580
numa_notify 75612
vtophys_notify 75612
vtophys_check_contiguous_entries 164215
spdk_mem_map_clear_translation 717925
vtophys_get_paddr_memseg 1112202
spdk_mem_map_set_translation 3629786
mem_map_get_map_1gb 5460335
spdk_vtophys 110572372
spdk_mem_map_translate 133262540

Generated by: LCOV version 1.14