LCOV - code coverage report
Current view: top level - spdk/lib/env_dpdk - memory.c (source / functions) Hit Total Coverage
Test: Combined Lines: 592 765 77.4 %
Date: 2024-12-14 01:37:43 Functions: 35 36 97.2 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 869 1697 51.2 %

Function Name Sort by function name Hit count Sort by hit count
_vfio_iommu_map_dma 312
_vfio_iommu_unmap_dma 288
has_iommu_groups 1389
mem_disable_huge_pages 4
mem_map_get_map_1gb 3877120
mem_map_init 3107
mem_map_notify_walk 4011
memory_hotplug_cb 73541
memory_iter_cb 3084
pci_device_vtophys 3110
spdk_iommu_is_enabled 20485
spdk_mem_get_fd_and_offset 1003
spdk_mem_map_alloc 9771
spdk_mem_map_clear_translation 756176
spdk_mem_map_free 473
spdk_mem_map_set_translation 3717524
spdk_mem_map_translate 260666995
spdk_mem_register 41319
spdk_mem_reserve 0
spdk_mem_unregister 37042
spdk_vtophys 231424533
vfio_enabled 3088
vfio_noiommu_enabled 1389
vtophys_check_contiguous_entries 157997
vtophys_get_paddr_memseg 1114931
vtophys_get_paddr_pagemap 16505
vtophys_get_paddr_pci 2548
vtophys_init 3088
vtophys_iommu_init 3088
vtophys_iommu_map_dma 170
vtophys_iommu_map_dma_bar 142
vtophys_iommu_unmap_dma 170
vtophys_iommu_unmap_dma_bar 118
vtophys_notify 77601
vtophys_pci_device_added 1392
vtophys_pci_device_removed 627

Generated by: LCOV version 1.15