CTC++ Coverage Report - Functions Summary (Directory)

Directory Summary | Functions Summary | Execution Profile

Directory: drivers/ide

File: ide-cd.c
Instrumentation mode: function-decision-multicondition
TER: 22 % (280/1249)
Previous | Next

TER % - covered/ all   Calls Line Function

75 % - 3/ 4  22 334 ide_cd_get()
100 %   1/ 1  22 348 ide_cd_put()
100 %   1/ 1  106 361 cdrom_saw_media_change()
35 % - 11/ 31  106 370 cdrom_log_sense()
4 % - 3/ 69  106 415 cdrom_analyze_sense_data()
100 %   1/ 1  240 558 cdrom_prepare_request()
67 % - 2/ 3  106 567 cdrom_queue_request_sense()
54 % - 19/ 35  134 591 cdrom_end_request()
21 % - 21/ 100  352 637 cdrom_decode_status()
0 % - 0/ 12  800 cdrom_timer_expiry()
50 % - 16/ 32  240 835 cdrom_start_packet_command()
43 % - 6/ 14  240 888 cdrom_transfer_packet_command()
0 % - 0/ 9  940 cdrom_buffer_sectors()
0 % - 0/ 12  984 cdrom_read_check_ireason()
0 % - 0/ 41  1019 cdrom_read_intr()
0 % - 0/ 24  1151 cdrom_read_from_buffer()
0 % - 0/ 10  1212 cdrom_start_read_continuation()
0 % - 0/ 14  1252 cdrom_seek_intr()
0 % - 0/ 4  1275 cdrom_start_seek_continuation()
0 % - 0/ 2  1290 cdrom_start_seek()
0 % - 0/ 3  1301 restore_request()
0 % - 0/ 10  1319 cdrom_start_read()
53 % - 19/ 36  352 1353 cdrom_pc_intr()
100 %   4/ 4  240 1463 cdrom_do_pc_continuation()
100 %   2/ 2  240 1475 cdrom_do_packet_command()
67 % - 14/ 21  134 1491 cdrom_queue_packet_command()
0 % - 0/ 9  1542 cdrom_write_check_ireason()
0 % - 0/ 11  1570 post_transform_command()
0 % - 0/ 62  1603 cdrom_newpc_intr()
0 % - 0/ 35  1742 cdrom_write_intr()
0 % - 0/ 2  1840 cdrom_start_write_cont()
0 % - 0/ 13  1852 cdrom_start_write()
0 % - 0/ 4  1887 cdrom_do_newpc_cont()
0 % - 0/ 9  1897 cdrom_do_block_pc()
13 % - 4/ 31  240 1932 ide_do_rw_cdrom()
0 % - 0/ 2  1992 bin2bcd()
0 % - 0/ 2  1999 bcd2bin()
0 % - 0/ 1  2005 msf_from_bcd()
0 % - 0/ 1  2016 lba_to_msf()
0 % - 0/ 2  2028 msf_to_lba()
100 %   2/ 2  50 2033 cdrom_check_status()
43 % - 10/ 23  22 2058 cdrom_lockdoor()
0 % - 0/ 19  2102 cdrom_eject()
38 % - 3/ 8  28 2127 cdrom_read_capacity()
75 % - 3/ 4  28 2156 cdrom_read_tocentry()
13 % - 8/ 62  28 2182 cdrom_read_toc()
0 % - 0/ 2  2350 cdrom_read_subchannel()
0 % - 0/ 10  2371 cdrom_select_speed()
0 % - 0/ 2  2400 cdrom_play_audio()
0 % - 0/ 15  2415 cdrom_get_toc_entry()
60 % - 6/ 10  2443 ide_cdrom_packet()
0 % - 0/ 19  2474 ide_cdrom_dev_ioctl()
0 % - 0/ 28  2520 ide_cdrom_audio_ioctl()
0 % - 0/ 4  2600 ide_cdrom_reset()
0 % - 0/ 7  2623 ide_cdrom_tray_move()
100 %   2/ 2  22 2638 ide_cdrom_lock_door()
50 % - 6/ 12  2645 ide_cdrom_get_capabilities()
50 % - 5/ 10  2670 ide_cdrom_update_speed()
0 % - 0/ 7  2688 ide_cdrom_select_speed()
0 % - 0/ 40  2711 ide_cdrom_drive_status()
0 % - 0/ 10  2755 ide_cdrom_get_last_session()
0 % - 0/ 5  2776 ide_cdrom_get_mcn()
60 % - 3/ 5  22 2802 ide_cdrom_check_media_change_real()
100 %   2/ 2  22 2820 ide_cdrom_open_real()
67 % - 2/ 3  22 2830 ide_cdrom_release_real()
55 % - 12/ 22  2867 ide_cdrom_register()
43 % - 34/ 79  2906 ide_cdrom_probe_capabilities()
100 %   1/ 1  3023 ide_cdrom_add_settings()
0 % - 0/ 4  3031 ide_cdrom_prep_fs()
0 % - 0/ 14  3065 ide_cdrom_prep_pc()
50 % - 4/ 8  240 3097 ide_cdrom_prep_fn()
41 % - 19/ 46  3108 ide_cdrom_setup()
0 % - 0/ 5  3248 ide_cdrom_capacity()
0 % - 0/ 1  3259 ide_cd_remove()
0 % - 0/ 6  3270 ide_cd_release()
0 % - 0/ 7  3295 proc_idecd_read_capacity()
57 % - 8/ 14  22 3330 idecd_open()
100 %   2/ 2  22 3356 idecd_release()
100 %   4/ 4  22 3370 idecd_ioctl()
100 %   2/ 2  22 3384 idecd_media_changed()
100 %   2/ 2  22 3390 idecd_revalidate_disk()
0 % - 0/ 2  3410 __check_ignore()
30 % - 11/ 37  3413 ide_cd_probe()
0 % - 0/ 1  3490 ide_cdrom_exit()
100 %   2/ 2  3495 ide_cdrom_init()

