LCOV - code coverage report
Current view:
top level
-
spdk/lib/ftl
- ftl_nv_cache.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1029
1445
71.2 %
Date:
2024-11-15 11:11:57
Functions:
107
111
96.4 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
340
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
5
chunk_free_cb
7
compaction_stats_update
7
ftl_chunk_alloc_chunk_free_entry
7
ftl_chunk_free
7
ftl_chunk_free_chunk_free_entry
7
ftl_chunk_basic_rq_read
15
ftl_chunk_read_tail_md
15
ftl_nv_cache_get_chunk_state_name
15
ftl_nv_cache_get_chunk_utilization
15
read_brq_end
15
read_chunk_p2l_map
15
read_chunk_p2l_map_cb
15
chunk_close_cb
16
chunk_map_write_cb
16
ftl_chunk_close
16
ftl_nv_cache_load_state
17
sort_chunks
17
_ftl_chunk_basic_rq_write
18
ftl_chunk_basic_rq_write
18
write_brq_end
18
nvc_scrub_clear_cb
20
ftl_nv_cache_deinit
22
ftl_nv_cache_init
22
nv_cache_p2l_map_pool_elem_size
22
nvc_data_blocks
22
ftl_nv_cache_get_max_seq_id
23
nvc_scrub_find_next_chunk
25
ftl_nv_cache_save_state
27
sort_chunks_cmp
30
ftl_nv_cache_init_update_limits
39
ftl_nv_cache_chunk_tail_md_num_blocks
44
prepare_chunk_for_compaction
44
chunk_open_cb
48
ftl_chunk_open
48
chunk_free_p2l_map
57
ftl_chunk_free_md_entry
57
nvc_data_offset
61
chunk_alloc_p2l_map
65
ftl_chunk_alloc_md_entry
65
get_chunk_idx
73
ftl_nv_cache_chunk_md_initialize
111
compactor_alloc
176
compactor_free
176
nvc_validate_md
330
ftl_nv_cache_chunks_busy
1053
compaction_process_pad
1331
compaction_process_finish_read
3586
compaction_process_ftl_done
3586
compaction_process_pin_lba
3586
compaction_process_read
3586
compaction_process_read_entry
3586
compaction_process_read_entry_cb
3586
compaction_process_start
4917
compactor_deactivate
4917
ftl_nv_cache_throttle_update
19985
ftl_nv_cache_halt
39127
ftl_nv_cache_is_halted
256603
is_compaction_required_for_upgrade
476232
compaction_process_pin_lba_cb
918016
ftl_chunk_map_get_lba
918016
chunk_blocks_to_read
918018
compaction_chunk_read_pos
918018
chunk_compaction_advance
918020
is_chunk_compacted
918020
compaction_entry_read_pos
919347
is_chunk_to_read
919348
get_chunk_for_compaction
919349
chunk_is_closed
1164427
ftl_nv_cache_fill_md
1164433
ftl_nv_cache_full
1164433
ftl_nv_cache_get_wr_buffer
1164433
ftl_nv_cache_l2p_update
1164433
ftl_nv_cache_pin_cb
1164433
ftl_nv_cache_submit_cb_done
1164433
ftl_nv_cache_throttle
1164433
ftl_nv_cache_write
1164433
ftl_nv_cache_write_complete
1164433
chunk_get_free_space
1164443
chunk_advance_blocks
1164451
chunk_tail_md_offset
1164486
ftl_nv_cache_read
1167195
compaction_process_invalidate_entry
1303808
ftl_nv_cache_set_addr
1933242
ftl_chunk_map_set_lba
2457018
ftl_nv_cache_chunk_set_addr
2457018
chunk_user_blocks_written
3673406
ftl_nv_cache_get_chunk_from_addr
3685592
compaction_process
35794706
ftl_chunk_persist_free_state
35794706
ftl_nv_cache_process
35794706
ftl_nv_cache_process_throttle
35794706
is_compaction_required
35794706
Generated by:
LCOV version 1.15