LCOV - code coverage report
Current view: top level - fs/btrfs - volumes.c (source / functions) Hit Total Coverage
Test: fstests of 6.5.0-rc3-achx @ Mon Jul 31 20:08:12 PDT 2023 Lines: 2315 3928 58.9 %
Date: 2023-07-31 20:08:12 Functions: 111 159 69.8 %

Function Name Sort by function name Hit count Sort by hit count
__btrfs_balance 181
__btrfs_free_extra_devids 3212
add_missing_dev 0
alloc_btrfs_io_context 8388698
alloc_fs_devices 3258
balance_kthread 0
btrfs_add_dev_item 0
btrfs_add_system_chunk 90
btrfs_alloc_device 3259
btrfs_assign_next_active_device 0
btrfs_balance 181
btrfs_bg_flags_to_raid_index 173216872
btrfs_bg_type_to_factor 94604983
btrfs_bg_type_to_raid_name 9603
btrfs_calc_stripe_length 48044
btrfs_cancel_balance 12
btrfs_check_raid_min_devices 1
btrfs_check_rw_degradable 2
btrfs_chunk_alloc_add_chunk_item 1428
btrfs_chunk_writeable 20770
btrfs_cleanup_fs_uuids 0
btrfs_close_bdev 3239
btrfs_close_devices 3466
btrfs_close_one_device 3239
btrfs_cmp_device_info 0
btrfs_commit_device_sizes 203260
btrfs_create_chunk 1475
btrfs_create_uuid_tree 3
btrfs_del_sys_chunk 87
btrfs_describe_block_groups 499
btrfs_destroy_dev_replace_tgtdev 0
btrfs_dev_stat_inc_and_print 260
btrfs_dev_stat_print_on_load 2227
btrfs_device_init_dev_stats 3212
btrfs_find_device 64448
btrfs_find_device_by_devspec 0
btrfs_find_next_active_device 0
btrfs_finish_sprout 0
btrfs_forget_devices 5
btrfs_free_chunk 511
btrfs_free_dev_extent 789
btrfs_free_device 3249
btrfs_free_extra_devids 3212
btrfs_free_stale_devices 3264
btrfs_full_stripe_len 22198
btrfs_get_bdev_and_sb 3238
btrfs_get_bioc 0
btrfs_get_chunk_map 29091955
btrfs_get_dev_args_from_path 0
btrfs_get_dev_stats 2
btrfs_get_fs_uuids 0
btrfs_grow_device 1
btrfs_init_dev_stats 3211
btrfs_init_devices_late 3211
btrfs_init_new_device 0
btrfs_init_sprout 0
btrfs_is_parity_mirror 0
btrfs_map_block 14452608
btrfs_map_discard 29040
btrfs_map_repair_block 2
btrfs_mapping_tree_free 3239
btrfs_max_io_len 14453695
btrfs_may_alloc_data_chunk 481
btrfs_nr_parity_stripes 0
btrfs_num_copies 14517739
btrfs_num_devices 1
btrfs_open_devices 3465
btrfs_open_one_device 3238
btrfs_pause_balance 3216
btrfs_pinned_by_swapfile 501
btrfs_put_bioc 8388766
btrfs_put_dev_args_from_path 1
btrfs_read_chunk_tree 3212
btrfs_read_disk_super 6715
btrfs_read_sys_array 3212
btrfs_recover_balance 3211
btrfs_release_disk_super 13229
btrfs_relocate_chunk 501
btrfs_relocate_sys_chunks 0
btrfs_remove_chunk 511
btrfs_repair_one_zone 0
btrfs_report_missing_device 0
btrfs_resume_balance_async 3175
btrfs_rm_dev_item 0
btrfs_rm_dev_replace_free_srcdev 0
btrfs_rm_dev_replace_remove_srcdev 0
btrfs_rm_device 1
btrfs_run_dev_stats 203435
btrfs_scan_one_device 6715
btrfs_scratch_superblock 0
btrfs_scratch_superblocks 0
btrfs_setup_sprout 0
btrfs_shrink_device 3
btrfs_update_device 2523
btrfs_uuid_scan_kthread 995
btrfs_verify_dev_extents 3211
calc_data_stripes 48044
check_fsid_changed 0
check_raid1c34_incompat_flag 1428
check_raid56_incompat_flag 1428
chunk_devid_filter 0
chunk_drange_filter 0
chunk_soft_convert_filter 0
chunk_stripes_range_filter 0
chunk_usage_filter 2
chunk_usage_range_filter 0
chunk_vrange_filter 0
clone_fs_devices 0
close_fs_devices 3466
contains_pending_extent 3542
create_chunk 1428
decide_stripe_size 1475
decide_stripe_size_regular 1428
decide_stripe_size_zoned 0
del_balance_item 181
describe_balance_args 296
describe_balance_start_or_resume 181
dev_args_match_device 64462
dev_args_match_fs_devices 64448
dev_extent_hole_check 3539
dev_extent_search_start 1475
device_list_add 6713
devid_cmp 1
fill_device_from_item 3213
find_free_dev_extent 0
find_free_dev_extent_start 1475
find_fsid 6713
find_fsid_changed 0
find_fsid_inprogress 0
find_fsid_reverted_metadata 6713
find_fsid_with_metadata_uuid 0
find_live_mirror 9
find_next_chunk 1475
find_next_devid 0
free_fs_devices 3248
gather_device_info 1475
handle_missing_device 0
handle_ops_on_dev_replace 0
init_alloc_chunk_ctl 1475
init_alloc_chunk_ctl_policy_regular 1475
init_alloc_chunk_ctl_policy_zoned 0
init_first_rw_device 0
insert_balance_item 181
map_raid56_repair_block 0
match_fsid_fs_devices 5877
open_fs_devices 3237
open_seed_devices 0
read_one_chunk 23989
read_one_dev 3213
readahead_tree_node_children 1
remove_chunk_item 511
reset_balance_state 181
should_balance_chunk 2036
update_balance_args 0
update_dev_stat_item 3186
update_dev_time 0
validate_convert_profile 543
verify_chunk_dev_extent_mapping 3211
verify_one_dev_extent 27248

Generated by: LCOV version 1.14