Lines Matching refs:hstats
271 struct fc_host_statistics *hstats; in bfad_im_get_stats() local
279 hstats = &bfad->link_stats; in bfad_im_get_stats()
282 memset(hstats, 0, sizeof(struct fc_host_statistics)); in bfad_im_get_stats()
292 hstats->seconds_since_last_reset = fcstats->fc.secs_reset; in bfad_im_get_stats()
293 hstats->tx_frames = fcstats->fc.tx_frames; in bfad_im_get_stats()
294 hstats->tx_words = fcstats->fc.tx_words; in bfad_im_get_stats()
295 hstats->rx_frames = fcstats->fc.rx_frames; in bfad_im_get_stats()
296 hstats->rx_words = fcstats->fc.rx_words; in bfad_im_get_stats()
297 hstats->lip_count = fcstats->fc.lip_count; in bfad_im_get_stats()
298 hstats->nos_count = fcstats->fc.nos_count; in bfad_im_get_stats()
299 hstats->error_frames = fcstats->fc.error_frames; in bfad_im_get_stats()
300 hstats->dumped_frames = fcstats->fc.dropped_frames; in bfad_im_get_stats()
301 hstats->link_failure_count = fcstats->fc.link_failures; in bfad_im_get_stats()
302 hstats->loss_of_sync_count = fcstats->fc.loss_of_syncs; in bfad_im_get_stats()
303 hstats->loss_of_signal_count = fcstats->fc.loss_of_signals; in bfad_im_get_stats()
304 hstats->prim_seq_protocol_err_count = fcstats->fc.primseq_errs; in bfad_im_get_stats()
305 hstats->invalid_crc_count = fcstats->fc.invalid_crcs; in bfad_im_get_stats()
308 return hstats; in bfad_im_get_stats()