CTC++ Coverage Report - Functions Summary (Directory)

Directory Summary | Functions Summary | Execution Profile

Directory: drivers/usb/core

File: buffer.c
Instrumentation mode: function-decision-multicondition
TER: 50 % ( 20/ 40)
Previous | Next

TER % - covered/ all   Calls Line Function

54 % - 7/ 13  24 53 hcd_buffer_create()
0 % - 0/ 5  83 hcd_buffer_destroy()
60 % - 6/ 10  64 101 hcd_buffer_alloc()
58 % - 7/ 12  124 hcd_buffer_free()

50 % - 20/ 40    buffer.c

File: config.c
Instrumentation mode: function-decision-multicondition
TER: 43 % (114/264)
Previous | Next

TER % - covered/ all   Calls Line Function

75 % - 3/ 4  17 plural()
83 % - 10/ 12  117 22 find_next_descriptor()
32 % - 8/ 25  43 46 usb_parse_endpoint()
100 %   3/ 3  105 usb_release_interface_cache()
40 % - 19/ 47  37 119 usb_parse_interface()
40 % - 43/ 108  37 223 usb_parse_configuration()
86 % - 12/ 14  14 403 usb_destroy_configuration()
31 % - 16/ 51  37 435 usb_get_configuration()

43 % - 114/ 264    config.c

File: devices.c
Instrumentation mode: function-decision-multicondition
TER: 0 % ( 1/219)
Previous | Next

TER % - covered/ all   Calls Line Function

100 %   1/ 1  62 153 usbfs_conn_disc_event()
0 % - 0/ 7  159 class_decode()
0 % - 0/ 36  169 usb_dump_endpoint_descriptor()
0 % - 0/ 9  236 usb_dump_interface_descriptor()
0 % - 0/ 7  264 usb_dump_interface()
0 % - 0/ 7  291 usb_dump_config_descriptor()
0 % - 0/ 15  304 usb_dump_config()
0 % - 0/ 8  337 usb_dump_device_descriptor()
0 % - 0/ 17  364 usb_dump_device_strings()
0 % - 0/ 13  384 usb_dump_desc()
0 % - 0/ 44  449 usb_device_dump()
0 % - 0/ 19  560 usb_device_read()
0 % - 0/ 20  593 usb_device_poll()
0 % - 0/ 2  632 usb_device_open()
0 % - 0/ 2  638 usb_device_release()
0 % - 0/ 12  645 usb_device_lseek()

0 % - 1/ 219    devices.c

File: devio.c
Instrumentation mode: function-decision-multicondition
TER: 1 % ( 13/1161)
Previous | Next

TER % - covered/ all   Calls Line Function

0 % - 0/ 2  74 __check_usbfs_snoop()
0 % - 0/ 2  88 connected()
0 % - 0/ 12  93 usbdev_lseek()
0 % - 0/ 40  117 usbdev_read()
0 % - 0/ 8  210 alloc_async()
0 % - 0/ 1  225 free_async()
0 % - 0/ 17  233 async_newpending()
0 % - 0/ 17  243 async_removepending()
0 % - 0/ 20  253 async_getcompleted()
0 % - 0/ 29  267 async_getpending()
0 % - 0/ 20  283 snoop_urb()
0 % - 0/ 17  305 async_completed()
0 % - 0/ 37  327 destroy_async()
0 % - 0/ 21  350 destroy_async_on_interface()
0 % - 0/ 1  364 destroy_all_async()
0 % - 0/ 2  375 driver_probe()
0 % - 0/ 6  381 driver_disconnect()
0 % - 0/ 14  410 claimintf()
0 % - 0/ 9  435 releaseintf()
0 % - 0/ 15  458 checkintf()
0 % - 0/ 17  472 findintfep()
0 % - 0/ 14  497 check_ctrlrecip()
0 % - 0/ 7  520 usbdev_lookup_minor()
0 % - 0/ 18  540 usbdev_open()
0 % - 0/ 11  588 usbdev_release()
0 % - 0/ 66  609 proc_control()
0 % - 0/ 70  686 proc_bulk()
0 % - 0/ 11  760 proc_resetep()
0 % - 0/ 13  775 proc_clearhalt()
0 % - 0/ 12  796 proc_getdriver()
0 % - 0/ 5  817 proc_connectinfo()
0 % - 0/ 2  828 proc_resetdevice()
0 % - 0/ 8  834 proc_setintf()
0 % - 0/ 21  847 proc_setconfig()
0 % - 0/ 158  895 proc_do_submiturb()
0 % - 0/ 5  1078 proc_submiturb()
0 % - 0/ 5  1088 proc_unlinkurb()
0 % - 0/ 29  1099 processcompl()
0 % - 0/ 14  1134 reap_as()
0 % - 0/ 8  1156 proc_reapurb()
0 % - 0/ 5  1166 proc_reapurbnonblock()
0 % - 0/ 22  1177 get_urb32()
0 % - 0/ 5  1203 proc_submiturb_compat()
0 % - 0/ 29  1213 processcompl_compat()
0 % - 0/ 8  1247 proc_reapurb_compat()
0 % - 0/ 5  1257 proc_reapurbnonblock_compat()
0 % - 0/ 12  1268 proc_disconnectsignal()
0 % - 0/ 5  1281 proc_claiminterface()
0 % - 0/ 8  1290 proc_releaseinterface()
0 % - 0/ 44  1303 proc_ioctl()
0 % - 0/ 5  1382 proc_ioctl_default()
0 % - 0/ 9  1392 proc_ioctl_compat()
0 % - 0/ 190  1414 usbdev_ioctl()
0 % - 0/ 9  1557 usbdev_poll()
100 %   1/ 1  37 1579 usbdev_add()
100 %   1/ 1  1590 usbdev_remove()
100 %   6/ 6  62 1595 usbdev_notify()
42 % - 5/ 12  1618 usbdev_init()
0 % - 0/ 1  1655 usbdev_cleanup()

