Home
last modified time | relevance | path

Searched refs:fc_stats (Results 1 – 11 of 11) sorted by relevance

/drivers/s390/scsi/
Dzfcp_scsi.c403 struct fc_host_statistics *fc_stats; in zfcp_init_fc_host_stats() local
405 if (!adapter->fc_stats) { in zfcp_init_fc_host_stats()
406 fc_stats = kmalloc(sizeof(*fc_stats), GFP_KERNEL); in zfcp_init_fc_host_stats()
407 if (!fc_stats) in zfcp_init_fc_host_stats()
409 adapter->fc_stats = fc_stats; /* freed in adapter_release */ in zfcp_init_fc_host_stats()
411 memset(adapter->fc_stats, 0, sizeof(*adapter->fc_stats)); in zfcp_init_fc_host_stats()
412 return adapter->fc_stats; in zfcp_init_fc_host_stats()
415 static void zfcp_adjust_fc_host_stats(struct fc_host_statistics *fc_stats, in zfcp_adjust_fc_host_stats() argument
419 fc_stats->seconds_since_last_reset = in zfcp_adjust_fc_host_stats()
421 fc_stats->tx_frames = data->tx_frames - old->tx_frames; in zfcp_adjust_fc_host_stats()
[all …]
Dzfcp_def.h186 struct fc_host_statistics *fc_stats; member
Dzfcp_aux.c456 kfree(adapter->fc_stats); in zfcp_adapter_release()
/drivers/scsi/libfc/
Dfc_lport.c302 struct fc_host_statistics *fc_stats; in fc_get_host_stats() local
309 fc_stats = &lport->host_stats; in fc_get_host_stats()
310 memset(fc_stats, 0, sizeof(struct fc_host_statistics)); in fc_get_host_stats()
314 fc_stats->seconds_since_last_reset = (v0.tv_sec - v1.tv_sec); in fc_get_host_stats()
317 struct fc_stats *stats; in fc_get_host_stats()
321 fc_stats->tx_frames += stats->TxFrames; in fc_get_host_stats()
322 fc_stats->tx_words += stats->TxWords; in fc_get_host_stats()
323 fc_stats->rx_frames += stats->RxFrames; in fc_get_host_stats()
324 fc_stats->rx_words += stats->RxWords; in fc_get_host_stats()
325 fc_stats->error_frames += stats->ErrorFrames; in fc_get_host_stats()
[all …]
Dfc_fcp.c445 struct fc_stats *stats; in fc_fcp_recv_data()
1813 struct fc_stats *stats; in fc_queuecommand()
/drivers/scsi/fcoe/
Dfcoe.c1592 struct fc_stats *stats; in fcoe_xmit()
1740 struct fc_stats *stats; in fcoe_filter_frames()
1788 struct fc_stats *stats; in fcoe_recv_frame()
1995 struct fc_stats *stats; in fcoe_device_notification()
Dfcoe_transport.c163 struct fc_stats *stats; in __fcoe_get_lesb()
Dfcoe_ctlr.c830 struct fc_stats *stats; in fcoe_ctlr_age_fcfs()
1147 struct fc_stats *stats; in fcoe_ctlr_recv_els()
/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c255 struct fc_stats *stats; in bnx2fc_xmit()
498 struct fc_stats *stats; in bnx2fc_recv_frame()
Dbnx2fc_io.c2025 struct fc_stats *stats; in bnx2fc_post_io_req()
/drivers/scsi/bfa/
Dbfa_defs_svc.h378 struct bfa_fw_fc_uport_stats_s fc_stats; member