CTC++ Coverage Report - Functions Summary (Directory)

Directory Summary | Functions Summary | Execution Profile

Directory: drivers/acpi

File: ac.c
Instrumentation mode: function-decision-multicondition
TER: 24 % ( 22/ 90)
Previous | Next

TER % - covered/ all   Calls Line Function

50 % - 4/ 8  83 acpi_ac_get_state()
0 % - 0/ 14  109 acpi_ac_seq_show()
0 % - 0/ 2  139 acpi_ac_open_fs()
56 % - 5/ 9  144 acpi_ac_add_fs()
0 % - 0/ 4  174 acpi_ac_remove_fs()
0 % - 0/ 12  192 acpi_ac_notify()
43 % - 9/ 21  219 acpi_ac_add()
0 % - 0/ 10  271 acpi_ac_remove()
50 % - 4/ 8  296 acpi_ac_init()
0 % - 0/ 2  316 acpi_ac_exit()

24 % - 22/ 90    ac.c

File: battery.c
Instrumentation mode: function-decision-multicondition
TER: 21 % ( 52/248)
Previous | Next

TER % - covered/ all   Calls Line Function

41 % - 9/ 22  123 acpi_battery_get_info()
0 % - 0/ 22  184 acpi_battery_get_status()
0 % - 0/ 11  245 acpi_battery_set_alarm()
58 % - 15/ 26  512 272 acpi_battery_check()
0 % - 0/ 28  335 acpi_battery_read_info()
0 % - 0/ 2  415 acpi_battery_info_open_fs()
0 % - 0/ 33  420 acpi_battery_read_state()
0 % - 0/ 2  495 acpi_battery_state_open_fs()
0 % - 0/ 12  500 acpi_battery_read_alarm()
0 % - 0/ 17  534 acpi_battery_write_alarm()
0 % - 0/ 2  564 acpi_battery_alarm_open_fs()
54 % - 7/ 13  594 acpi_battery_add_fs()
0 % - 0/ 4  651 acpi_battery_remove_fs()
54 % - 7/ 13  506 674 acpi_battery_notify()
48 % - 10/ 21  702 acpi_battery_add()
0 % - 0/ 10  754 acpi_battery_remove()
50 % - 4/ 8  780 acpi_battery_init()
0 % - 0/ 2  800 acpi_battery_exit()

21 % - 52/ 248    battery.c

File: blacklist.c
Instrumentation mode: function-decision-multicondition
TER: 25 % ( 9/ 36)
Previous | Next

TER % - covered/ all   Calls Line Function

100 %   2/ 2  111 blacklist_by_year()
21 % - 7/ 34  117 acpi_blacklisted()

25 % - 9/ 36    blacklist.c

File: bus.c
Instrumentation mode: function-decision-multicondition
TER: 23 % ( 70/299)
Previous | Next

TER % - covered/ all   Calls Line Function

45 % - 5/ 11  1078 59 acpi_bus_get_device()
59 % - 10/ 17  836 82 acpi_bus_get_status()
32 % - 6/ 19  12 132 acpi_bus_get_power()
35 % - 18/ 52  48 181 acpi_bus_set_power()
15 % - 4/ 27  506 289 acpi_bus_generate_event()
0 % - 0/ 37  323 acpi_bus_receive_event()
0 % - 0/ 35  374 acpi_bus_check_device()
0 % - 0/ 11  426 acpi_bus_check_scope()
0 % - 0/ 23  457 acpi_bus_notify()
38 % - 6/ 16  547 acpi_bus_init_irq()
38 % - 9/ 24  589 acpi_early_init()
39 % - 7/ 18  662 acpi_bus_init()
56 % - 5/ 9  740 acpi_init()

23 % - 70/ 299    bus.c

File: button.c
Instrumentation mode: function-decision-multicondition
TER: 30 % ( 45/148)
Previous | Next

TER % - covered/ all   Calls Line Function