22 % - 280/ 1249    ide-cd.c

File: ide-disk.c
Instrumentation mode: function-decision-multicondition
TER: 30 % (122/410)
Previous | Next

TER % - covered/ all   Calls Line Function

75 % - 3/ 4  72 88 ide_disk_get()
100 %   1/ 1  48 102 ide_disk_put()
0 % - 0/ 28  118 lba_capacity_is_ok()
32 % - 19/ 60  1709952 162 __ide_do_rw_disk()
54 % - 7/ 13  1709952 307 ide_do_rw_disk()
0 % - 0/ 4  334 idedisk_read_native_max_address()
75 % - 3/ 4  359 idedisk_read_native_max_address_ext()
0 % - 0/ 4  392 idedisk_set_max_address()
0 % - 0/ 4  420 idedisk_set_max_address_ext()
100 %   2/ 2  456 sectors_to_MB()
100 %   2/ 2  468 idedisk_supports_hpa()
100 %   2/ 2  24 476 idedisk_supports_lba48()
40 % - 4/ 10  482 idedisk_check_hpa()
25 % - 3/ 12  528 init_idedisk_capacity()
100 %   2/ 2  24 555 idedisk_capacity()
0 % - 0/ 2  562 smart_enable()
0 % - 0/ 2  576 get_smart_values()
0 % - 0/ 2  593 get_smart_thresholds()
0 % - 0/ 9  610 proc_idedisk_read_cache()
0 % - 0/ 7  624 proc_idedisk_read_capacity()
0 % - 0/ 13  634 proc_idedisk_read_smart_thresholds()
0 % - 0/ 13  653 proc_idedisk_read_smart_values()
0 % - 0/ 6  686 idedisk_prepare_flush()
0 % - 0/ 10  703 idedisk_issue_flush()
0 % - 0/ 7  733 set_multcount()
0 % - 0/ 13  747 set_nowerr()
57 % - 4/ 7  757 update_ordered()
63 % - 5/ 8  795 write_cache()
75 % - 3/ 4  817 do_idedisk_flushcache()
0 % - 0/ 4  831 set_acoustic()
50 % - 4/ 8  853 set_lba_addressing()
60 % - 3/ 5  866 idedisk_add_settings()
40 % - 21/ 53  884 idedisk_setup()
44 % - 4/ 9  989 ide_cacheflush_p()
0 % - 0/ 1  998 ide_disk_remove()
0 % - 0/ 1  1012 ide_disk_release()
0 % - 0/ 4  1027 ide_device_shutdown()
33 % - 5/ 15  72 1072 idedisk_open()
43 % - 6/ 14  48 1102 idedisk_release()
0 % - 0/ 2  1126 idedisk_getgeo()
100 %   2/ 2  12 1137 idedisk_ioctl()
0 % - 0/ 5  1145 idedisk_media_changed()
100 %   2/ 2  1159 idedisk_revalidate_disk()
48 % - 13/ 27  12 1178 ide_disk_probe()
0 % - 0/ 1  1237 idedisk_exit()
100 %   2/ 2  1242 idedisk_init()

