CTC++ Coverage Report - Functions Summary (Directory)

Directory Summary | Functions Summary | Execution Profile

Directory: drivers/base

File: attribute_container.c
Instrumentation mode: function-decision-multicondition
TER: 8 % ( 8/103)
Previous | Next

TER % - covered/ all   Calls Line Function

0 % - 0/ 1  32 internal_container_klist_get()
0 % - 0/ 1  39 internal_container_klist_put()
0 % - 0/ 2  55 attribute_container_classdev_to_container()
0 % - 0/ 2  74 attribute_container_register()
0 % - 0/ 13  94 attribute_container_unregister()
0 % - 0/ 1  112 attribute_container_release()
13 % - 2/ 16  102 141 attribute_container_add_device()
13 % - 2/ 16  84 207 attribute_container_remove_device()
15 % - 2/ 13  108 252 attribute_container_device_trigger()
0 % - 0/ 5  294 attribute_container_trigger()
0 % - 0/ 10  318 attribute_container_add_attrs()
0 % - 0/ 5  348 attribute_container_add_class_device()
0 % - 0/ 2  364 attribute_container_add_class_device_adapter()
0 % - 0/ 6  379 attribute_container_remove_attrs()
0 % - 0/ 1  403 attribute_container_class_device_del()
0 % - 0/ 7  420 attribute_container_find_class_device()
100 %   2/ 2  441 attribute_container_init()

8 % - 8/ 103    attribute_container.c

File: bus.c
Instrumentation mode: function-decision-multicondition
TER: 39 % ( 87/225)
Previous | Next

TER % - covered/ all   Calls Line Function

0 % - 0/ 4  32 drv_attr_show()
0 % - 0/ 4  44 drv_attr_store()
0 % - 0/ 1  62 driver_release()
0 % - 0/ 4  80 bus_attr_show()
0 % - 0/ 4  92 bus_attr_store()
75 % - 3/ 4  18 109 bus_create_file()
0 % - 0/ 3  120 bus_remove_file()
0 % - 0/ 5  139 driver_helper()
0 % - 0/ 11  148 driver_unbind()
0 % - 0/ 11  175 driver_bind()
100 %   4/ 4  2262 200 next_device()
67 % - 8/ 12  253 226 bus_for_each_dev()
0 % - 0/ 15  259 bus_find_device()
100 %   4/ 4  366 279 next_driver()
75 % - 9/ 12  241 305 bus_for_each_drv()
58 % - 7/ 12  260 323 device_add_attrs()
40 % - 2/ 5  344 device_remove_attrs()
75 % - 6/ 8  374 363 bus_add_device()
80 % - 4/ 5  44 390 bus_remove_device()
58 % - 7/ 12  247 403 driver_add_attrs()
0 % - 0/ 5  424 driver_remove_attrs()
100 %   1/ 1  247 439 add_bind_files()
0 % - 0/ 1  445 remove_bind_files()
50 % - 6/ 12  247 460 bus_add_driver()
0 % - 0/ 5  498 bus_remove_driver()
63 % - 5/ 8  18 514 bus_rescan_devices_helper()
100 %   1/ 1  534 bus_rescan_devices()
100 %   4/ 4  639 540 get_bus()
100 %   1/ 1  20 545 put_bus()
0 % - 0/ 4  561 find_bus()
25 % - 3/ 12  60 573 bus_add_attrs()
0 % - 0/ 5  592 bus_remove_attrs()
100 %   1/ 1  260 602 klist_devices_get()
100 %   1/ 1  609 klist_devices_put()
100 %   1/ 1  247 616 klist_drivers_get()
0 % - 0/ 1  624 klist_drivers_put()
41 % - 7/ 17  60 640 bus_register()
0 % - 0/ 3  689 bus_unregister()
100 %   2/ 2  698 buses_init()

39 % - 87/ 225    bus.c

File: class.c
Instrumentation mode: function-decision-multicondition
TER: 46 % (137/299)
Previous | Next

TER % - covered/ all   Calls Line Function

