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-achx @ Mon Jul 31 20:08:12 PDT 2023 Lines: 1744 2077 84.0 %
Date: 2023-07-31 20:08:12 Functions: 80 87 92.0 %

Function Name Sort by function name Hit count Sort by hit count
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 5
create_free_space_inode 5
io_ctl_read_entry 6
btrfs_free_space_init 11
btrfs_truncate_free_space_cache 12
load_free_space_cache 23
__btrfs_wait_cache_io 41
__btrfs_write_out_cache 41
btrfs_wait_cache_io 41
btrfs_write_out_cache 41
flush_dirty_cache 41
io_ctl_set_generation 41
io_ctl_zero_remaining_pages 41
update_cache_item 41
write_bitmap_entries 41
write_cache_extent_entries 41
write_pinned_extent_entries 41
io_ctl_drop_pages 42
io_ctl_init 42
io_ctl_prepare_pages 42
io_ctl_add_entry 220
btrfs_is_free_space_trimmed 258
btrfs_remove_free_space_inode 517
io_ctl_set_crc 704
io_ctl_map_page 705
btrfs_bitmap_cluster 758
__lookup_free_space_inode 1028
free_bitmap 1053
lookup_free_space_inode 1105
add_new_bitmap 1320
remove_from_bitmap 1366
btrfs_trim_block_group_bitmaps 1512
setup_cluster_bitmap 1514
reset_trimming_bitmap 1975
btrfs_trim_block_group 1980
recalculate_thresholds 2640
btrfs_trim_block_group_extents 2911
trim_bitmaps 3487
trim_no_bitmap 4891
btrfs_init_free_cluster 6934
__btrfs_return_cluster_to_free_space 9539
setup_cluster_no_bitmap 10476
btrfs_return_cluster_to_free_space 12155
btrfs_find_space_cluster 16533
__btrfs_remove_free_space_cache 22201
btrfs_remove_free_space_cache 22201
btrfs_init_free_space_ctl 22221
do_trimming 29001
btrfs_remove_free_space 81644
btrfs_add_free_space_async_trimmed 122794
steal_from_bitmap_to_front 448950
steal_from_bitmap_to_end 449155
btrfs_alloc_from_bitmap 1141546
btrfs_free_space_cache_v1_active 1255536
bitmap_clear_bits 1470359
add_bytes_to_bitmap 1558463
bitmap_set_bits 1558463
search_bitmap 1861496
steal_from_bitmap 2349154
relink_bitmap_entry 3085613
insert_into_bitmap 3252292
use_bitmap 3252294
btrfs_add_free_space 3695623
__btrfs_add_free_space 3873433
try_merge_free_space 4038579
btrfs_find_space_for_alloc 4113991
find_free_space 4114107
unlink_free_space 4679563
link_free_space 5848422
tree_insert_offset 7086194
btrfs_alloc_from_cluster 8519786
tree_search_offset 11444674
entry_less 44496664

Generated by: LCOV version 1.14