30 % - 122/ 410    ide-disk.c

File: ide-dma.c
Instrumentation mode: function-decision-multicondition
TER: 35 % (120/339)
Previous | Next

TER % - covered/ all   Calls Line Function

55 % - 6/ 11  12 145 ide_in_drive_list()
56 % - 5/ 9  1709952 165 ide_dma_intr()
67 % - 6/ 9  1709952 204 ide_build_sglist()
61 % - 17/ 28  1709952 238 ide_build_dmatable()
100 %   1/ 1  1709952 330 ide_destroy_dmatable()
0 % - 0/ 24  352 config_drive_for_dma()
0 % - 0/ 14  395 dma_timer_expiry()
100 %   2/ 2  48 429 __ide_dma_host_off()
60 % - 3/ 5  24 448 __ide_dma_off_quietly()
0 % - 0/ 2  470 __ide_dma_off()
100 %   5/ 5  24 487 __ide_dma_host_on()
50 % - 4/ 8  12 509 __ide_dma_on()
0 % - 0/ 2  533 __ide_dma_check()
71 % - 5/ 7  1709952 553 ide_dma_setup()
100 %   1/ 1  1709952 588 ide_dma_exec_cmd()
100 %   1/ 1  1709952 594 ide_dma_start()
75 % - 3/ 4  1709952 613 __ide_dma_end()
43 % - 3/ 7  1709952 638 __ide_dma_test_irq()
60 % - 3/ 5  12 659 __ide_dma_bad_drive()
0 % - 0/ 2  674 __ide_dma_good_drive()
0 % - 0/ 24  682 ide_use_dma()
31 % - 14/ 45  12 714 ide_dma_verbose()
0 % - 0/ 2  767 __ide_dma_lostirq()
0 % - 0/ 5  775 __ide_dma_timeout()
0 % - 0/ 4  789 ide_release_dma_engine()
0 % - 0/ 9  801 ide_release_iomio_dma()
0 % - 0/ 8  814 ide_release_dma()
43 % - 3/ 7  12 825 ide_allocate_dma_engine()
0 % - 0/ 11  841 ide_mapped_mmio_dma()
47 % - 9/ 19  12 856 ide_iomio_dma()
56 % - 5/ 9  12 885 ide_dma_iobase()
49 % - 24/ 49  12 896 ide_setup_dma()

35 % - 120/ 339    ide-dma.c

File: ide-generic.c
Instrumentation mode: function-decision-multicondition
TER: 60 % ( 6/ 10)
Previous | Next

TER % - covered/ all   Calls Line Function

60 % - 6/ 10  15 ide_generic_init()

60 % - 6/ 10    ide-generic.c

File: ide-io.c
Instrumentation mode: function-decision-multicondition
TER: 26 % (197/772)
Previous | Next

TER % - covered/ all   Calls Line Function