0 % - 0/ 4  27 class_attr_show()
0 % - 0/ 4  39 class_attr_store()
0 % - 0/ 7  51 class_release()
75 % - 3/ 4  78 class_create_file()
0 % - 0/ 3  88 class_remove_file()
60 % - 3/ 5  1503 94 class_get()
67 % - 2/ 3  553 101 class_put()
25 % - 3/ 12  168 108 add_class_attrs()
0 % - 0/ 5  128 remove_class_attrs()
56 % - 5/ 9  168 138 class_register()
0 % - 0/ 3  161 class_unregister()
0 % - 0/ 3  168 class_create_release()
67 % - 2/ 3  384 174 class_device_create_release()
75 % - 3/ 4  2228 181 class_device_create_uevent()
44 % - 4/ 9  84 200 class_create()
0 % - 0/ 7  234 class_destroy()
75 % - 3/ 4  3113 244 class_device_create_file()
67 % - 2/ 3  769 253 class_device_remove_file()
0 % - 0/ 4  260 class_device_create_bin_file()
0 % - 0/ 3  269 class_device_remove_bin_file()
0 % - 0/ 4  277 class_device_attr_show()
75 % - 3/ 4  753 290 class_device_attr_store()
45 % - 5/ 11  385 307 class_dev_release()
57 % - 4/ 7  2461 334 class_uevent_filter()
100 %   2/ 2  2461 346 class_uevent_name()
71 % - 17/ 24  2461 353 class_uevent()
58 % - 7/ 12  1323 426 class_device_add_attrs()
40 % - 2/ 5  385 448 class_device_remove_attrs()
0 % - 0/ 2  459 show_dev()
100 %   2/ 2  753 464 store_uevent()
100 %   1/ 1  1371 471 class_device_initialize()
60 % - 3/ 5  294 478 make_class_name()
58 % - 19/ 33  1323 496 class_device_add()
100 %   2/ 2  1292 584 class_device_register()
40 % - 6/ 15  1184 612 class_device_create()
64 % - 7/ 11  385 651 class_device_del()
67 % - 2/ 3  385 685 class_device_unregister()
75 % - 6/ 8  383 701 class_device_destroy()
0 % - 0/ 11  719 class_device_rename()
100 %   5/ 5  2646 752 class_device_get()
100 %   3/ 3  2093 759 class_device_put()
47 % - 7/ 15  12 766 class_interface_register()
0 % - 0/ 8  789 class_interface_unregister()
57 % - 4/ 7  810 classes_init()

46 % - 137/ 299    class.c

File: core.c
Instrumentation mode: function-decision-multicondition
TER: 57 % ( 65/115)
Previous | Next

TER % - covered/ all   Calls Line Function

75 % - 3/ 4  948 35 dev_attr_show()
0 % - 0/ 4  47 dev_attr_store()
29 % - 2/ 7  99 73 device_release()
86 % - 6/ 7  418 93 dev_uevent_filter()
100 %   2/ 2  262 105 dev_uevent_name()
67 % - 10/ 15  262 112 dev_uevent()
0 % - 0/ 2  157 store_uevent()
75 % - 3/ 4  1985 177 device_create_file()
67 % - 2/ 3  47 193 device_remove_file()
100 %   1/ 1  362 201 klist_children_get()
100 %   1/ 1  44 208 klist_children_put()
67 % - 2/ 3  447 227 device_initialize()
53 % - 16/ 30  374 249 device_add()
100 %   2/ 2  114 315 device_register()
100 %   4/ 4  1245756 331 get_device()
100 %   3/ 3  1244287 341 put_device()
57 % - 4/ 7  44 362 device_del()
67 % - 2/ 3  394 device_unregister()
0 % - 0/ 4  402 next_device()
0 % - 0/ 7  420 device_for_each_child()
100 %   2/ 2  434 devices_init()

57 % - 65/ 115    core.c

File: cpu.c
Instrumentation mode: function-decision-multicondition
TER: 45 % ( 10/ 22)
Previous | Next

TER % - covered/ all   Calls Line Function

100 %   1/ 1  81 register_cpu_control()
50 % - 7/ 14  119 register_cpu()
0 % - 0/ 5  144 get_cpu_sysdev()
100 %   2/ 2  153 cpu_dev_init()

45 % - 10/ 22    cpu.c

File: dd.c
Instrumentation mode: function-decision-multicondition
TER: 52 % ( 42/ 81)
Previous | Next

TER % - covered/ all   Calls Line Function

