LCOV - code coverage report
Current view: top level - spdk/lib/env_dpdk - memory.c (source / functions) Hit Total Coverage
Test: Combined Lines: 613 794 77.2 %
Date: 2024-12-10 14:42:55 Functions: 36 38 94.7 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 878 1708 51.4 %

Function Name Sort by function name Hit count Sort by hit count
_vfio_iommu_map_dma 770
_vfio_iommu_unmap_dma 746
has_iommu_groups 1064
mem_disable_huge_pages 6
mem_map_get_map_1gb 5255132
mem_map_init 2728
mem_map_notify_walk 6775
memory_hotplug_cb 71199
memory_iter_cb 2726
numa_notify 75035
pci_device_vtophys 3160
spdk_iommu_is_enabled 21533
spdk_mem_get_fd_and_offset 956
spdk_mem_get_numa_id 0
spdk_mem_map_alloc 11558
spdk_mem_map_clear_translation 717414
spdk_mem_map_free 694
spdk_mem_map_set_translation 3492381
spdk_mem_map_translate 130261547
spdk_mem_register 39160
spdk_mem_reserve 0
spdk_mem_unregister 36715
spdk_vtophys 106498675
vfio_enabled 2707
vfio_noiommu_enabled 1064
vtophys_check_contiguous_entries 166304
vtophys_get_paddr_memseg 1043551
vtophys_get_paddr_pagemap 16571
vtophys_get_paddr_pci 2682
vtophys_init 2707
vtophys_iommu_init 2707
vtophys_iommu_map_dma 215
vtophys_iommu_map_dma_bar 555
vtophys_iommu_unmap_dma 215
vtophys_iommu_unmap_dma_bar 531
vtophys_notify 75035
vtophys_pci_device_added 1935
vtophys_pci_device_removed 1093

Generated by: LCOV version 1.15