54 % - 13/ 24  1710086 58 __ide_end_request()
55 % - 11/ 20  1710086 106 ide_end_request()
0 % - 0/ 12  143 ide_complete_power_step()
0 % - 0/ 31  164 ide_start_power_step()
0 % - 0/ 19  230 ide_complete_pm_request()
0 % - 0/ 6  254 ide_get_error_location()
40 % - 24/ 60  18 300 ide_end_drive_cmd()
0 % - 0/ 10  395 try_to_flush_leftover_data()
0 % - 0/ 3  410 ide_kill_rq()
0 % - 0/ 41  421 ide_ata_error()
0 % - 0/ 15  468 ide_atapi_error()
0 % - 0/ 5  497 __ide_error()
0 % - 0/ 11  519 ide_error()
0 % - 0/ 4  547 __ide_abort()
0 % - 0/ 14  573 ide_abort()
0 % - 0/ 3  607 ide_cmd()
0 % - 0/ 20  628 drive_cmd_intr()
100 %   1/ 1  653 ide_init_specify_cmd()
100 %   1/ 1  665 ide_init_restore_cmd()
100 %   1/ 1  673 ide_init_setmult_cmd()
62 % - 8/ 13  18 681 ide_disk_special()
40 % - 4/ 10  18 721 do_special()
50 % - 3/ 6  1709952 743 ide_map_sg()
0 % - 0/ 1  761 ide_init_sg_cmd()
21 % - 7/ 34  18 783 execute_drive_cmd()
45 % - 26/ 58  1710228 885 start_request()
0 % - 0/ 3  982 ide_stall_queue()
22 % - 15/ 68  2628121 1003 choose_drive()
40 % - 35/ 87  2628376 1095 ide_do_request()
100 %   1/ 1  917890 1234 do_ide_request()
0 % - 0/ 7  1246 ide_dma_timeout_retry()
0 % - 0/ 56  1309 ide_timer_expiry()
0 % - 0/ 15  1428 unexpected_intr()
31 % - 25/ 80  1710340 1480 ide_intr()
100 %   1/ 1  240 1601 ide_init_drive_cmd()
68 % - 21/ 31  258 1635 ide_do_drive_cmd()

26 % - 197/ 772    ide-io.c

File: ide-iops.c
Instrumentation mode: function-decision-multicondition
TER: 25 % (139/550)
Previous | Next

TER % - covered/ all   Calls Line Function

100 %   2/ 2  13690448 37 ide_inb()
0 % - 0/ 2  42 ide_inw()
100 %   1/ 1  106 47 ide_insw()
0 % - 0/ 2  52 ide_inl()
100 %   1/ 1  124 57 ide_insl()
100 %   1/ 1  30781740 62 ide_outb()
100 %   1/ 1  1710228 67 ide_outbsync()
0 % - 0/ 1  72 ide_outw()
0 % - 0/ 1  77 ide_outsw()
100 %   1/ 1  1709952 82 ide_outl()
100 %   1/ 1  240 87 ide_outsl()
100 %   1/ 1  60 92 default_hwif_iops()
0 % - 0/ 2  111 ide_mm_inb()
0 % - 0/ 2  116 ide_mm_inw()
0 % - 0/ 1  121 ide_mm_insw()
0 % - 0/ 2  126 ide_mm_inl()
0 % - 0/ 1  131 ide_mm_insl()
0 % - 0/ 1  136 ide_mm_outb()
0 % - 0/ 1  141 ide_mm_outbsync()
0 % - 0/ 1  146 ide_mm_outw()
0 % - 0/ 1  151 ide_mm_outsw()
0 % - 0/ 1  156 ide_mm_outl()
0 % - 0/ 1  161 ide_mm_outsl()
0 % - 0/ 1  166 default_hwif_mmiops()
0 % - 0/ 2  185 ide_read_24()
67 % - 2/ 3  1710354 193 SELECT_DRIVE()
0 % - 0/ 3  202 SELECT_INTERRUPT()
67 % - 2/ 3  84 210 SELECT_MASK()
67 % - 2/ 3  216 QUIRK_LIST()
0 % - 0/ 1  229 ata_vlb_sync()
33 % - 3/ 9  124 239 ata_input_data()
33 % - 3/ 9  240 261 ata_output_data()
100 %   3/ 3  112 288 atapi_input_bytes()
67 % - 2/ 3  240 305 atapi_output_bytes()
100 %   1/ 1  60 322 default_hwif_transport()
100 %   1/ 1  12 333 ide_fix_driveid()
85 % - 22/ 26  36 433 ide_fixstring()
75 % - 6/ 8  1710340 462 drive_is_ready()
0 % - 0/ 29  503 wait_for_ready()
27 % - 11/ 41  1710708 539 ide_wait_stat()
45 % - 5/ 11  596 eighty_ninty_three()
0 % - 0/ 14  611 ide_ata66_check()
0 % - 0/ 12  641 set_transfer()
0 % - 0/ 21  655 ide_auto_reduce_xfer()
0 % - 0/ 25  684 ide_driveid_update()
42 % - 37/ 88  24 765 ide_config_drive_speed()
67 % - 2/ 3  352 893 __ide_set_handler()
53 % - 9/ 17  352 909 ide_set_handler()
52 % - 12/ 23  1709988 934 ide_execute_command()
0 % - 0/ 18  971 atapi_reset_pollfunc()
0 % - 0/ 33  1008 reset_pollfunc()
0 % - 0/ 5  1062 check_dma_crc()
0 % - 0/ 12  1075 ide_disk_pre_reset()
0 % - 0/ 12  1090 pre_reset()
0 % - 0/ 63  1129 do_reset1()
0 % - 0/ 2  1215 ide_do_reset()
44 % - 7/ 16  36 1226 ide_wait_not_busy()