50 % - 3/ 6  188 41 device_bind_driver()
75 % - 21/ 28  1399 71 driver_probe_device()
100 %   2/ 2  125 117 __device_attach()
100 %   4/ 4  278 136 device_attach()
75 % - 6/ 8  1991 150 __driver_attach()
100 %   1/ 1  247 185 driver_attach()
57 % - 4/ 7  201 __device_release_driver()
100 %   1/ 1  221 device_release_driver()
0 % - 0/ 24  238 driver_detach()

52 % - 42/ 81    dd.c

File: dmapool.c
Instrumentation mode: function-decision-multicondition
TER: 43 % ( 66/154)
Previous | Next

TER % - covered/ all   Calls Line Function

0 % - 0/ 6  44 show_pools()
56 % - 15/ 27  186 105 dma_pool_create()
57 % - 4/ 7  157 159 pool_alloc_page()
0 % - 0/ 7  191 is_page_busy()
0 % - 0/ 1  202 pool_free_page()
0 % - 0/ 14  224 dma_pool_destroy()
48 % - 19/ 40  4334478 265 dma_pool_alloc()
65 % - 17/ 26  4333636 325 pool_find_page()
42 % - 11/ 26  4333636 354 dma_pool_free()

43 % - 66/ 154    dmapool.c

File: driver.c
Instrumentation mode: function-decision-multicondition
TER: 21 % ( 15/ 70)
Previous | Next

TER % - covered/ all   Calls Line Function

0 % - 0/ 4  22 next_device()
0 % - 0/ 12  38 driver_for_each_device()
0 % - 0/ 15  74 driver_find_device()
75 % - 3/ 4  530 100 driver_create_file()
0 % - 0/ 3  118 driver_remove_file()
75 % - 3/ 4  779 131 get_driver()
100 %   1/ 1  532 141 put_driver()
100 %   1/ 1  188 146 klist_devices_get()
100 %   1/ 1  153 klist_devices_put()
32 % - 6/ 19  247 172 driver_register()
0 % - 0/ 1  198 driver_unregister()
0 % - 0/ 5  214 driver_find()

21 % - 15/ 70    driver.c

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

TER % - covered/ all   Calls Line Function

100 %   2/ 2  12 20 firmware_register()
0 % - 0/ 1  26 firmware_unregister()
100 %   2/ 2  31 firmware_init()

80 % - 4/ 5    firmware.c

File: firmware_class.c
Instrumentation mode: function-decision-multicondition
TER: 2 % ( 4/173)
Previous | Next

TER % - covered/ all   Calls Line Function

0 % - 0/ 1  52 fw_load_abort()
0 % - 0/ 2  60 firmware_timeout_show()
0 % - 0/ 4  78 firmware_timeout_store()
0 % - 0/ 13  99 firmware_class_uevent()
0 % - 0/ 4  120 firmware_loading_show()
0 % - 0/ 16  140 firmware_loading_store()
0 % - 0/ 15  183 firmware_data_read()
0 % - 0/ 14  211 fw_realloc_buffer()
0 % - 0/ 16  248 firmware_data_write()
0 % - 0/ 1  286 fw_class_dev_release()
0 % - 0/ 1  297 firmware_class_timeout()
0 % - 0/ 1  304 fw_setup_class_device_id()
0 % - 0/ 12  311 fw_register_class_device()
0 % - 0/ 14  356 fw_setup_class_device()
0 % - 0/ 23  403 _request_firmware()
0 % - 0/ 2  476 request_firmware()
0 % - 0/ 3  488 release_firmware()
0 % - 0/ 1  508 register_firmware()
0 % - 0/ 11  527 request_firmware_work_func()
0 % - 0/ 11  566 request_firmware_nowait()
57 % - 4/ 7  604 firmware_class_init()
0 % - 0/ 1  622 firmware_class_exit()

2 % - 4/ 173    firmware_class.c

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

TER % - covered/ all   Calls Line Function

100 %   1/ 1  23 driver_init()

100 %   1/ 1    init.c

File: map.c
Instrumentation mode: function-decision-multicondition
TER: 48 % ( 32/ 67)
Previous | Next

TER % - covered/ all   Calls Line Function

