Home
last modified time | relevance | path

Searched refs:fc_stats (Results 1 - 25 of 25) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_counters.c112 struct mlx5_fc_stats *fc_stats = &dev->priv.fc_stats; in mlx5_fc_counters_lookup_next() local
119 idr_for_each_entry_continue_ul(&fc_stats->counters_idr, in mlx5_fc_counters_lookup_next()
126 return counter ? &counter->list : &fc_stats->counters; in mlx5_fc_counters_lookup_next()
140 struct mlx5_fc_stats *fc_stats = &dev->priv.fc_stats; in mlx5_fc_stats_remove() local
144 spin_lock(&fc_stats->counters_idr_lock); in mlx5_fc_stats_remove()
145 WARN_ON(!idr_remove(&fc_stats->counters_idr, counter->id)); in mlx5_fc_stats_remove()
146 spin_unlock(&fc_stats->counters_idr_lock); in mlx5_fc_stats_remove()
181 struct mlx5_fc_stats *fc_stats in mlx5_fc_stats_query_counter_range() local
228 struct mlx5_fc_stats *fc_stats = &dev->priv.fc_stats; mlx5_fc_release() local
238 struct mlx5_fc_stats *fc_stats = &dev->priv.fc_stats; mlx5_fc_stats_bulk_query_size_increase() local
275 struct mlx5_fc_stats *fc_stats = &dev->priv.fc_stats; mlx5_fc_stats_work() local
337 struct mlx5_fc_stats *fc_stats = &dev->priv.fc_stats; mlx5_fc_acquire() local
352 struct mlx5_fc_stats *fc_stats = &dev->priv.fc_stats; mlx5_fc_create_ex() local
392 struct mlx5_fc_stats *fc_stats = &dev->priv.fc_stats; mlx5_fc_create() local
408 struct mlx5_fc_stats *fc_stats = &dev->priv.fc_stats; mlx5_fc_destroy() local
425 struct mlx5_fc_stats *fc_stats = &dev->priv.fc_stats; mlx5_init_fc_stats() local
459 struct mlx5_fc_stats *fc_stats = &dev->priv.fc_stats; mlx5_cleanup_fc_stats() local
521 struct mlx5_fc_stats *fc_stats = &dev->priv.fc_stats; mlx5_fc_queue_stats_work() local
529 struct mlx5_fc_stats *fc_stats = &dev->priv.fc_stats; mlx5_fc_update_sampling_interval() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_counters.c110 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 in mlx5_fc_stats_query_counter_range() local
220 struct mlx5_fc_stats *fc_stats = &dev->priv.fc_stats; mlx5_fc_release() local
232 struct mlx5_fc_stats *fc_stats = &dev->priv.fc_stats; mlx5_fc_stats_work() local
287 struct mlx5_fc_stats *fc_stats = &dev->priv.fc_stats; mlx5_fc_acquire() local
302 struct mlx5_fc_stats *fc_stats = &dev->priv.fc_stats; mlx5_fc_create() local
350 struct mlx5_fc_stats *fc_stats = &dev->priv.fc_stats; mlx5_fc_destroy() local
367 struct mlx5_fc_stats *fc_stats = &dev->priv.fc_stats; mlx5_init_fc_stats() local
400 struct mlx5_fc_stats *fc_stats = &dev->priv.fc_stats; mlx5_cleanup_fc_stats() local
452 struct mlx5_fc_stats *fc_stats = &dev->priv.fc_stats; mlx5_fc_queue_stats_work() local
460 struct mlx5_fc_stats *fc_stats = &dev->priv.fc_stats; mlx5_fc_update_sampling_interval() local
[all...]
/kernel/linux/linux-5.10/drivers/s390/scsi/
H A Dzfcp_scsi.c542 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 zfcp_scsi_adjust_fc_host_stats(struct fc_host_statistics *fc_stats, struct fsf_qtcb_bottom_port *data, struct fsf_qtcb_bottom_port *old) zfcp_scsi_adjust_fc_host_stats() argument
587 zfcp_scsi_set_fc_host_stats(struct fc_host_statistics *fc_stats, struct fsf_qtcb_bottom_port *data) zfcp_scsi_set_fc_host_stats() argument
616 struct fc_host_statistics *fc_stats; zfcp_scsi_get_fc_host_stats() local
[all...]
H A Dzfcp_def.h193 struct fc_host_statistics *fc_stats; member
H A Dzfcp_aux.c462 kfree(adapter->fc_stats); in zfcp_adapter_release()
/kernel/linux/linux-6.6/drivers/s390/scsi/
H A Dzfcp_scsi.c542 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 zfcp_scsi_adjust_fc_host_stats(struct fc_host_statistics *fc_stats, struct fsf_qtcb_bottom_port *data, struct fsf_qtcb_bottom_port *old) zfcp_scsi_adjust_fc_host_stats() argument
587 zfcp_scsi_set_fc_host_stats(struct fc_host_statistics *fc_stats, struct fsf_qtcb_bottom_port *data) zfcp_scsi_set_fc_host_stats() argument
616 struct fc_host_statistics *fc_stats; zfcp_scsi_get_fc_host_stats() local
[all...]
H A Dzfcp_def.h192 struct fc_host_statistics *fc_stats; member
H A Dzfcp_aux.c483 kfree(adapter->fc_stats); in zfcp_adapter_release()
/kernel/linux/linux-5.10/drivers/scsi/libfc/
H A Dfc_lport.c298 struct fc_host_statistics *fc_stats; in fc_get_host_stats() local
304 fc_stats = &lport->host_stats; in fc_get_host_stats()
305 memset(fc_stats, 0, sizeof(struct fc_host_statistics)); in fc_get_host_stats()
307 fc_stats->seconds_since_last_reset = (jiffies - lport->boot_time) / HZ; in fc_get_host_stats()
310 struct fc_stats *stats; in fc_get_host_stats()
314 fc_stats->tx_frames += stats->TxFrames; in fc_get_host_stats()
315 fc_stats->tx_words += stats->TxWords; in fc_get_host_stats()
316 fc_stats->rx_frames += stats->RxFrames; in fc_get_host_stats()
317 fc_stats->rx_words += stats->RxWords; in fc_get_host_stats()
318 fc_stats in fc_get_host_stats()
[all...]
H A Dfc_fcp.c483 struct fc_stats *stats; in fc_fcp_recv_data()
1874 struct fc_stats *stats; in fc_queuecommand()
/kernel/linux/linux-6.6/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 in fc_get_host_stats()
[all...]
/kernel/linux/linux-5.10/include/scsi/
H A Dlibfc.h221 * struct fc_stats - fc stats structure
244 struct fc_stats { struct
714 struct fc_stats __percpu *stats;
827 lport->stats = alloc_percpu(struct fc_stats); in fc_lport_init_stats()
/kernel/linux/linux-6.6/include/scsi/
H A Dlibfc.h221 * struct fc_stats - fc stats structure
244 struct fc_stats { struct
723 struct fc_stats __percpu *stats;
836 lport->stats = alloc_percpu(struct fc_stats); in fc_lport_init_stats()
/kernel/linux/linux-5.10/drivers/scsi/fcoe/
H A Dfcoe.c1478 struct fc_stats *stats; in fcoe_xmit()
1614 struct fc_stats *stats; in fcoe_filter_frames()
1661 struct fc_stats *stats; in fcoe_recv_frame()
1851 struct fc_stats *stats; in fcoe_device_notification()
H A Dfcoe_transport.c174 struct fc_stats *stats; in __fcoe_get_lesb()
H A Dfcoe_ctlr.c827 struct fc_stats *stats; in fcoe_ctlr_age_fcfs()
1145 struct fc_stats *stats; in fcoe_ctlr_recv_els()
/kernel/linux/linux-6.6/drivers/scsi/fcoe/
H A Dfcoe_transport.c175 struct fc_stats *stats; in __fcoe_get_lesb()
H A Dfcoe.c1680 struct fc_stats *stats; in fcoe_recv_frame()
/kernel/linux/linux-5.10/drivers/scsi/bnx2fc/
H A Dbnx2fc_fcoe.c274 struct fc_stats *stats; in bnx2fc_xmit()
510 struct fc_stats *stats; in bnx2fc_recv_frame()
H A Dbnx2fc_io.c2036 struct fc_stats *stats; in bnx2fc_post_io_req()
/kernel/linux/linux-5.10/drivers/scsi/bfa/
H A Dbfa_defs_svc.h371 struct bfa_fw_fc_uport_stats_s fc_stats; member
/kernel/linux/linux-5.10/include/linux/mlx5/
H A Ddriver.h586 struct mlx5_fc_stats fc_stats; member
/kernel/linux/linux-6.6/include/linux/mlx5/
H A Ddriver.h626 struct mlx5_fc_stats fc_stats; member
/kernel/linux/linux-6.6/drivers/scsi/bfa/
H A Dbfa_defs_svc.h371 struct bfa_fw_fc_uport_stats_s fc_stats; member
/kernel/linux/linux-5.10/drivers/scsi/qedf/
H A Dqedf_main.c1070 struct fc_stats *stats; in qedf_xmit()

Completed in 60 milliseconds