25 % - 139/ 550    ide-iops.c

File: ide-lib.c
Instrumentation mode: function-decision-multicondition
TER: 3 % ( 10/324)
Previous | Next

TER % - covered/ all   Calls Line Function

0 % - 0/ 43  43 ide_xfer_verbose()
0 % - 0/ 91  82 ide_dma_speed()
0 % - 0/ 4  156 ide_rate_filter()
0 % - 0/ 4  177 ide_dma_enable()
0 % - 0/ 7  301 ide_scan_pio_blacklist()
0 % - 0/ 36  326 ide_get_best_pio_mode()
83 % - 10/ 12  48 409 ide_toggle_bounce()
0 % - 0/ 5  435 ide_set_xfer_rate()
0 % - 0/ 24  448 ide_dump_opcode()
0 % - 0/ 54  483 ide_dump_ata_status()
0 % - 0/ 39  562 ide_dump_atapi_status()
0 % - 0/ 5  612 ide_dump_status()

3 % - 10/ 324    ide-lib.c

File: ide-probe.c
Instrumentation mode: function-decision-multicondition
TER: 35 % (233/660)
Previous | Next

TER % - covered/ all   Calls Line Function

0 % - 0/ 1  69 generic_id()
33 % - 7/ 21  79 ide_disk_init_chs()
55 % - 6/ 11  106 ide_disk_init_mult_count()
27 % - 15/ 55  12 137 do_identify()
60 % - 15/ 25  36 277 actual_try_to_identify()
69 % - 11/ 16  36 355 try_to_identify()
47 % - 22/ 47  42 426 do_probe()
0 % - 0/ 14  508 enable_nest()
54 % - 15/ 28  24 553 probe_for_drive()
0 % - 0/ 1  619 hwif_release_dev()
40 % - 2/ 5  12 626 hwif_register()
50 % - 13/ 26  12 642 wait_hwif_ready()
0 % - 0/ 16  687 ide_undecoded_slave()
41 % - 34/ 83  60 719 probe_hwif()
69 % - 9/ 13  12 865 probe_hwif_init_with_fixup()
0 % - 0/ 2  893 probe_hwif_init()
0 % - 0/ 15  912 save_match()
52 % - 11/ 21  12 930 ide_init_queue()
29 % - 36/ 125  12 1005 init_irq()
0 % - 0/ 2  1177 ata_lock()
0 % - 0/ 18  1183 ata_probe()
0 % -