75 % - 12/ 16  300 31 kobj_map()
0 % - 0/ 15  68 kobj_unmap()
54 % - 14/ 26  434 95 kobj_lookup()
60 % - 6/ 10  12 135 kobj_map_init()

48 % - 32/ 67    map.c

File: platform.c
Instrumentation mode: function-decision-multicondition
TER: 20 % ( 32/159)
Previous | Next

TER % - covered/ all   Calls Line Function

0 % - 0/ 9  37 platform_get_resource()
0 % - 0/ 4  60 platform_get_irq()
0 % - 0/ 9  75 platform_get_resource_byname()
0 % - 0/ 4  97 platform_get_irq_byname()
0 % - 0/ 9  110 platform_add_devices()
0 % - 0/ 3  140 platform_device_put()
0 % - 0/ 1  147 platform_device_release()
67 % - 4/ 6  12 164 platform_device_alloc()
0 % - 0/ 6  191 platform_device_add_resources()
0 % - 0/ 6  215 platform_device_add_data()
26 % - 9/ 34  18 235 platform_device_add()
0 % - 0/ 7  297 platform_device_del()
100 %   2/ 2  318 platform_device_register()
0 % - 0/ 1  333 platform_device_unregister()
0 % - 0/ 14  353 platform_device_register_simple()
100 %   2/ 2  18 383 platform_drv_probe()
0 % - 0/ 2  391 platform_drv_remove()
0 % - 0/ 1  399 platform_drv_shutdown()
0 % - 0/ 2  407 platform_drv_suspend()
0 % - 0/ 2  415 platform_drv_resume()
92 % - 11/ 12  18 427 platform_driver_register()
0 % - 0/ 1  448 platform_driver_unregister()
100 %   2/ 2  48 470 platform_match()
0 % - 0/ 7  477 platform_suspend()
0 % - 0/ 7  487 platform_resume()
100 %   2/ 2  505 platform_bus_init()
0 % - 0/ 4  512 dma_get_required_mask()

20 % - 32/ 159    platform.c

File: sys.c
Instrumentation mode: function-decision-multicondition
TER: 13 % ( 22/176)
Previous | Next

TER % - covered/ all   Calls Line Function

0 % - 0/ 5  36 sysdev_show()
0 % - 0/ 5  48 sysdev_store()
100 %   2/ 2  42 69 sysdev_create_file()
0 % - 0/ 1  75 sysdev_remove_file()
75 % - 3/ 4  72 88 sysdev_class_register()
0 % - 0/ 3  98 sysdev_class_unregister()
64 % - 7/ 11  124 sysdev_driver_register()
0 % - 0/ 7  149 sysdev_driver_unregister()
40 % - 8/ 20  72 175 sysdev_register()
0 % - 0/ 9  222 sysdev_unregister()
0 % - 0/ 21  257 sysdev_shutdown()
0 % - 0/ 11  295 __sysdev_resume()
0 % - 0/ 63  330 sysdev_suspend()
0 % - 0/ 12  432 sysdev_resume()
100 %   2/ 2  454 system_bus_init()

13 % - 22/ 176    sys.c

File: transport_class.c
Instrumentation mode: function-decision-multicondition
TER: 12 % ( 5/ 42)
Previous | Next

TER % - covered/ all   Calls Line Function

0 % - 0/ 2  47 transport_class_register()
0 % - 0/ 1  61 transport_class_unregister()
0 % - 0/ 2  67 anon_transport_dummy_function()
0 % - 0/ 5  87 anon_transport_class_register()
0 % - 0/ 1  109 anon_transport_class_unregister()
0 % - 0/ 4  115 transport_setup_classdev()
100 %   1/ 1  102 145 transport_setup_device()
0 % - 0/ 7  151 transport_add_class_device()
100 %   1/ 1  60 177 transport_add_device()
0 % - 0/ 4  183 transport_configure()
100 %   1/ 1  208 transport_configure_device()
0 % - 0/ 8  214 transport_remove_classdev()
100 %   1/ 1  42 247 transport_remove_device()
0 % - 0/ 3  253 transport_destroy_classdev()
100 %   1/ 1  84 276 transport_destroy_device()

12 % - 5/ 42    transport_class.c

Number of monitored source files: 15
Number of measurement points: 1692
TER: 31% (multicondition)

Directory Summary | Functions Summary | Execution Profile