1 % - 13/ 1161    devio.c

File: driver.c
Instrumentation mode: function-decision-multicondition
TER: 50 % ( 98/195)
Previous | Next

TER % - covered/ all   Calls Line Function

0 % - 0/ 2  39 generic_probe()
67 % - 4/ 6  43 generic_remove()
0 % - 0/ 18  76 store_new_id()
57 % - 4/ 7  36 111 usb_create_newid_file()
0 % - 0/ 6  125 usb_remove_newid_file()
0 % - 0/ 11  135 usb_free_dynids()
37 % - 7/ 19  75 161 usb_match_dynamic_id()
50 % - 9/ 18  37 179 usb_probe_interface()
57 % - 4/ 7  218 usb_unbind_interface()
65 % - 42/ 65  1978 243 usb_match_one_id()
93 % - 14/ 15  149 361 usb_match_id()
82 % - 9/ 11  125 383 usb_device_match()
56 % - 5/ 9  36 420 usb_register_driver()
0 % - 0/ 1  462 usb_deregister()

50 % - 98/ 195    driver.c

File: file.c
Instrumentation mode: function-decision-multicondition
TER: 4 % ( 4/ 94)
Previous | Next

TER % - covered/ all   Calls Line Function

0 % - 0/ 36  30 usb_open()
50 % - 4/ 8  66 usb_major_init()
0 % - 0/ 1  88 usb_major_cleanup()
0 % - 0/ 37  113 usb_register_dev()
0 % - 0/ 12  189 usb_deregister_dev()

4 % - 4/ 94    file.c

File: hcd-pci.c
Instrumentation mode: function-decision-multicondition
TER: 17 % ( 22/128)
Previous | Next

TER % - covered/ all   Calls Line Function

37 % - 22/ 59  24 59 usb_hcd_pci_probe()
0 % - 0/ 6  165 usb_hcd_pci_remove()
0 % - 0/ 35  195 usb_hcd_pci_suspend()
0 % - 0/ 28  315 usb_hcd_pci_resume()

17 % - 22/ 128    hcd-pci.c

File: hcd.c
Instrumentation mode: function-decision-multicondition
TER: 37 % (295/795)
Previous | Next

TER % - covered/ all   Calls Line Function

