LCOV - code coverage report
Current view: top level - fs/btrfs - free-space-cache.c (source / functions) Hit Total Coverage
Test: fstests of 6.5.0-rc3-djwx @ Mon Jul 31 20:08:22 PDT 2023 Lines: 1739 2124 81.9 %
Date: 2023-07-31 20:08:22 Functions: 80 88 90.9 %

Function Name Sort by function name Hit count Sort by hit count
__btrfs_add_free_space_zoned 0
btrfs_add_free_space_unused 0
btrfs_dump_free_space 0
btrfs_free_space_exit 0
cleanup_bitmap_list 0
cleanup_write_cache_enospc 0
io_ctl_add_bitmap 0
io_ctl_read_bitmap 0
__load_free_space_cache 1
copy_free_space_cache 1
io_ctl_check_crc 1
io_ctl_check_generation 1
readahead_cache 1
btrfs_set_free_space_cache_v1_active 2
cleanup_free_space_cache_v1 2
__create_free_space_inode 4
create_free_space_inode 4
io_ctl_read_entry 6
btrfs_free_space_init 11
btrfs_truncate_free_space_cache 12
load_free_space_cache 22
__btrfs_wait_cache_io 40
__btrfs_write_out_cache 40
btrfs_wait_cache_io 40
btrfs_write_out_cache 40
flush_dirty_cache 40
io_ctl_set_generation 40
io_ctl_zero_remaining_pages 40
update_cache_item 40
write_bitmap_entries 40
write_cache_extent_entries 40
write_pinned_extent_entries 40
io_ctl_drop_pages 41
io_ctl_init 41
io_ctl_prepare_pages 41
io_ctl_add_entry 219
btrfs_is_free_space_trimmed 267
btrfs_remove_free_space_inode 538
io_ctl_set_crc 640
io_ctl_map_page 641
btrfs_bitmap_cluster 783
__lookup_free_space_inode 1069
lookup_free_space_inode 1145
free_bitmap 1278
remove_from_bitmap 1365
setup_cluster_bitmap 1383
add_new_bitmap 1607
btrfs_trim_block_group_bitmaps 1671
reset_trimming_bitmap 2141
btrfs_trim_block_group 2144
btrfs_trim_block_group_extents 2496
recalculate_thresholds 3214
trim_bitmaps 3812
trim_no_bitmap 4640
btrfs_init_free_cluster 6944
__btrfs_return_cluster_to_free_space 9613
setup_cluster_no_bitmap 10392
btrfs_return_cluster_to_free_space 12857
btrfs_find_space_cluster 17159
__btrfs_remove_free_space_cache 26372
btrfs_remove_free_space_cache 26372
btrfs_init_free_space_ctl 26429
do_trimming 33924
btrfs_remove_free_space 88184
btrfs_add_free_space_async_trimmed 124580
steal_from_bitmap_to_front 460522
steal_from_bitmap_to_end 460740
btrfs_alloc_from_bitmap 1135728
btrfs_free_space_cache_v1_active 1240150
bitmap_clear_bits 1484839
add_bytes_to_bitmap 1572838
bitmap_set_bits 1572838
search_bitmap 1848685
steal_from_bitmap 2445463
relink_bitmap_entry 3114647
insert_into_bitmap 3326044
use_bitmap 3326046
btrfs_add_free_space 3804785
__btrfs_add_free_space 3989902
try_merge_free_space 4156743
btrfs_find_space_for_alloc 4301983
find_free_space 4302153
unlink_free_space 4881418
link_free_space 6062821
tree_insert_offset 7301470
btrfs_alloc_from_cluster 8675976
tree_search_offset 11743876
entry_less 46691068

Generated by: LCOV version 1.14