Lines Matching refs:fhs
333 struct fc_host_statistics *fhs = &ln->fch_stats; in csio_get_stats() local
340 fhs->tx_frames += (be64_to_cpu(fcoe_port_stats.tx_bcast_frames) + in csio_get_stats()
344 fhs->tx_words += (be64_to_cpu(fcoe_port_stats.tx_bcast_bytes) + in csio_get_stats()
349 fhs->rx_frames += (be64_to_cpu(fcoe_port_stats.rx_bcast_frames) + in csio_get_stats()
352 fhs->rx_words += (be64_to_cpu(fcoe_port_stats.rx_bcast_bytes) + in csio_get_stats()
356 fhs->error_frames += be64_to_cpu(fcoe_port_stats.rx_err_frames); in csio_get_stats()
357 fhs->fcp_input_requests += ln->stats.n_input_requests; in csio_get_stats()
358 fhs->fcp_output_requests += ln->stats.n_output_requests; in csio_get_stats()
359 fhs->fcp_control_requests += ln->stats.n_control_requests; in csio_get_stats()
360 fhs->fcp_input_megabytes += ln->stats.n_input_bytes >> 20; in csio_get_stats()
361 fhs->fcp_output_megabytes += ln->stats.n_output_bytes >> 20; in csio_get_stats()
362 fhs->link_failure_count = ln->stats.n_link_down; in csio_get_stats()
366 fhs->seconds_since_last_reset = seconds; in csio_get_stats()
368 return fhs; in csio_get_stats()