0 % - 0/ 8  111 acpi_button_info_seq_show()
0 % - 0/ 2  126 acpi_button_info_open_fs()
0 % - 0/ 12  131 acpi_button_state_seq_show()
0 % - 0/ 2  153 acpi_button_state_open_fs()
62 % - 21/ 34  24 162 acpi_button_add_fs()
0 % - 0/ 6  237 acpi_button_remove_fs()
0 % - 0/ 12  263 acpi_button_notify()
0 % - 0/ 5  286 acpi_button_notify_fixed()
57 % - 20/ 35  24 300 acpi_button_add()
0 % - 0/ 16  412 acpi_button_remove()
50 % - 4/ 8  454 acpi_button_init()
0 % - 0/ 8  473 acpi_button_exit()

30 % - 45/ 148    button.c

File: container.c
Instrumentation mode: function-decision-multicondition
TER: 0 % ( 0/ 93)
Previous | Next

TER % - covered/ all   Calls Line Function

0 % - 0/ 8  70 is_device_present()
0 % - 0/ 8  90 acpi_container_add()
0 % - 0/ 2  117 acpi_container_remove()
0 % - 0/ 11  127 container_device_add()
0 % - 0/ 27  152 container_notify_cb()
0 % - 0/ 26  199 container_walk_namespace_cb()
0 % - 0/ 5  249 acpi_container_init()
0 % - 0/ 2  268 acpi_container_exit()
0 % - 0/ 2  284 __inittest()
0 % - 0/ 2  285 __exittest()

0 % - 0/ 93    container.c

File: container.mod.c
Instrumentation mode: function-decision-multicondition
TER: 100 % ( 0/ 0)
Previous | Next

TER % - covered/ all   Calls Line Function


100 %   0/ 0    container.mod.c

File: ec.c
Instrumentation mode: function-decision-multicondition
TER: 26 % (153/600)
Previous | Next

TER % - covered/ all   Calls Line Function

100 %   2/ 2  1101976 156 acpi_ec_read_status()
60 % - 3/ 5  445162 164 acpi_ec_wait()
0 % - 0/ 29  172 acpi_ec_poll_wait()
74 % - 14/ 19  445162 206 acpi_ec_intr_wait()
60 % - 3/ 5  45603 308 acpi_ec_read()
60 % - 3/ 5  39815 315 acpi_ec_write()
0 % - 0/ 37  322 acpi_ec_poll_read()
0 % - 0/ 37  369 acpi_ec_poll_write()
41 % - 11/ 27  45603 417 acpi_ec_intr_read()
45 % - 10/ 22  39815 469 acpi_ec_intr_write()
0 % - 0/ 8  521 ec_read()
0 % - 0/ 5  543 ec_write()
60 % - 3/ 5  94454 560 acpi_ec_query()
0 % - 0/ 36  567 acpi_ec_poll_query()
39 % - 9/ 23  94454 612 acpi_ec_intr_query()
67 % - 2/ 3  107893 671 acpi_ec_gpe_query()
0 % - 0/ 26  679 acpi_ec_gpe_poll_query()
100 %   7/ 7  107893 720 acpi_ec_gpe_intr_query()
60 % - 3/ 5  399588 749 acpi_ec_gpe_handler()
0 % - 0/ 8  756 acpi_ec_gpe_poll_handler()
83 % - 19/ 23  399588 774 acpi_ec_gpe_intr_handler()
75 % - 3/ 4  817 acpi_ec_space_setup()
34 % - 14/ 41  85418 831 acpi_ec_space_handler()
0 % - 0/ 7  909 acpi_ec_read_info()
0 % - 0/ 2  931 acpi_ec_info_open_fs()
56 % - 5/ 9  944 acpi_ec_add_fs()
0 % - 0/ 4  972 acpi_ec_remove_fs()
0 % - 0/ 25  989 acpi_ec_poll_add()
43 % - 10/ 23  1060 acpi_ec_intr_add()
0 % - 0/ 5  1135 acpi_ec_remove()
80 % - 8/ 10  18 1154 acpi_ec_io_ports()
40 % - 8/ 20  1184 acpi_ec_start()
0 % - 0/ 11  1243 acpi_ec_stop()
0 % - 0/ 5  1271 acpi_fake_ecdt_callback()
0 % - 0/ 10  1284 acpi_fake_ecdt_poll_callback()
0 % - 0/ 8  1316 acpi_fake_ecdt_intr_callback()
0 % - 0/ 9  1358 acpi_ec_fake_ecdt()
60 % - 3/ 5  1386 acpi_ec_get_real_ecdt()
0 % - 0/ 14  1394 acpi_ec_poll_get_real_ecdt()
25 % - 3/ 12  1439 acpi_ec_intr_get_real_ecdt()
29 % - 5/ 17  1486 acpi_ec_ecdt_probe()
45 % - 5/ 11  1533 acpi_ec_init()
0 % - 0/ 2  1572 acpi_fake_ecdt_setup()
0 % - 0/ 9  1579 acpi_ec_set_intr_mode()

