LCOV - code coverage report
Current view:
top level
-
spdk/lib/ftl
- ftl_nv_cache.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1030
1445
71.3 %
Date:
2024-11-17 15:35:00
Functions:
107
111
96.4 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
341
6638
5.1 %
Function Name
Hit count
_compaction_process_pin_lba
0
_ftl_chunk_basic_rq_write
22
chunk_advance_blocks
1681337
chunk_alloc_p2l_map
83
chunk_blocks_to_read
1049860
chunk_close_cb
20
chunk_compaction_advance
1049863
chunk_free_cb
9
chunk_free_p2l_map
71
chunk_get_free_space
1681327
chunk_is_closed
1681307
chunk_map_write_cb
20
chunk_open_cb
60
chunk_tail_md_offset
1681382
chunk_user_blocks_written
4201094
compaction_chunk_read_pos
1049860
compaction_entry_read_pos
1051506
compaction_process
95384000
compaction_process_finish_read
4101
compaction_process_ftl_done
4101
compaction_process_invalidate_entry
1527552
compaction_process_pad
1650
compaction_process_pin_lba
4101
compaction_process_pin_lba_cb
1049856
compaction_process_read
4101
compaction_process_read_entry
4101
compaction_process_read_entry_cb
4101
compaction_process_start
5751
compaction_stats_update
9
compactor_alloc
216
compactor_deactivate
5751
compactor_free
216
ftl_chunk_alloc_chunk_free_entry
9
ftl_chunk_alloc_md_entry
83
ftl_chunk_basic_rq_read
21
ftl_chunk_basic_rq_write
22
ftl_chunk_close
20
ftl_chunk_free
9
ftl_chunk_free_chunk_free_entry
9
ftl_chunk_free_md_entry
71
ftl_chunk_map_get_lba
1049856
ftl_chunk_map_set_lba
2995597
ftl_chunk_open
60
ftl_chunk_persist_free_state
95384000
ftl_chunk_read_tail_md
21
ftl_mngt_nv_cache_recover_open_chunk
3
ftl_mngt_nv_cache_recover_open_chunk_cb
2
ftl_mngt_nv_cache_restore_chunk_state
1
ftl_mngt_nv_cache_restore_l2p
0
ftl_mngt_nv_cache_walk_tail_md
0
ftl_nv_cache_acquire_trim_seq_id
4
ftl_nv_cache_chunk_md_initialize
141
ftl_nv_cache_chunk_set_addr
2995597
ftl_nv_cache_chunk_tail_md_num_blocks
54
ftl_nv_cache_chunks_busy
1063
ftl_nv_cache_deinit
27
ftl_nv_cache_fill_md
1681315
ftl_nv_cache_full
1681315
ftl_nv_cache_get_chunk_from_addr
4631729
ftl_nv_cache_get_chunk_state_name
15
ftl_nv_cache_get_chunk_utilization
15
ftl_nv_cache_get_max_seq_id
28
ftl_nv_cache_get_wr_buffer
1681315
ftl_nv_cache_halt
8862
ftl_nv_cache_init
27
ftl_nv_cache_init_update_limits
48
ftl_nv_cache_is_halted
255742
ftl_nv_cache_l2p_update
1681315
ftl_nv_cache_load_state
21
ftl_nv_cache_pin_cb
1681315
ftl_nv_cache_process
95384000
ftl_nv_cache_process_throttle
95384000
ftl_nv_cache_read
1689250
ftl_nv_cache_save_state
33
ftl_nv_cache_scrub
6
ftl_nv_cache_set_addr
2471821
ftl_nv_cache_submit_cb_done
1681315
ftl_nv_cache_throttle
1684137
ftl_nv_cache_throttle_update
40202
ftl_nv_cache_write
1681315
ftl_nv_cache_write_complete
1681315
ftl_property_dump_cache_dev
3
get_chunk_for_compaction
1051510
get_chunk_idx
91
is_chunk_compacted
1049863
is_chunk_count_valid
1
is_chunk_to_read
1051508
is_compaction_required
95384000
is_compaction_required_for_upgrade
506159
nv_cache_p2l_map_pool_elem_size
27
nvc_data_blocks
27
nvc_data_offset
75
nvc_scrub_clear_cb
24
nvc_scrub_find_next_chunk
30
nvc_validate_md
405
prepare_chunk_for_compaction
40
read_brq_end
21
read_chunk_p2l_map
21
read_chunk_p2l_map_cb
21
recover_open_chunk_cleanup
2
recover_open_chunk_close_chunk
2
recover_open_chunk_close_chunk_cb
2
recover_open_chunk_execute
2
recover_open_chunk_persist_p2l_map
2
recover_open_chunk_persist_p2l_map_cb
2
recover_open_chunk_prepare
2
restore_chunk_state_cb
1
sort_chunks
21
sort_chunks_cmp
38
walk_tail_md_cb
0
write_brq_end
22
Generated by:
LCOV version 1.15