LCOV - code coverage report
Current view: top level - spdk/lib/env_dpdk - memory.c (source / functions) Hit Total Coverage
Test: Combined Lines: 548 684 80.1 %
Date: 2024-07-12 16:53:48 Functions: 35 36 97.2 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 342 519 65.9 %

Function Name Sort by function name Hit count Sort by hit count
spdk_mem_reserve 0
mem_disable_huge_pages 6
spdk_mem_get_fd_and_offset 56
vtophys_iommu_map_dma 203
vtophys_iommu_unmap_dma 203
vtophys_iommu_unmap_dma_bar 507
vtophys_iommu_map_dma_bar 531
spdk_mem_map_free 588
_vfio_iommu_unmap_dma 710
_vfio_iommu_map_dma 734
vtophys_pci_device_removed 1100
has_iommu_groups 1514
vfio_noiommu_enabled 1514
vtophys_pci_device_added 1828
vtophys_get_paddr_pci 2658
pci_device_vtophys 3168
vfio_enabled 3243
vtophys_init 3243
vtophys_iommu_init 3243
mem_map_init 3263
memory_iter_cb 3433
mem_map_notify_walk 4393
spdk_mem_map_alloc 10351
vtophys_get_paddr_pagemap 16571
spdk_iommu_is_enabled 21521
spdk_mem_unregister 42734
spdk_mem_register 45679
memory_hotplug_cb 83094
vtophys_notify 87613
vtophys_check_contiguous_entries 147572
spdk_mem_map_clear_translation 831412
vtophys_get_paddr_memseg 1202086
spdk_mem_map_set_translation 4003740
mem_map_get_map_1gb 4239698
spdk_vtophys 105633206
spdk_mem_map_translate 127353349

Generated by: LCOV version 1.14