Searched refs:fc_stats (Results 1 – 13 of 13) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fs_counters.c | 110 struct mlx5_fc_stats *fc_stats = &dev->priv.fc_stats; in mlx5_fc_counters_lookup_next() local 117 idr_for_each_entry_continue_ul(&fc_stats->counters_idr, in mlx5_fc_counters_lookup_next() 124 return counter ? &counter->list : &fc_stats->counters; in mlx5_fc_counters_lookup_next() 138 struct mlx5_fc_stats *fc_stats = &dev->priv.fc_stats; in mlx5_fc_stats_remove() local 142 spin_lock(&fc_stats->counters_idr_lock); in mlx5_fc_stats_remove() 143 WARN_ON(!idr_remove(&fc_stats->counters_idr, counter->id)); in mlx5_fc_stats_remove() 144 spin_unlock(&fc_stats->counters_idr_lock); in mlx5_fc_stats_remove() 173 struct mlx5_fc_stats *fc_stats = &dev->priv.fc_stats; in mlx5_fc_stats_query_counter_range() local 176 u32 *data = fc_stats->bulk_query_out; in mlx5_fc_stats_query_counter_range() 198 list_for_each_entry_from(counter, &fc_stats->counters, list) { in mlx5_fc_stats_query_counter_range() [all …]
|
/drivers/s390/scsi/ |
D | zfcp_scsi.c | 542 struct fc_host_statistics *fc_stats; in zfcp_scsi_init_fc_host_stats() local 544 if (!adapter->fc_stats) { in zfcp_scsi_init_fc_host_stats() 545 fc_stats = kmalloc(sizeof(*fc_stats), GFP_KERNEL); in zfcp_scsi_init_fc_host_stats() 546 if (!fc_stats) in zfcp_scsi_init_fc_host_stats() 548 adapter->fc_stats = fc_stats; /* freed in adapter_release */ in zfcp_scsi_init_fc_host_stats() 550 memset(adapter->fc_stats, 0, sizeof(*adapter->fc_stats)); in zfcp_scsi_init_fc_host_stats() 551 return adapter->fc_stats; in zfcp_scsi_init_fc_host_stats() 554 static void zfcp_scsi_adjust_fc_host_stats(struct fc_host_statistics *fc_stats, in zfcp_scsi_adjust_fc_host_stats() argument 558 fc_stats->seconds_since_last_reset = in zfcp_scsi_adjust_fc_host_stats() 560 fc_stats->tx_frames = data->tx_frames - old->tx_frames; in zfcp_scsi_adjust_fc_host_stats() [all …]
|
D | zfcp_def.h | 192 struct fc_host_statistics *fc_stats; member
|
D | zfcp_aux.c | 483 kfree(adapter->fc_stats); in zfcp_adapter_release()
|
/drivers/scsi/libfc/ |
D | fc_lport.c | 301 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 += stats->TxFrames; in fc_get_host_stats() 318 fc_stats->tx_words += stats->TxWords; in fc_get_host_stats() 319 fc_stats->rx_frames += stats->RxFrames; in fc_get_host_stats() 320 fc_stats->rx_words += stats->RxWords; in fc_get_host_stats() 321 fc_stats->error_frames += stats->ErrorFrames; in fc_get_host_stats() [all …]
|
D | fc_fcp.c | 483 struct fc_stats *stats; in fc_fcp_recv_data() 1874 struct fc_stats *stats; in fc_queuecommand()
|
/drivers/scsi/fcoe/ |
D | fcoe.c | 1476 struct fc_stats *stats; in fcoe_xmit() 1612 struct fc_stats *stats; in fcoe_filter_frames() 1659 struct fc_stats *stats; in fcoe_recv_frame() 1849 struct fc_stats *stats; in fcoe_device_notification()
|
D | fcoe_transport.c | 175 struct fc_stats *stats; in __fcoe_get_lesb()
|
D | fcoe_ctlr.c | 827 struct fc_stats *stats; in fcoe_ctlr_age_fcfs() 1145 struct fc_stats *stats; in fcoe_ctlr_recv_els()
|
/drivers/scsi/bfa/ |
D | bfa_defs_svc.h | 371 struct bfa_fw_fc_uport_stats_s fc_stats; member
|
/drivers/scsi/bnx2fc/ |
D | bnx2fc_fcoe.c | 276 struct fc_stats *stats; in bnx2fc_xmit() 512 struct fc_stats *stats; in bnx2fc_recv_frame()
|
D | bnx2fc_io.c | 2036 struct fc_stats *stats; in bnx2fc_post_io_req()
|
/drivers/scsi/qedf/ |
D | qedf_main.c | 1070 struct fc_stats *stats; in qedf_xmit()
|