Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_counters.c162 priv.fc_stats.work.work); in mlx5_fc_stats_work()
163 struct mlx5_fc_stats *fc_stats = &dev->priv.fc_stats; in mlx5_fc_stats_work() local
170 spin_lock(&fc_stats->addlist_lock); in mlx5_fc_stats_work()
172 list_splice_tail_init(&fc_stats->addlist, &tmplist); in mlx5_fc_stats_work()
174 if (!list_empty(&tmplist) || !RB_EMPTY_ROOT(&fc_stats->counters)) in mlx5_fc_stats_work()
175 queue_delayed_work(fc_stats->wq, &fc_stats->work, in mlx5_fc_stats_work()
176 fc_stats->sampling_interval); in mlx5_fc_stats_work()
178 spin_unlock(&fc_stats->addlist_lock); in mlx5_fc_stats_work()
181 mlx5_fc_stats_insert(&fc_stats->counters, counter); in mlx5_fc_stats_work()
183 node = rb_first(&fc_stats->counters); in mlx5_fc_stats_work()
[all …]
/Linux-v4.19/drivers/s390/scsi/
Dzfcp_scsi.c500 struct fc_host_statistics *fc_stats; in zfcp_scsi_init_fc_host_stats() local
502 if (!adapter->fc_stats) { in zfcp_scsi_init_fc_host_stats()
503 fc_stats = kmalloc(sizeof(*fc_stats), GFP_KERNEL); in zfcp_scsi_init_fc_host_stats()
504 if (!fc_stats) in zfcp_scsi_init_fc_host_stats()
506 adapter->fc_stats = fc_stats; /* freed in adapter_release */ in zfcp_scsi_init_fc_host_stats()
508 memset(adapter->fc_stats, 0, sizeof(*adapter->fc_stats)); in zfcp_scsi_init_fc_host_stats()
509 return adapter->fc_stats; in zfcp_scsi_init_fc_host_stats()
512 static void zfcp_scsi_adjust_fc_host_stats(struct fc_host_statistics *fc_stats, in zfcp_scsi_adjust_fc_host_stats() argument
516 fc_stats->seconds_since_last_reset = in zfcp_scsi_adjust_fc_host_stats()
518 fc_stats->tx_frames = data->tx_frames - old->tx_frames; in zfcp_scsi_adjust_fc_host_stats()
[all …]
Dzfcp_def.h187 struct fc_host_statistics *fc_stats; member
Dzfcp_aux.c458 kfree(adapter->fc_stats); in zfcp_adapter_release()
/Linux-v4.19/drivers/scsi/libfc/
Dfc_lport.c304 struct fc_host_statistics *fc_stats; in fc_get_host_stats() local
310 fc_stats = &lport->host_stats; in fc_get_host_stats()
311 memset(fc_stats, 0, sizeof(struct fc_host_statistics)); in fc_get_host_stats()
313 fc_stats->seconds_since_last_reset = (jiffies - lport->boot_time) / HZ; in fc_get_host_stats()
316 struct fc_stats *stats; in fc_get_host_stats()
320 fc_stats->tx_frames += stats->TxFrames; in fc_get_host_stats()
321 fc_stats->tx_words += stats->TxWords; in fc_get_host_stats()
322 fc_stats->rx_frames += stats->RxFrames; in fc_get_host_stats()
323 fc_stats->rx_words += stats->RxWords; in fc_get_host_stats()
324 fc_stats->error_frames += stats->ErrorFrames; in fc_get_host_stats()
[all …]
Dfc_fcp.c489 struct fc_stats *stats; in fc_fcp_recv_data()
1878 struct fc_stats *stats; in fc_queuecommand()
/Linux-v4.19/include/scsi/
Dlibfc.h256 struct fc_stats { struct
726 struct fc_stats __percpu *stats;
839 lport->stats = alloc_percpu(struct fc_stats); in fc_lport_init_stats()
/Linux-v4.19/drivers/scsi/fcoe/
Dfcoe.c1485 struct fc_stats *stats; in fcoe_xmit()
1622 struct fc_stats *stats; in fcoe_filter_frames()
1670 struct fc_stats *stats; in fcoe_recv_frame()
1863 struct fc_stats *stats; in fcoe_device_notification()
Dfcoe_transport.c186 struct fc_stats *stats; in __fcoe_get_lesb()
Dfcoe_ctlr.c834 struct fc_stats *stats; in fcoe_ctlr_age_fcfs()
1152 struct fc_stats *stats; in fcoe_ctlr_recv_els()
/Linux-v4.19/include/linux/mlx5/
Ddriver.h704 struct mlx5_fc_stats fc_stats; member
/Linux-v4.19/drivers/scsi/bfa/
Dbfa_defs_svc.h379 struct bfa_fw_fc_uport_stats_s fc_stats; member
/Linux-v4.19/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c278 struct fc_stats *stats; in bnx2fc_xmit()
521 struct fc_stats *stats; in bnx2fc_recv_frame()
Dbnx2fc_io.c1983 struct fc_stats *stats; in bnx2fc_post_io_req()
/Linux-v4.19/drivers/scsi/qedf/
Dqedf_main.c872 struct fc_stats *stats; in qedf_xmit()