Lines Matching refs:hstats
263 struct fc_host_statistics *hstats; in bfad_im_get_stats() local
271 hstats = &bfad->link_stats; in bfad_im_get_stats()
274 memset(hstats, 0, sizeof(struct fc_host_statistics)); in bfad_im_get_stats()
286 hstats->seconds_since_last_reset = fcstats->fc.secs_reset; in bfad_im_get_stats()
287 hstats->tx_frames = fcstats->fc.tx_frames; in bfad_im_get_stats()
288 hstats->tx_words = fcstats->fc.tx_words; in bfad_im_get_stats()
289 hstats->rx_frames = fcstats->fc.rx_frames; in bfad_im_get_stats()
290 hstats->rx_words = fcstats->fc.rx_words; in bfad_im_get_stats()
291 hstats->lip_count = fcstats->fc.lip_count; in bfad_im_get_stats()
292 hstats->nos_count = fcstats->fc.nos_count; in bfad_im_get_stats()
293 hstats->error_frames = fcstats->fc.error_frames; in bfad_im_get_stats()
294 hstats->dumped_frames = fcstats->fc.dropped_frames; in bfad_im_get_stats()
295 hstats->link_failure_count = fcstats->fc.link_failures; in bfad_im_get_stats()
296 hstats->loss_of_sync_count = fcstats->fc.loss_of_syncs; in bfad_im_get_stats()
297 hstats->loss_of_signal_count = fcstats->fc.loss_of_signals; in bfad_im_get_stats()
298 hstats->prim_seq_protocol_err_count = fcstats->fc.primseq_errs; in bfad_im_get_stats()
299 hstats->invalid_crc_count = fcstats->fc.invalid_crcs; in bfad_im_get_stats()
302 return hstats; in bfad_im_get_stats()