Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_counters.c113 struct mlx5_fc_stats *fc_stats = dev->priv.fc_stats; in mlx5_fc_stats_query_all_counters() local
114 u32 bulk_len = fc_stats->bulk_query_len; in mlx5_fc_stats_query_all_counters()
115 XA_STATE(xas, &fc_stats->counters, 0); in mlx5_fc_stats_query_all_counters()
116 u32 *data = fc_stats->bulk_query_out; in mlx5_fc_stats_query_all_counters()
161 struct mlx5_fc_stats *fc_stats = dev->priv.fc_stats; in mlx5_fc_release() local
167 mlx5_fc_pool_release_counter(&fc_stats->fc_pool, counter); in mlx5_fc_release()
175 struct mlx5_fc_stats *fc_stats = dev->priv.fc_stats; in mlx5_fc_stats_bulk_query_buf_realloc() local
188 kvfree(fc_stats->bulk_query_out); in mlx5_fc_stats_bulk_query_buf_realloc()
189 fc_stats->bulk_query_out = bulk_query_out_tmp; in mlx5_fc_stats_bulk_query_buf_realloc()
190 fc_stats->bulk_query_len = bulk_query_len; in mlx5_fc_stats_bulk_query_buf_realloc()
[all …]
/linux/drivers/scsi/libfc/
H A Dfc_lport.c301 struct fc_host_statistics *fc_stats; in fc_get_host_stats() local
307 fc_stats = &lport->host_stats; in fc_get_host_stats()
308 memset(fc_stats, 0, sizeof(struct fc_host_statistics)); in fc_get_host_stats()
310 fc_stats->seconds_since_last_reset = (jiffies - lport->boot_time) / HZ; in fc_get_host_stats()
313 struct fc_stats *stats; in fc_get_host_stats()
317 fc_stats->tx_frames += READ_ONCE(stats->TxFrames); in fc_get_host_stats()
318 fc_stats->tx_words += READ_ONCE(stats->TxWords); in fc_get_host_stats()
319 fc_stats->rx_frames += READ_ONCE(stats->RxFrames); in fc_get_host_stats()
320 fc_stats->rx_words += READ_ONCE(stats->RxWords); in fc_get_host_stats()
321 fc_stats->error_frames += READ_ONCE(stats->ErrorFrames); in fc_get_host_stats()
[all …]
/linux/include/scsi/
H A Dlibfc.h249 struct fc_stats { struct
729 struct fc_stats __percpu *stats;
846 lport->stats = alloc_percpu(struct fc_stats); in fc_lport_init_stats()
/linux/drivers/s390/scsi/
H A Dzfcp_def.h192 struct fc_host_statistics *fc_stats; member
/linux/drivers/scsi/fcoe/
H A Dfcoe_transport.c175 struct fc_stats *stats; in __fcoe_get_lesb()
H A Dfcoe.c1660 struct fc_stats *stats; in fcoe_recv_frame()
/linux/drivers/scsi/bfa/
H A Dbfa_defs_svc.h371 struct bfa_fw_fc_uport_stats_s fc_stats; member