Searched refs:fc_stats (Results 1 – 15 of 15) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fs_counters.c | 162 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/ |
D | zfcp_scsi.c | 500 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 …]
|
D | zfcp_def.h | 187 struct fc_host_statistics *fc_stats; member
|
D | zfcp_aux.c | 458 kfree(adapter->fc_stats); in zfcp_adapter_release()
|
/Linux-v4.19/drivers/scsi/libfc/ |
D | fc_lport.c | 304 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 …]
|
D | fc_fcp.c | 489 struct fc_stats *stats; in fc_fcp_recv_data() 1878 struct fc_stats *stats; in fc_queuecommand()
|
/Linux-v4.19/include/scsi/ |
D | libfc.h | 256 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/ |
D | fcoe.c | 1485 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()
|
D | fcoe_transport.c | 186 struct fc_stats *stats; in __fcoe_get_lesb()
|
D | fcoe_ctlr.c | 834 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/ |
D | driver.h | 704 struct mlx5_fc_stats fc_stats; member
|
/Linux-v4.19/drivers/scsi/bfa/ |
D | bfa_defs_svc.h | 379 struct bfa_fw_fc_uport_stats_s fc_stats; member
|
/Linux-v4.19/drivers/scsi/bnx2fc/ |
D | bnx2fc_fcoe.c | 278 struct fc_stats *stats; in bnx2fc_xmit() 521 struct fc_stats *stats; in bnx2fc_recv_frame()
|
D | bnx2fc_io.c | 1983 struct fc_stats *stats; in bnx2fc_post_io_req()
|
/Linux-v4.19/drivers/scsi/qedf/ |
D | qedf_main.c | 872 struct fc_stats *stats; in qedf_xmit()
|