26 % - 153/ 600    ec.c

File: event.c
Instrumentation mode: function-decision-multicondition
TER: 6 % ( 4/ 72)
Previous | Next

TER % - covered/ all   Calls Line Function

0 % - 0/ 24  24 acpi_system_open_event()
0 % - 0/ 22  42 acpi_system_read_event()
0 % - 0/ 14  87 acpi_system_close_event()
0 % - 0/ 5  95 acpi_system_poll_event()
57 % - 4/ 7  110 acpi_event_init()

6 % - 4/ 72    event.c

File: fan.c
Instrumentation mode: function-decision-multicondition
TER: 5 % ( 4/ 76)
Previous | Next

TER % - covered/ all   Calls Line Function

0 % - 0/ 8  72 acpi_fan_read_state()
0 % - 0/ 2  89 acpi_fan_state_open_fs()
0 % - 0/ 14  95 acpi_fan_write_state()
0 % - 0/ 12  130 acpi_fan_add_fs()
0 % - 0/ 4  164 acpi_fan_remove_fs()
0 % - 0/ 18  181 acpi_fan_add()
0 % - 0/ 8  224 acpi_fan_remove()
50 % - 4/ 8  242 acpi_fan_init()
0 % - 0/ 2  262 acpi_fan_exit()

5 % - 4/ 76    fan.c

File: glue.c
Instrumentation mode: function-decision-multicondition
TER: 60 % ( 87/146)
Previous | Next

TER % - covered/ all   Calls Line Function

42 % - 5/ 12  24 register_acpi_bus_type()
0 % - 0/ 8  41 unregister_acpi_bus_type()
100 %   7/ 7  260 58 acpi_get_bus_type()
90 % - 9/ 10  108 73 acpi_find_bridge_device()
93 % - 13/ 14  102 97 do_root_bridge_busnr_callback()
44 % - 8/ 18  115 get_root_bridge_busnr()
47 % - 7/ 15  160 find_pci_rootbridge()
100 %   2/ 2  199 acpi_get_pci_rootbridge_handle()
83 % - 5/ 6  978 215 do_acpi_find_child()
60 % - 3/ 5  114 232 acpi_get_child()
0 % - 0/ 1  246 acpi_glue_data_handler()
0 % - 0/ 5  253 acpi_get_physical_device()
50 % - 4/ 8  66 266 acpi_bind_one()
43 % - 3/ 7  44 286 acpi_unbind_one()
93 % - 14/ 15  368 304 acpi_platform_notify()
100 %   2/ 2  44 341 acpi_platform_notify_remove()
45 % - 5/ 11  347 init_acpi_device_notify()

60 % - 87/ 146    glue.c

File: hotkey.c
Instrumentation mode: function-decision-multicondition
TER: 1 % ( 4/320)
Previous | Next

TER % - covered/ all   Calls Line Function

