LCOV - code coverage report
Current view: top level - fs/btrfs - block-group.c (source / functions) Hit Total Coverage
Test: fstests of 6.5.0-rc4-xfsx @ Mon Jul 31 20:08:34 PDT 2023 Lines: 1653 2099 78.8 %
Date: 2023-07-31 20:08:34 Functions: 76 83 91.6 %

Function Name Sort by function name Hit count Sort by hit count
btrfs_mark_bg_to_reclaim 0
btrfs_reclaim_bgs_work 0
btrfs_use_block_group_size_class 0
clear_avail_alloc_bits 0
fill_dummy_bgs 0
force_metadata_allocation 0
reclaim_bgs_cmp 0
clean_pinned_extents 12
btrfs_force_chunk_alloc 23
btrfs_dec_block_group_ro 24
load_extent_tree_free 29
btrfs_dec_block_group_swap_extents 40
btrfs_reserve_chunk_metadata 62
btrfs_wait_block_group_reservations 523
btrfs_wait_nocow_writers 523
btrfs_remove_block_group 533
btrfs_start_trans_remove_block_group 533
clear_incompat_bg_bits 533
remove_block_group_item 533
btrfs_inc_block_group_ro 545
btrfs_inc_block_group_swap_extents 553
inc_block_group_ro 590
btrfs_caching_ctl_wait_done 650
btrfs_lookup_first_block_group 843
do_chunk_alloc 1427
btrfs_make_block_group 1470
insert_block_group_item 1470
insert_dev_extents 1470
insert_dev_extent 1800
check_system_chunk 2058
get_profile_num_devs 2058
reserve_chunk_space 2120
btrfs_wait_block_group_cache_progress 2811
btrfs_put_block_group_cache 3217
btrfs_read_block_groups 3217
check_chunk_block_group_mappings 3217
btrfs_free_block_groups 3218
btrfs_freeze_block_group 5071
btrfs_unfreeze_block_group 5071
caching_thread 5258
load_block_group_size_class 5258
sample_block_group_extent_item 8060
btrfs_mark_bg_unused 19011
read_bg_from_eb 29306
read_one_block_group 29306
btrfs_wait_block_group_cache_done 30210
btrfs_add_block_group_cache 30776
btrfs_create_block_group_cache 30776
exclude_super_stripes 30776
set_avail_alloc_bits 30776
find_first_block_group 32523
btrfs_get_caching_control 33554
btrfs_next_block_group 34472
btrfs_reclaim_bgs 44011
btrfs_free_reserved_bytes 44105
btrfs_delete_unused_bgs 47176
btrfs_rmap_block 92328
add_new_free_space 115767
btrfs_start_dirty_block_groups 206186
btrfs_setup_space_cache 206349
btrfs_write_dirty_block_groups 206739
btrfs_chunk_alloc 272872
should_alloc_chunk 272878
btrfs_inc_nocow_writers 280868
btrfs_dec_nocow_writers 280869
update_block_group_item 543996
cache_save_setup 543999
btrfs_put_caching_control 570078
btrfs_cache_block_group 645556
should_reclaim_block_group 8563323
btrfs_get_block_group 11537552
btrfs_dec_block_group_reservations 13262117
btrfs_add_reserved_bytes 13262459
btrfs_calc_block_group_size_class 13274440
btrfs_update_block_group 18582674
btrfs_block_group_should_use_size_class 22812344
btrfs_lookup_block_group 40775792
btrfs_create_pending_block_groups 56660928
block_group_cache_tree_search 72899660
btrfs_put_block_group 85069784
btrfs_reduce_alloc_profile 87139754
btrfs_get_alloc_profile 87142812
get_restripe_target 87147490

Generated by: LCOV version 1.14