LCOV - code coverage report
Current view: top level - fs/btrfs - volumes.c (source / functions) Hit Total Coverage
Test: fstests of 6.5.0-rc3-djwx @ Mon Jul 31 20:08:22 PDT 2023 Lines: 2317 4011 57.8 %
Date: 2023-07-31 20:08:22 Functions: 111 162 68.5 %

Function Name Sort by function name Hit count Sort by hit count
__btrfs_balance 195
__btrfs_free_extra_devids 3216
add_missing_dev 0
alloc_btrfs_io_context 8539254
alloc_fs_devices 3264
balance_kthread 0
btrfs_add_dev_item 0
btrfs_add_system_chunk 93
btrfs_alloc_device 3265
btrfs_assign_next_active_device 0
btrfs_balance 195
btrfs_bg_flags_to_raid_index 169986167
btrfs_bg_type_to_factor 92353624
btrfs_bg_type_to_raid_name 9615
btrfs_calc_stripe_length 57024
btrfs_cancel_balance 12
btrfs_check_raid_min_devices 1
btrfs_check_rw_degradable 2
btrfs_chunk_alloc_add_chunk_item 1436
btrfs_chunk_writeable 24971
btrfs_cleanup_fs_uuids 0
btrfs_close_bdev 3242
btrfs_close_devices 3469
btrfs_close_one_device 3242
btrfs_cmp_device_info 0
btrfs_commit_device_sizes 203014
btrfs_create_chunk 1482
btrfs_create_uuid_tree 3
btrfs_del_sys_chunk 89
btrfs_describe_block_groups 521
btrfs_destroy_dev_replace_tgtdev 0
btrfs_dev_stat_inc_and_print 226
btrfs_dev_stat_print_on_load 2231
btrfs_device_init_dev_stats 3216
btrfs_find_device 74035
btrfs_find_device_by_devspec 0
btrfs_find_next_active_device 0
btrfs_finish_sprout 0
btrfs_forget_devices 5
btrfs_free_chunk 532
btrfs_free_dev_extent 817
btrfs_free_device 3254
btrfs_free_extra_devids 3216
btrfs_free_stale_devices 3270
btrfs_full_stripe_len 26407
btrfs_get_bdev_and_sb 3242
btrfs_get_bioc 0
btrfs_get_chunk_map 29778396
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 3215
btrfs_init_devices_late 3215
btrfs_init_new_device 0
btrfs_init_sprout 0
btrfs_is_parity_mirror 0
btrfs_map_block 14784407
btrfs_map_discard 33963
btrfs_map_repair_block 2
btrfs_mapping_tree_free 3242
btrfs_max_io_len 14786629
btrfs_may_alloc_data_chunk 503
btrfs_nr_parity_stripes 0
btrfs_num_copies 14849584
btrfs_num_devices 1
btrfs_open_devices 3469
btrfs_open_one_device 3242
btrfs_pause_balance 3219
btrfs_pinned_by_swapfile 523
btrfs_put_bioc 8539326
btrfs_put_dev_args_from_path 1
btrfs_read_chunk_tree 3216
btrfs_read_disk_super 6742
btrfs_read_sys_array 3216
btrfs_recover_balance 3215
btrfs_release_disk_super 13271
btrfs_relocate_chunk 523
btrfs_relocate_sys_chunks 0
btrfs_remove_chunk 532
btrfs_repair_one_zone 0
btrfs_report_missing_device 0
btrfs_resume_balance_async 3179
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 203188
btrfs_scan_one_device 6743
btrfs_scratch_superblock 0
btrfs_scratch_superblocks 0
btrfs_setup_sprout 0
btrfs_shrink_device 3
btrfs_update_device 2566
btrfs_uuid_scan_kthread 994
btrfs_verify_dev_extents 3215
calc_data_stripes 57024
check_fsid_changed 0
check_raid1c34_incompat_flag 1436
check_raid56_incompat_flag 1436
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 3469
contains_pending_extent 3583
create_chunk 1436
decide_stripe_size 1482
decide_stripe_size_regular 1436
decide_stripe_size_zoned 0
del_balance_item 195
describe_balance_args 312
describe_balance_start_or_resume 195
dev_args_match_device 74048
dev_args_match_fs_devices 74035
dev_extent_hole_check 3580
dev_extent_hole_check_zoned 0
dev_extent_search_start 1482
device_list_add 6740
devid_cmp 1
fill_device_from_item 3217
find_free_dev_extent 0
find_free_dev_extent_start 1482
find_fsid 6740
find_fsid_changed 0
find_fsid_inprogress 0
find_fsid_reverted_metadata 6740
find_fsid_with_metadata_uuid 0
find_live_mirror 9
find_next_chunk 1482
find_next_devid 0
free_fs_devices 3253
gather_device_info 1482
handle_missing_device 0
handle_ops_on_dev_replace 0
init_alloc_chunk_ctl 1482
init_alloc_chunk_ctl_policy_regular 1482
init_alloc_chunk_ctl_policy_zoned 0
init_first_rw_device 0
insert_balance_item 195
is_block_group_to_copy 0
map_raid56_repair_block 0
match_fsid_fs_devices 6192
open_fs_devices 3241
open_seed_devices 0
read_one_chunk 28195
read_one_dev 3217
readahead_tree_node_children 1
relocating_repair_kthread 0
remove_chunk_item 532
reset_balance_state 195
should_balance_chunk 2153
update_balance_args 0
update_dev_stat_item 3189
update_dev_time 0
validate_convert_profile 585
verify_chunk_dev_extent_mapping 3215
verify_one_dev_extent 32027

Generated by: LCOV version 1.14