0 % - 0/ 2  232 hotkey_info_seq_show()
0 % - 0/ 2  241 hotkey_info_open_fs()
0 % - 0/ 7  246 format_result()
0 % - 0/ 6  263 hotkey_polling_seq_show()
0 % - 0/ 2  280 hotkey_polling_open_fs()
0 % - 0/ 2  285 hotkey_action_open_fs()
0 % - 0/ 10  291 hotkey_get_internal_event()
0 % - 0/ 5  312 acpi_hotkey_notify_handler()
0 % - 0/ 2  329 auto_hotkey_add()
0 % - 0/ 2  336 auto_hotkey_remove()
0 % - 0/ 5  343 create_polling_proc()
0 % - 0/ 4  374 hotkey_add()
0 % - 0/ 7  397 hotkey_remove()
0 % - 0/ 10  418 hotkey_update()
0 % - 0/ 6  472 free_hotkey_device()
0 % - 0/ 1  499 free_hotkey_buffer()
0 % - 0/ 1  504 free_poll_hotkey_buffer()
0 % - 0/ 26  511 init_hotkey_device()
0 % - 0/ 35  550 init_poll_hotkey_device()
0 % - 0/ 2  598 hotkey_open_config()
0 % - 0/ 2  605 hotkey_poll_open_config()
0 % - 0/ 6  612 hotkey_config_seq_show()
0 % - 0/ 6  642 hotkey_poll_config_seq_show()
0 % - 0/ 36  673 get_parms()
0 % - 0/ 59  751 hotkey_write_config()
0 % - 0/ 2  874 write_acpi_int()
0 % - 0/ 4  892 read_acpi_int()
0 % - 0/ 7  913 get_hotkey_by_event()
0 % - 0/ 30  937 hotkey_execute_aml_method()
15 % - 4/ 27  997 hotkey_init()
0 % - 0/ 4  1101 hotkey_exit()

1 % - 4/ 320    hotkey.c

File: motherboard.c
Instrumentation mode: function-decision-multicondition
TER: 48 % ( 37/ 77)
Previous | Next

TER % - covered/ all   Calls Line Function

56 % - 14/ 25  114 51 acpi_reserve_io_ranges()
60 % - 3/ 5  12 98 acpi_motherboard_add()
40 % - 17/ 43  126 acpi_reserve_resources()
75 % - 3/ 4  164 acpi_motherboard_init()

48 % - 37/ 77    motherboard.c

File: osl.c
Instrumentation mode: function-decision-multicondition
TER: 36 % (138/379)
Previous | Next

TER % - covered/ all   Calls Line Function

100 %   2/ 2  78 acpi_os_initialize()
56 % - 5/ 9  83 acpi_os_initialize1()
0 % - 0/ 4  100 acpi_os_terminate()
100 %   1/ 1  48 112 acpi_os_printf()
100 %   1/ 1  72 122 acpi_os_vprintf()
60 % - 3/ 5  440936 140 acpi_os_allocate()
100 %   1/ 1  436538 148 acpi_os_free()
33 % - 4/ 12  12 155 acpi_os_get_root_pointer()
42 % - 5/ 12  168 182 acpi_os_map_memory()
100 %   1/ 1  132 209 acpi_os_unmap_memory()
54 % - 7/ 13  24 233 acpi_os_predefined_override()
50 % - 4/ 8  36 250 acpi_os_table_override()
75 % - 3/ 4  399594 267 acpi_irq()
50 % - 4/ 8  273 acpi_os_install_interrupt_handler()
0 % - 0/ 4  301 acpi_os_remove_interrupt_handler()
0 % - 0/ 1  316 acpi_os_sleep()
0 % - 0/ 9  323 acpi_os_stall()
0 % - 0/ 4  343 acpi_os_get_timer()
64 % - 7/ 11  3639891 360 acpi_os_read_port()
67 % - 6/ 9  1109312 386 acpi_os_write_port()
0 % - 0/ 19  408 acpi_os_read_memory()
0 % - 0/ 15  450 acpi_os_write_memory()
42 % - 8/ 19  438 487 acpi_os_read_pci_configuration()
44 % - 7/ 16  48 521 acpi_os_write_pci_configuration()
38 % - 9/ 24  30 550 acpi_os_derive_pci_id_2()
100 %   1/ 1  18 608 acpi_os_derive_pci_id()
60 % - 3/ 5  108402 618 acpi_os_execute_deferred()
50 % - 7/ 14  108402 638 acpi_os_queue_for_execution()
0 % - 0/ 1  689 acpi_os_wait_events_complete()
75 % - 3/ 4  699 acpi_os_create_lock()
0 % - 0/ 2  719 acpi_os_delete_lock()
60 % - 3/ 5  114 731 acpi_os_create_semaphore()
0 % - 0/ 5  761 acpi_os_delete_semaphore()
40 % - 12/ 30  584085 789 acpi_os_wait_semaphore()
45 % - 5/ 11  584085 871 acpi_os_signal_semaphore()
67 % - 2/ 3  24 914 acpi_os_readable()
60 % - 3/ 5  1222674 933 acpi_os_get_thread_id()
0 % - 0/ 8  941 acpi_os_signal()
0 % - 0/ 27  966 acpi_os_name_setup()
0 % - 0/ 7  995 acpi_osi_setup()
0 % - 0/ 2  1012 acpi_serialize_setup()
0 % - 0/ 2  1032 acpi_wake_gpes_always_on_setup()
0 % - 0/ 2  1043 acpi_hotkey_setup()
58 % - 7/ 12  399612 1065 acpi_os_acquire_lock()
57 % - 4/ 7  399612 1076 acpi_os_release_lock()
100 %   2/ 2  24 1099 acpi_os_create_cache()
100 %   2/ 2  24 1117 acpi_os_purge_cache()
0 % - 0/ 2  1136 acpi_os_delete_cache()
100 %   2/ 2  12255889 1156 acpi_os_release_object()
67 % - 4/ 6  12261991 1176 acpi_os_acquire_object()

