LCOV - code coverage report
Current view: top level - spdk/lib/nvmf - vfio_user.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1671 2746 60.9 %
Date: 2024-12-16 16:53:24 Functions: 116 155 74.8 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 3356 10087 33.3 %

Function Name Sort by function name Hit count Sort by hit count
copy_doorbells 0
ctrlr_kick 0
ctrlr_to_poll_group 0
doorbell_stride 0
fail_ctrlr 0
handle_dbl_access 0
handle_doorbell_buffer_config 0
map_sdbl 0
memory_page_mask 0
memory_page_size 0
nvmf_vfio_user_discover 0
nvmf_vfio_user_poll_group_dump_stat 0
nvmf_vfio_user_qpair_abort_request 0
nvmf_vfio_user_qpair_get_local_trid 0
nvmf_vfio_user_qpair_get_peer_trid 0
poll_group_kick 0
set_sq_eventidx 0
sq_to_poll_group 0
unmap_sdbl 0
vfio_user_ctrlr_dump_migr_data 0
vfio_user_ctrlr_intr 0
vfio_user_ctrlr_intr_msg 0
vfio_user_ctrlr_set_intr_mode 0
vfio_user_migr_ctrlr_construct_qps 0
vfio_user_migr_ctrlr_enable_sqs 0
vfio_user_migr_ctrlr_mark_dirty 0
vfio_user_migr_ctrlr_restore 0
vfio_user_migr_ctrlr_save_data 0
vfio_user_migr_stream_to_data 0
vfio_user_migration_data_written 0
vfio_user_migration_device_state_transition 0
vfio_user_migration_get_pending_bytes 0
vfio_user_migration_prepare_data 0
vfio_user_migration_read_data 0
vfio_user_migration_write_data 0
vfio_user_poll_group_intr 0
vfio_user_poll_group_process 0
vfio_user_poll_group_rearm 0
vfio_user_sq_rearm 0
nvmf_vfio_user_req_free 8
vfio_user_poll_group_add_intr 8
vfio_user_poll_group_del_intr 8
access_pci_config 12
nvmf_vfio_user_create 18
nvmf_vfio_user_destroy 18
nvmf_vfio_user_opts_init 18
init_pci_config_space 37
nvmf_vfio_user_destroy_endpoint 37
nvmf_vfio_user_listen 37
nvmf_vfio_user_listen_associate 37
nvmf_vfio_user_stop_listen 37
vfio_user_dev_info_fill 37
vfio_user_get_log_level 37
vfio_user_log 39
nvmf_vfio_user_poll_group_create 40
nvmf_vfio_user_poll_group_destroy 40
disable_ctrlr 90
vfio_user_ctrlr_switch_doorbells 90
acq_setup 93
asq_setup 93
enable_ctrlr 93
_vfio_user_relisten 138
_vfio_user_qpair_disconnect 145
vfio_user_destroy_ctrlr 145
_free_ctrlr 153
free_ctrlr 153
nvmf_vfio_user_cdata_init 153
nvmf_vfio_user_create_ctrlr 153
start_ctrlr 153
vfio_user_register_accept_poller 175
vfio_user_migr_data_len 185
vfio_user_device_reset 194
free_sdbl 243
_post_completion_msg 245
_vfio_user_endpoint_resume_done_msg 276
ctrlr_quiesce 276
vfio_user_endpoint_resume_done 276
vfio_user_pause_done 276
vfio_user_quiesce_done 276
nvme_cmd_map_sgls_data 344
handle_create_io_cq 355
handle_create_io_sq 363
_spdk_nvmf_transport_register_muser 404
register_flag_nvmf_vfio 404
register_flag_vfio_user_db 404
delete_cq_done 480
init_cq 499
init_sq 501
_nvmf_vfio_user_poll_group_add 510
alloc_sq_reqs 510
delete_sq_done 510
handle_queue_connect_rsp 510
nvmf_vfio_user_close_qpair 510
nvmf_vfio_user_get_optimal_poll_group 510
nvmf_vfio_user_poll_group_add 510
nvmf_vfio_user_poll_group_remove 510
nvmf_vfio_user_prop_req_rsp_set 524
vfio_user_qpair_delete_cb 574
nvmf_vfio_user_qpair_get_listen_trid 666
ctrlr_doorbell_ptr 708
max_queue_size 724
in_interrupt_mode 852
map_q 964
free_sq_reqs 1011
poll_group_to_thread 1042
vfio_user_quiesce_pg 1042
memory_region_add_cb 1248
memory_region_remove_cb 1248
access_bar0_fn 1380
nvmf_vfio_user_prop_req_rsp 1380
vfio_user_property_access 1380
queue_index 1576
is_peer_same_process 2110
unmap_q 2190
vfio_user_dev_quiesce_cb 2519
handle_create_io_q 2952
handle_del_io_q 2987
io_q_exists 4072
nvmf_vfio_user_accept 12418
cq_dbl_headp 60560
free_qp 78336
map_admin_cmd_req 350587
consume_admin_cmd 356530
vfio_user_poll_vfu_ctx 377653
handle_sq_tdbl_write 523138
nvme_cmd_map_prps 862960
ctrlr_id 1733767
endpoint_id 1733917
nvme_cmd_map_sgls 3100153
nvmf_vfio_user_req_complete 3752635
get_nvmf_io_req_length 3961028
nvme_map_cmd 3963113
vfio_user_map_cmd 3963113
_map_one 4016085
map_one 4017049
map_io_cmd_req 4253699
handle_cmd_rsp 4627119
handle_cmd_req 4627127
_nvmf_vfio_user_req_free 4629017
get_nvmf_vfio_user_req 4629017
cq_is_full 4632754
cq_tail_advance 4632754
post_completion 4633062
consume_cmd 4633070
sq_head_advance 4633070
cq_free_slots 5183152
index_to_sg_t 7127694
q_addr 9797568
ctrlr_interrupt_enabled 34236295
cq_tailp 52399816
handle_suppressed_irq 97968029
sq_dbl_tailp 97968479
nvmf_vfio_user_sq_poll 98682107
nvmf_vfio_user_poll_group_poll 108994271
sq_headp 126335700

Generated by: LCOV version 1.15