Lines Matching refs:tgt_stats
2616 blogic_inc_count(&adapter->tgt_stats[tgt_id].bdr_done); in blogic_process_ccbs()
2671 adapter->tgt_stats[ccb->tgt_id] in blogic_process_ccbs()
2680 blogic_inc_count(&adapter->tgt_stats[ccb->tgt_id].aborts_done); in blogic_process_ccbs()
2687 adapter->tgt_stats[ccb->tgt_id] in blogic_process_ccbs()
2848 adapter->tgt_stats[ccb->tgt_id].cmds_tried++; in blogic_write_outbox()
2863 struct blogic_tgt_stats *stats = &adapter->tgt_stats[id]; in blogic_hostreset()
2887 struct blogic_tgt_stats *tgt_stats = adapter->tgt_stats; in blogic_qcmd_lck() local
2960 tgt_stats[tgt_id].read_cmds++; in blogic_qcmd_lck()
2961 blogic_addcount(&tgt_stats[tgt_id].bytesread, buflen); in blogic_qcmd_lck()
2962 blogic_incszbucket(tgt_stats[tgt_id].read_sz_buckets, buflen); in blogic_qcmd_lck()
2967 tgt_stats[tgt_id].write_cmds++; in blogic_qcmd_lck()
2968 blogic_addcount(&tgt_stats[tgt_id].byteswritten, buflen); in blogic_qcmd_lck()
2969 blogic_incszbucket(tgt_stats[tgt_id].write_sz_buckets, buflen); in blogic_qcmd_lck()
3083 tgt_stats[tgt_id].cmds_tried++; in blogic_qcmd_lck()
3110 blogic_inc_count(&adapter->tgt_stats[tgt_id].aborts_request); in DEF_SCSI_QCMD()
3150 blogic_inc_count(&adapter->tgt_stats[tgt_id].aborts_tried); in DEF_SCSI_QCMD()
3163 blogic_inc_count(&adapter->tgt_stats[tgt_id].aborts_tried); in DEF_SCSI_QCMD()
3324 struct blogic_tgt_stats *tgt_stats; in blogic_write_info() local
3326 tgt_stats = adapter->tgt_stats; in blogic_write_info()
3329 memset(tgt_stats, 0, BLOGIC_MAXDEV * sizeof(struct blogic_tgt_stats)); in blogic_write_info()
3336 struct blogic_tgt_stats *tgt_stats; in blogic_show_info() local
3339 tgt_stats = adapter->tgt_stats; in blogic_show_info()
3357 … %9u\n", adapter->qdepth[tgt], adapter->active_cmds[tgt], tgt_stats[tgt].cmds_tried, tgt_stats[tgt… in blogic_show_info()
3366 seq_printf(m, " %2d %9u %9u", tgt, tgt_stats[tgt].read_cmds, tgt_stats[tgt].write_cmds); in blogic_show_info()
3367 if (tgt_stats[tgt].bytesread.billions > 0) in blogic_show_info()
3368 seq_printf(m, " %9u%09u", tgt_stats[tgt].bytesread.billions, tgt_stats[tgt].bytesread.units); in blogic_show_info()
3370 seq_printf(m, " %9u", tgt_stats[tgt].bytesread.units); in blogic_show_info()
3371 if (tgt_stats[tgt].byteswritten.billions > 0) in blogic_show_info()
3372 …seq_printf(m, " %9u%09u\n", tgt_stats[tgt].byteswritten.billions, tgt_stats[tgt].byteswritten.un… in blogic_show_info()
3374 seq_printf(m, " %9u\n", tgt_stats[tgt].byteswritten.units); in blogic_show_info()
3385 tgt_stats[tgt].read_sz_buckets[0], in blogic_show_info()
3386 …tgt_stats[tgt].read_sz_buckets[1], tgt_stats[tgt].read_sz_buckets[2], tgt_stats[tgt].read_sz_bucke… in blogic_show_info()
3389 tgt_stats[tgt].write_sz_buckets[0], in blogic_show_info()
3390 …tgt_stats[tgt].write_sz_buckets[1], tgt_stats[tgt].write_sz_buckets[2], tgt_stats[tgt].write_sz_bu… in blogic_show_info()
3401 tgt_stats[tgt].read_sz_buckets[5], in blogic_show_info()
3402 …tgt_stats[tgt].read_sz_buckets[6], tgt_stats[tgt].read_sz_buckets[7], tgt_stats[tgt].read_sz_bucke… in blogic_show_info()
3405 tgt_stats[tgt].write_sz_buckets[5], in blogic_show_info()
3406 …tgt_stats[tgt].write_sz_buckets[6], tgt_stats[tgt].write_sz_buckets[7], tgt_stats[tgt].write_sz_bu… in blogic_show_info()
3420 tgt, tgt_stats[tgt].aborts_request, in blogic_show_info()
3421 tgt_stats[tgt].aborts_tried, in blogic_show_info()
3422 tgt_stats[tgt].aborts_done, in blogic_show_info()
3423 tgt_stats[tgt].bdr_request, in blogic_show_info()
3424 tgt_stats[tgt].bdr_tried, in blogic_show_info()
3425 tgt_stats[tgt].bdr_done, in blogic_show_info()
3426 tgt_stats[tgt].adapter_reset_req, in blogic_show_info()
3427 tgt_stats[tgt].adapter_reset_attempt, in blogic_show_info()
3428 tgt_stats[tgt].adapter_reset_done); in blogic_show_info()