36 % - 138/ 379    osl.c

File: pci_bind.c
Instrumentation mode: function-decision-multicondition
TER: 30 % ( 30/100)
Previous | Next

TER % - covered/ all   Calls Line Function

0 % - 0/ 2  47 acpi_pci_data_handler()
0 % - 0/ 14  64 acpi_get_pci_id()
49 % - 22/ 45  60 111 acpi_pci_bind()
0 % - 0/ 19  275 acpi_pci_unbind()
40 % - 8/ 20  329 acpi_pci_bind_root()

30 % - 30/ 100    pci_bind.c

File: pci_irq.c
Instrumentation mode: function-decision-multicondition
TER: 42 % ( 71/168)
Previous | Next

TER % - covered/ all   Calls Line Function

67 % - 18/ 27  66 51 acpi_pci_irq_find_prt_entry()
50 % - 9/ 18  78 85 acpi_pci_irq_add_entry()
0 % - 0/ 6  148 acpi_pci_irq_del_entry()
57 % - 12/ 21  12 157 acpi_pci_irq_add_prt()
0 % - 0/ 14  233 acpi_pci_irq_del_prt()
43 % - 3/ 7  60 260 acpi_pci_allocate_irq()
0 % - 0/ 4  287 acpi_pci_free_irq()
100 %   5/ 5  66 307 acpi_pci_irq_lookup()
33 % - 6/ 18  340 acpi_pci_irq_derive()
58 % - 18/ 31  78 400 acpi_pci_irq_enable()
0 % - 0/ 1  489 acpi_unregister_gsi()
0 % - 0/ 16  493 acpi_pci_irq_disable()

42 % - 71/ 168    pci_irq.c

File: pci_link.c
Instrumentation mode: function-decision-multicondition
TER: 26 % ( 77/299)
Previous | Next

</
TER % - covered/ all   Calls Line Function

53 % - 20/ 38  48 104 acpi_pci_link_check_possible()
50 % - 4/ 8  48 174 acpi_pci_link_get_possible()
45 % - 10/ 22  48 198 acpi_pci_link_check_current()
33 % - 8/ 24  48 252 acpi_pci_link_get_current()
0 % - 0/ 34  306 acpi_pci_link_set()
67 % - 10/ 15  488 acpi_irq_penalty_init()
0 % - 0/ 30  537 acpi_pci_link_allocate()
0 % - 0/ 23  616 acpi_pci_link_allocate_irq()
0 % - 0/ 13  674 acpi_pci_link_free_irq()
67 % - 14/ 21  48 727 acpi_pci_link_add()
0 % - 0/ 9  793 acpi_pci_link_resume()
0 % - 0/ 7  808 irqrouter_resume()
0 % - 0/ 8  829 acpi_pci_link_remove()
0 % - 0/ 18  852 acpi_irq_penalty_update()