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 01:30:01
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_mngt_nv_cache_restore_l2p
0
ftl_mngt_nv_cache_walk_tail_md
0
walk_tail_md_cb
0
ftl_mngt_nv_cache_restore_chunk_state
1
is_chunk_count_valid
1
restore_chunk_state_cb
1
ftl_mngt_nv_cache_recover_open_chunk_cb
2
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
ftl_mngt_nv_cache_recover_open_chunk
3
ftl_property_dump_cache_dev
3
ftl_nv_cache_acquire_trim_seq_id
4
ftl_nv_cache_scrub
6
chunk_free_cb
9
compaction_stats_update
9
ftl_chunk_alloc_chunk_free_entry
9
ftl_chunk_free
9
ftl_chunk_free_chunk_free_entry
9
ftl_nv_cache_get_chunk_state_name
15
ftl_nv_cache_get_chunk_utilization
15
chunk_close_cb
19
chunk_map_write_cb
19
ftl_chunk_close
19
_ftl_chunk_basic_rq_write
21
ftl_chunk_basic_rq_read
21
ftl_chunk_basic_rq_write
21
ftl_chunk_read_tail_md
21
ftl_nv_cache_load_state
21
read_brq_end
21
read_chunk_p2l_map
21
read_chunk_p2l_map_cb
21
sort_chunks
21
write_brq_end
21
nvc_scrub_clear_cb
24
ftl_nv_cache_deinit
27
ftl_nv_cache_init
27
nv_cache_p2l_map_pool_elem_size
27
nvc_data_blocks
27
ftl_nv_cache_get_max_seq_id
28
nvc_scrub_find_next_chunk
30
ftl_nv_cache_save_state
33
prepare_chunk_for_compaction
38
sort_chunks_cmp
41
ftl_nv_cache_init_update_limits
48
ftl_nv_cache_chunk_tail_md_num_blocks
54
chunk_open_cb
58
ftl_chunk_open
58
chunk_free_p2l_map
69
ftl_chunk_free_md_entry
69
nvc_data_offset
75
chunk_alloc_p2l_map
81
ftl_chunk_alloc_md_entry
81
get_chunk_idx
88
ftl_nv_cache_chunk_md_initialize
138
compactor_alloc
216
compactor_free
216
nvc_validate_md
405
ftl_nv_cache_chunks_busy
1063
compaction_process_pad
1586
compaction_process_finish_read
4098
compaction_process_ftl_done
4098
compaction_process_pin_lba
4098
compaction_process_read
4098
compaction_process_read_entry
4098
compaction_process_read_entry_cb
4098
compaction_process_start
5684
compactor_deactivate
5684
ftl_nv_cache_halt
8219
ftl_nv_cache_throttle_update
41795
ftl_nv_cache_is_halted
204039
is_compaction_required_for_upgrade
403817
compaction_process_pin_lba_cb
1049088
ftl_chunk_map_get_lba
1049088
chunk_blocks_to_read
1049092
compaction_chunk_read_pos
1049092
chunk_compaction_advance
1049095
is_chunk_compacted
1049095
compaction_entry_read_pos
1050674
is_chunk_to_read
1050676
get_chunk_for_compaction
1050678
compaction_process_invalidate_entry
1510400
chunk_is_closed
1638047
ftl_nv_cache_fill_md
1638054
ftl_nv_cache_full
1638054
ftl_nv_cache_get_wr_buffer
1638054
ftl_nv_cache_l2p_update
1638054
ftl_nv_cache_pin_cb
1638054
ftl_nv_cache_submit_cb_done
1638054
ftl_nv_cache_write
1638054
ftl_nv_cache_write_complete
1638054
chunk_get_free_space
1638066
chunk_advance_blocks
1638075
chunk_tail_md_offset
1638119
ftl_nv_cache_throttle
1641163
ftl_nv_cache_read
1673560
ftl_nv_cache_set_addr
2252191
ftl_chunk_map_set_lba
2775967
ftl_nv_cache_chunk_set_addr
2775967
ftl_nv_cache_get_chunk_from_addr
4194248
chunk_user_blocks_written
4197958
compaction_process
99241245
ftl_chunk_persist_free_state
99241245
ftl_nv_cache_process
99241245
ftl_nv_cache_process_throttle
99241245
is_compaction_required
99241245
Generated by:
LCOV version 1.15