78 % - 7/ 9  72 268 ascii2utf()
69 % - 11/ 16  96 294 rh_string()
46 % - 43/ 94  886 342 rh_call_control()
59 % - 23/ 39  1318539 520 usb_hcd_poll_rh_status()
100 %   1/ 1  1318517 570 rh_timer_func()
52 % - 16/ 31  84 577 rh_queue_status()
75 % - 6/ 8  970 606 rh_urb_enqueue()
0 % - 0/ 57  621 usb_rh_urb_dequeue()
75 % - 3/ 4  50 660 usb_bus_get()
0 % - 0/ 3  667 usb_host_release()
67 % - 2/ 3  14 676 usb_bus_put()
75 % - 3/ 4  686 usb_host_init()
0 % - 0/ 1  696 usb_host_cleanup()
100 %   1/ 1  24 708 usb_bus_init()
0 % - 0/ 5  738 usb_alloc_bus()
50 % - 6/ 12  24 760 usb_register_bus()
0 % - 0/ 3  803 usb_deregister_bus()
41 % - 12/ 29  24 833 register_root_hub()
43 % - 3/ 7  45 881 usb_enable_root_hub_irq()
21 % - 4/ 19  1198023 905 usb_calc_bus_time()
50 % - 4/ 8  1198023 968 usb_check_bandwidth()
67 % - 2/ 3  1198023 1021 usb_claim_bandwidth()
67 % - 2/ 3  1198019 1051 usb_release_bandwidth()
58 % - 11/ 19  1208545 1079 urb_unlink()
54 % - 34/ 63  1208573 1102 hcd_submit_urb()
0 % - 0/ 5  1212 hcd_get_frame_number()
50 % - 4/ 8  19 1228 unlink1()
37 % - 31/ 84  22 1254 hcd_unlink_urb()
24 % - 11/ 45  67 1352 hcd_endpoint_disable()
0 % - 0/ 9  1427 hcd_bus_suspend()
0 % - 0/ 12  1445 hcd_bus_resume()
0 % - 0/ 13  1484 usb_hcd_suspend_root_hub()
0 % - 0/ 19  1520 usb_hcd_resume_root_hub()
90 % - 18/ 20  1208545 1601 usb_hcd_giveback_urb()
67 % - 8/ 12  13402906 1646 usb_hcd_irq()
0 % - 0/ 21  1674 usb_hc_died()
0 % - 0/ 1  1695 hcd_release()
44 % - 4/ 9  24 1716 usb_create_hcd()
0 % - 0/ 1  1747 usb_put_hcd()
34 % - 22/ 64  24 1764 usb_add_hcd()
0 % - 0/ 21  1882 usb_remove_hcd()
60 % - 3/ 5  1925 usb_mon_register()
0 % - 0/ 4  1937 usb_mon_deregister()

37 % - 295/ 795    hcd.c

File: hub.c
Instrumentation mode: function-decision-multicondition
TER: 30 % (395/1329)
Previous | Next

TER % - covered/ all   Calls Line Function

0 % - 0/ 2  50 __check_blinkenlights()
0 % - 0/ 2  68 __check_old_scheme_first()
0 % - 0/ 2  73 __check_use_both_schemes()
100 %   8/ 8  54 80 portspeed()
0 % - 0/ 2  92 hdev_to_hub()
57 % - 4/ 7  24 98 get_hub_descriptor()
0 % - 0/ 2  116 clear_hub_feature()
100 %   2/ 2  160 125 clear_port_feature()
100 %   2/ 2  39 135 set_port_feature()
0 % - 0/ 5  146 set_port_led()
0 % - 0/ 34  170 led_work()
86 % - 6/ 7  24 246 get_hub_status()
86 % - 6/ 7  399 262 get_port_status()
58 % - 11/ 19  84 275 kick_khubd()
0 % - 0/ 1  287 usb_kick_khubd()
28 % - 8/ 29  60 294 hub_irq()
0 % - 0/ 2  341 hub_clear_tt_buffer()
0 % - 0/ 39  354 hub_tt_kevent()
0 % - 0/ 28  397 usb_hub_tt_clear_buffer()
29 % - 2/ 7  24 430 hub_power_on()
0 % - 0/ 1  448 __hub_quiesce()
0 % - 0/ 8  456 hub_quiesce()
40 % - 4/ 10  24 467 hub_activate()
50 % - 3/ 6  24 484 hub_hub_status()
45 % - 5/ 11  26 501 hub_port_disable()
0 % - 0/ 7  520 hub_pre_reset()
0 % - 0/ 1  536 hub_post_reset()
30 % - 47/ 159  24 543 hub_configure()
0 % - 0/ 17  792 hub_disconnect()
40 % - 14/ 35  24 828 hub_probe()
0 % - 0/ 23  889 hub_ioctl()
29 % - 4/ 14  45 928 locktree()
40 % - 2/ 5  14 966 recursively_mark_NOTATTACHED()
59 % - 17/ 29  140 998 usb_set_device_state()
0 % - 0/ 23  1032 usb_root_hub_lost_power()
45 % - 5/ 11  26 1054 choose_address()
67 % - 2/ 3  14 1075 release_address()
54 % - 13/ 24  1099 usb_disconnect()
75 % - 3/ 4  37 1150 plural()
43 % - 15/ 35  37 1155 choose_configuration()
83 % - 5/ 6  111 1254 show_string()
33 % - 7/ 21  37 1290 usb_new_device()
50 % - 3/ 6  399 1420 hub_port_status()
48 % - 13/ 27  39 1448 hub_port_wait_reset()
44 % - 11/ 25  39 1498 hub_port_reset()
0 % - 0/ 3  1554 hub_port_logical_disconnect()
0 % - 0/ 2  1711 usb_suspend_device()
0 % - 0/ 29  1732 finish_device_resume()
0 % - 0/ 11  1872 usb_resume_device()
0 % - 0/ 2  1905 remote_wakeup()
0 % - 0/ 22  1926 hub_suspend()
0 % - 0/ 14  1968 hub_resume()
0 % - 0/ 1  2040 usb_suspend_root_hub()
0 % - 0/ 1  2052 usb_resume_root_hub()
68 % - 17/ 25  54 2081 hub_port_debounce()
100 %   1/ 1  32 2122 ep0_reinit()
46 % - 6/ 13  13 2132 hub_set_address()
39 % - 48/ 123  26 2162 hub_port_init()
0 % - 0/ 10  2389 check_highspeed()
12 % - 3/ 25  13 2413 hub_power_remaining()
36 % - 37/ 104  54 2460 hub_port_connect_change()
41 % - 54/ 131  17 2642 hub_events()
43 % - 3/ 7  2866 hub_thread()
50 % - 4/ 8  2900 usb_hub_init()
0 % - 0/ 1  2919 usb_hub_cleanup()
0 % - 0/ 23  2933 config_descriptors_changed()
0 % - 0/ 55  2996 usb_reset_device()

