LCOV - code coverage report
Current view: top level - fs/ext4 - mballoc.c (source / functions) Hit Total Coverage
Test: fstests of 6.5.0-rc3-achx @ Mon Jul 31 20:08:12 PDT 2023 Lines: 2693 3328 80.9 %
Date: 2023-07-31 20:08:12 Functions: 109 120 90.8 %

Function Name Sort by function name Hit count Sort by hit count
ext4_discard_allocated_blocks 1
ext4_discard_preallocations 8367935
ext4_discard_work 0
ext4_exit_mballoc 0
ext4_free_blocks 2385421
ext4_free_blocks_simple 0
ext4_free_data_in_buddy 1533341
ext4_get_discard_pa_seq_sum 500
ext4_group_add_blocks 29
ext4_groupinfo_create_slab 2513
ext4_groupinfo_destroy_slabs 0
ext4_init_mballoc 12
ext4_issue_discard 11909
ext4_mb_add_groupinfo 856505
ext4_mb_add_n_trim 266959
ext4_mb_alloc_groupinfo 2538
ext4_mb_check_group_pa 273902
ext4_mb_check_limits 149303395
ext4_mb_choose_next_group 144266464
ext4_mb_choose_next_group_best_avail 887599
ext4_mb_choose_next_group_goal_fast 719395
ext4_mb_choose_next_group_p2_aligned 77089
ext4_mb_cleanup_pa 856505
ext4_mb_clear_bb 2385449
ext4_mb_collect_stats 3214523
ext4_mb_complex_scan_group 9941145
ext4_mb_discard_group_preallocations 614443
ext4_mb_discard_lg_preallocations 40
ext4_mb_discard_preallocations 4867
ext4_mb_discard_preallocations_should_retry 4867
ext4_mb_find_by_goal 2415062
ext4_mb_find_good_group_avg_frag_lists 4725184
ext4_mb_free_metadata 2387939
ext4_mb_generate_buddy 169471
ext4_mb_generate_from_freelist 169470
ext4_mb_generate_from_pa 169471
ext4_mb_get_buddy_page_lock 168705
ext4_mb_good_group 35201102
ext4_mb_good_group_nolock 146285858
ext4_mb_group_or_file 3213267
ext4_mb_init 2513
ext4_mb_init_backend 2513
ext4_mb_init_cache 335298
ext4_mb_init_group 168704
ext4_mb_initialize_context 3213954
ext4_mb_load_buddy_gfp 21542387
ext4_mb_mark_bb 0
ext4_mb_mark_diskspace_used 3212689
ext4_mb_mark_free_simple 224856
ext4_mb_mark_pa_deleted 644945
ext4_mb_measure_extent 141703240
ext4_mb_new_blocks 3942046
ext4_mb_new_blocks_simple 0
ext4_mb_new_group_pa 1665
ext4_mb_new_inode_pa 644073
ext4_mb_new_preallocation 645737
ext4_mb_normalize_request 2410247
ext4_mb_pa_adjust_overlap 1376903
ext4_mb_pa_alloc 2410326
ext4_mb_pa_assert_overlap 1377133
ext4_mb_pa_callback 900
ext4_mb_pa_free 2410020
ext4_mb_pa_goal_check 536594
ext4_mb_pa_put_free 1764989
ext4_mb_pa_rb_insert 644071
ext4_mb_prefetch 13373856
ext4_mb_prefetch_fini 2190415
ext4_mb_put_buddy_page_lock 168704
ext4_mb_put_pa 1449683
ext4_mb_regular_allocator 2415041
ext4_mb_release 2513
ext4_mb_release_context 3214728
ext4_mb_release_group_pa 178
ext4_mb_release_inode_pa 632857
ext4_mb_scan_aligned 194384
ext4_mb_seq_groups_next 2070
ext4_mb_seq_groups_show 2130
ext4_mb_seq_groups_start 60
ext4_mb_seq_groups_stop 60
ext4_mb_seq_structs_summary_next 0
ext4_mb_seq_structs_summary_show 0
ext4_mb_seq_structs_summary_start 0
ext4_mb_seq_structs_summary_stop 0
ext4_mb_show_ac 257
ext4_mb_show_pa 724430
ext4_mb_simple_scan_group 207373
ext4_mb_try_best_found 731984
ext4_mb_unload_buddy 21576378
ext4_mb_use_best_found 2410550
ext4_mb_use_group_pa 267681
ext4_mb_use_inode_pa 1181636
ext4_mb_use_preallocated 3213265
ext4_mballoc_query_range 2475
ext4_process_freed_data 201307
ext4_seq_mb_stats_show 0
ext4_trim_all_free 4912551
ext4_trim_extent 11909
ext4_trim_fs 19194
ext4_try_merge_freed_extent 3828872
ext4_try_to_trim_range 9010
mb_buddy_adjust_border 8942709
mb_buddy_mark_free 2362081
mb_clear_bit 33662943
mb_clear_bits 2402007
mb_find_buddy 2985177240
mb_find_extent 143903197
mb_find_next_bit 22565786
mb_find_next_zero_bit 156837862
mb_find_order_for_block 459460984
mb_free_blocks 2633185
mb_mark_used 2422439
mb_set_bit 66378189
mb_set_bits 5637730
mb_set_largest_free_order 5225075
mb_test_and_clear_bit 36699465
mb_test_and_clear_bits 2633189
mb_test_bit 2977371408
mb_update_avg_fragment_size 5225046
next_linear_group 142596158
should_optimize_scan 286891139

Generated by: LCOV version 1.14