LCOV - code coverage report
Current view: top level - spdk/lib/env_dpdk - memory.c (source / functions) Hit Total Coverage
Test: Combined Lines: 629 795 79.1 %
Date: 2024-12-09 04:27:10 Functions: 36 38 94.7 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 887 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 535
vtophys_iommu_map_dma_bar 559
spdk_mem_map_free 706
_vfio_iommu_unmap_dma 750
_vfio_iommu_map_dma 774
spdk_mem_get_fd_and_offset 1016
has_iommu_groups 1068
vfio_noiommu_enabled 1068
vtophys_pci_device_removed 1124
vtophys_pci_device_added 1861
vtophys_get_paddr_pci 2682
vfio_enabled 2711
vtophys_iommu_init 2711
vtophys_init 2778
mem_map_init 2800
memory_iter_cb 2868
pci_device_vtophys 3160
mem_map_notify_walk 6940
spdk_mem_map_alloc 11856
vtophys_get_paddr_pagemap 16571
spdk_iommu_is_enabled 21541
spdk_mem_unregister 36526
spdk_mem_register 39101
memory_hotplug_cb 70769
numa_notify 74747
vtophys_notify 74747
vtophys_check_contiguous_entries 166781
spdk_mem_map_clear_translation 718319
vtophys_get_paddr_memseg 1111554
spdk_mem_map_set_translation 3630959
mem_map_get_map_1gb 5463395
spdk_vtophys 136421075
spdk_mem_map_translate 160142493

Generated by: LCOV version 1.14