LCOV - code coverage report
Current view: top level - lib/plugin_apis - crypto.c (source / functions) Coverage Total Hit
Test: libblockdev Coverage Report Lines: 55.8 % 791 441
Test Date: 2026-01-26 13:19:28 Functions: 56.2 % 128 72
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by function hit count
bd_crypto_bitlk_close 5
bd_crypto_bitlk_close_stub 0
bd_crypto_bitlk_info 7
bd_crypto_bitlk_info_copy 0
bd_crypto_bitlk_info_free 6
bd_crypto_bitlk_info_get_type 21
bd_crypto_bitlk_info_stub 0
bd_crypto_bitlk_open 4
bd_crypto_bitlk_open_flags 5
bd_crypto_bitlk_open_flags_stub 0
bd_crypto_bitlk_open_stub 0
bd_crypto_device_is_luks 4
bd_crypto_device_is_luks_stub 0
bd_crypto_device_seems_encrypted 2
bd_crypto_device_seems_encrypted_stub 0
bd_crypto_error_quark 116
bd_crypto_escrow_device 2
bd_crypto_escrow_device_stub 0
bd_crypto_fvault2_close 3
bd_crypto_fvault2_close_stub 0
bd_crypto_fvault2_open 3
bd_crypto_fvault2_open_flags 4
bd_crypto_fvault2_open_flags_stub 0
bd_crypto_fvault2_open_stub 0
bd_crypto_generate_backup_passphrase 101
bd_crypto_generate_backup_passphrase_stub 0
bd_crypto_integrity_close 5
bd_crypto_integrity_close_stub 0
bd_crypto_integrity_extra_copy 0
bd_crypto_integrity_extra_free 1
bd_crypto_integrity_extra_get_type 7
bd_crypto_integrity_extra_new 1
bd_crypto_integrity_format 4
bd_crypto_integrity_format_stub 0
bd_crypto_integrity_info 6
bd_crypto_integrity_info_copy 0
bd_crypto_integrity_info_free 6
bd_crypto_integrity_info_get_type 12
bd_crypto_integrity_info_stub 0
bd_crypto_integrity_open 5
bd_crypto_integrity_open_stub 0
bd_crypto_is_tech_avail 5
bd_crypto_is_tech_avail_stub 0
bd_crypto_keyring_add_key 3
bd_crypto_keyring_add_key_stub 0
bd_crypto_keyslot_context_copy 0
bd_crypto_keyslot_context_free 156
bd_crypto_keyslot_context_get_type 34
bd_crypto_keyslot_context_new_keyfile 23
bd_crypto_keyslot_context_new_keyfile_stub 0
bd_crypto_keyslot_context_new_keyring 4
bd_crypto_keyslot_context_new_keyring_stub 0
bd_crypto_keyslot_context_new_passphrase 125
bd_crypto_keyslot_context_new_passphrase_stub 0
bd_crypto_keyslot_context_new_volume_key 4
bd_crypto_keyslot_context_new_volume_key_stub 0
bd_crypto_luks_add_key 15
bd_crypto_luks_add_key_stub 0
bd_crypto_luks_change_key 8
bd_crypto_luks_change_key_stub 0
bd_crypto_luks_check_label 3
bd_crypto_luks_check_label_stub 0
bd_crypto_luks_close 82
bd_crypto_luks_close_stub 0
bd_crypto_luks_convert 4
bd_crypto_luks_convert_stub 0
bd_crypto_luks_extra_copy 0
bd_crypto_luks_extra_free 41
bd_crypto_luks_extra_get_type 9
bd_crypto_luks_extra_new 41
bd_crypto_luks_format 52
bd_crypto_luks_format_stub 0
bd_crypto_luks_header_backup 2
bd_crypto_luks_header_backup_stub 0
bd_crypto_luks_header_restore 2
bd_crypto_luks_header_restore_stub 0
bd_crypto_luks_info 22
bd_crypto_luks_info_copy 0
bd_crypto_luks_info_free 22
bd_crypto_luks_info_get_type 60
bd_crypto_luks_info_stub 0
bd_crypto_luks_kill_slot 8
bd_crypto_luks_kill_slot_stub 0
bd_crypto_luks_open 55
bd_crypto_luks_open_flags 57
bd_crypto_luks_open_flags_stub 0
bd_crypto_luks_open_stub 0
bd_crypto_luks_pbkdf_copy 41
bd_crypto_luks_pbkdf_free 82
bd_crypto_luks_pbkdf_get_type 6
bd_crypto_luks_pbkdf_new 41
bd_crypto_luks_remove_key 15
bd_crypto_luks_remove_key_stub 0
bd_crypto_luks_resize 6
bd_crypto_luks_resize_stub 0
bd_crypto_luks_resume 10
bd_crypto_luks_resume_stub 0
bd_crypto_luks_set_label 3
bd_crypto_luks_set_label_stub 0
bd_crypto_luks_set_persistent_flags 2
bd_crypto_luks_set_persistent_flags_stub 0
bd_crypto_luks_set_uuid 4
bd_crypto_luks_set_uuid_stub 0
bd_crypto_luks_status 8
bd_crypto_luks_status_stub 0
bd_crypto_luks_suspend 8
bd_crypto_luks_suspend_stub 0
bd_crypto_luks_token_info 4
bd_crypto_luks_token_info_copy 0
bd_crypto_luks_token_info_free 3
bd_crypto_luks_token_info_get_type 12
bd_crypto_luks_token_info_stub 0
bd_crypto_opal_format 1
bd_crypto_opal_format_stub 0
bd_crypto_opal_is_supported 3
bd_crypto_opal_is_supported_stub 0
bd_crypto_opal_reset_device 1
bd_crypto_opal_reset_device_stub 0
bd_crypto_opal_wipe_device 1
bd_crypto_opal_wipe_device_stub 0
bd_crypto_tc_close 7
bd_crypto_tc_close_stub 0
bd_crypto_tc_open 7
bd_crypto_tc_open_flags 8
bd_crypto_tc_open_flags_stub 0
bd_crypto_tc_open_stub 0
load_crypto_from_plugin 40
unload_crypto 40

Generated by: LCOV version 2.0-1