Lines Matching refs:fcstats
262 union bfa_port_stats_u *fcstats; in bfad_im_get_stats() local
267 fcstats = kzalloc(sizeof(union bfa_port_stats_u), GFP_KERNEL); in bfad_im_get_stats()
268 if (fcstats == NULL) in bfad_im_get_stats()
276 fcstats, bfad_hcb_comp, &fcomp); in bfad_im_get_stats()
279 kfree(fcstats); 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()
301 kfree(fcstats); in bfad_im_get_stats()