Lines Matching refs:tgt_stats
2614 blogic_inc_count(&adapter->tgt_stats[tgt_id].bdr_done);
2669 adapter->tgt_stats[ccb->tgt_id]
2678 blogic_inc_count(&adapter->tgt_stats[ccb->tgt_id].aborts_done);
2685 adapter->tgt_stats[ccb->tgt_id]
2846 adapter->tgt_stats[ccb->tgt_id].cmds_tried++;
2861 struct blogic_tgt_stats *stats = &adapter->tgt_stats[id];
2885 struct blogic_tgt_stats *tgt_stats = adapter->tgt_stats;
2958 tgt_stats[tgt_id].read_cmds++;
2959 blogic_addcount(&tgt_stats[tgt_id].bytesread, buflen);
2960 blogic_incszbucket(tgt_stats[tgt_id].read_sz_buckets, buflen);
2965 tgt_stats[tgt_id].write_cmds++;
2966 blogic_addcount(&tgt_stats[tgt_id].byteswritten, buflen);
2967 blogic_incszbucket(tgt_stats[tgt_id].write_sz_buckets, buflen);
3081 tgt_stats[tgt_id].cmds_tried++;
3108 blogic_inc_count(&adapter->tgt_stats[tgt_id].aborts_request);
3148 blogic_inc_count(&adapter->tgt_stats[tgt_id].aborts_tried);
3161 blogic_inc_count(&adapter->tgt_stats[tgt_id].aborts_tried);
3322 struct blogic_tgt_stats *tgt_stats;
3324 tgt_stats = adapter->tgt_stats;
3327 memset(tgt_stats, 0, BLOGIC_MAXDEV * sizeof(struct blogic_tgt_stats));
3334 struct blogic_tgt_stats *tgt_stats;
3337 tgt_stats = adapter->tgt_stats;
3355 " %3d %3u %9u %9u\n", adapter->qdepth[tgt], adapter->active_cmds[tgt], tgt_stats[tgt].cmds_tried, tgt_stats[tgt].cmds_complete);
3364 seq_printf(m, " %2d %9u %9u", tgt, tgt_stats[tgt].read_cmds, tgt_stats[tgt].write_cmds);
3365 if (tgt_stats[tgt].bytesread.billions > 0)
3366 seq_printf(m, " %9u%09u", tgt_stats[tgt].bytesread.billions, tgt_stats[tgt].bytesread.units);
3368 seq_printf(m, " %9u", tgt_stats[tgt].bytesread.units);
3369 if (tgt_stats[tgt].byteswritten.billions > 0)
3370 seq_printf(m, " %9u%09u\n", tgt_stats[tgt].byteswritten.billions, tgt_stats[tgt].byteswritten.units);
3372 seq_printf(m, " %9u\n", tgt_stats[tgt].byteswritten.units);
3383 tgt_stats[tgt].read_sz_buckets[0],
3384 tgt_stats[tgt].read_sz_buckets[1], tgt_stats[tgt].read_sz_buckets[2], tgt_stats[tgt].read_sz_buckets[3], tgt_stats[tgt].read_sz_buckets[4]);
3387 tgt_stats[tgt].write_sz_buckets[0],
3388 tgt_stats[tgt].write_sz_buckets[1], tgt_stats[tgt].write_sz_buckets[2], tgt_stats[tgt].write_sz_buckets[3], tgt_stats[tgt].write_sz_buckets[4]);
3399 tgt_stats[tgt].read_sz_buckets[5],
3400 tgt_stats[tgt].read_sz_buckets[6], tgt_stats[tgt].read_sz_buckets[7], tgt_stats[tgt].read_sz_buckets[8], tgt_stats[tgt].read_sz_buckets[9]);
3403 tgt_stats[tgt].write_sz_buckets[5],
3404 tgt_stats[tgt].write_sz_buckets[6], tgt_stats[tgt].write_sz_buckets[7], tgt_stats[tgt].write_sz_buckets[8], tgt_stats[tgt].write_sz_buckets[9]);
3418 tgt, tgt_stats[tgt].aborts_request,
3419 tgt_stats[tgt].aborts_tried,
3420 tgt_stats[tgt].aborts_done,
3421 tgt_stats[tgt].bdr_request,
3422 tgt_stats[tgt].bdr_tried,
3423 tgt_stats[tgt].bdr_done,
3424 tgt_stats[tgt].adapter_reset_req,
3425 tgt_stats[tgt].adapter_reset_attempt,
3426 tgt_stats[tgt].adapter_reset_done);