30 % - 395/ 1329    hub.c

File: inode.c
Instrumentation mode: function-decision-multicondition
TER: 42 % (114/272)
Previous | Next

TER % - covered/ all   Calls Line Function

20 % - 11/ 54  86 parse_options()
100 %   1/ 1  165 update_special()
100 %   1/ 1  35 172 update_dev()
80 % - 4/ 5  24 179 update_bus()
64 % - 9/ 14  196 update_sb()
62 % - 8/ 13  12 225 remount()
70 % - 7/ 10  73 245 usbfs_get_inode()
57 % - 4/ 7  67 276 usbfs_mknod()
75 % - 3/ 4  24 293 usbfs_mkdir()
100 %   2/ 2  43 304 usbfs_create()
100 %   2/ 2  310 usbfs_positive()
0 % - 0/ 19  315 usbfs_empty()
100 %   2/ 2  333 usbfs_unlink()
0 % - 0/ 6  344 usbfs_rmdir()
0 % - 0/ 2  367 default_read_file()
0 % - 0/ 2  373 default_write_file()
0 % - 0/ 12  379 default_file_lseek()
0 % - 0/ 4  404 default_open()
50 % - 4/ 8  425 usbfs_fill_super()
44 % - 7/ 16  67 461 fs_create_by_name()
80 % - 8/ 10  67 497 fs_create_file()
46 % - 6/ 13  524 fs_remove_file()
100 %   2/ 2  12 546 usb_get_sb()
56 % - 5/ 9  561 create_special_files()
0 % - 0/ 3  599 remove_special_files()
80 % - 4/ 5  98 607 usbfs_update_special()
56 % - 5/ 9  24 618 usbfs_add_bus()
0 % - 0/ 5  643 usbfs_remove_bus()
63 % - 5/ 8  37 657 usbfs_add_device()
43 % - 3/ 7  685 usbfs_remove_device()
89 % - 8/ 9  62 708 usbfs_notify()
60 % - 3/ 5  737 usbfs_init()
0 % - 0/ 3  753 usbfs_cleanup()

42 % - 114/ 272    inode.c

File: message.c
Instrumentation mode: function-decision-multicondition
TER: 40 % (217/537)
Previous | Next

TER % - covered/ all   Calls Line Function

100 %   1/ 1  1042 21 usb_api_blocking_completion()
0 % - 0/ 1  27 timeout_kill()
44 % - 8/ 18  1043 37 usb_start_wait_urb()
75 % - 6/ 8  1043 86 usb_internal_control_msg()
60 % - 3/ 5  1043 135 usb_control_msg()
0 % - 0/ 15  191 usb_bulk_msg()
71 % - 5/ 7  2033 221 sg_clean()
40 % - 23/ 57  5242 234 sg_complete()
47 % - 17/ 36  2033 326 usb_sg_init()
47 % - 22/ 47  2033 466 usb_sg_wait()
0 % - 0/ 39  537 usb_sg_cancel()
47 % - 8/ 17  111 588 usb_get_descriptor()
60 % - 6/ 10  147 634 usb_get_string()
0 % - 0/ 11  652 usb_try_string_workarounds()
47 % - 9/ 19  147 666 usb_string_sub()
47 % - 20/ 43  117 724 usb_string()
67 % - 8/ 12  185 792 usb_cache_string()
50 % - 5/ 10  37 830 usb_get_device_descriptor()
60 % - 3/ 5  61 870 usb_get_status()
0 % - 0/ 7  910 usb_clear_halt()
62 % - 8/ 13  97 957 usb_disable_endpoint()
100 %   3/ 3  983 usb_disable_interface()
65 % - 13/ 20  1004 usb_disable_device()
82 % - 9/ 11  43 1056 usb_enable_endpoint()
100 %   3/ 3  37 1081 usb_enable_interface()
24 % - 8/ 33