Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/scsi/snic/
Dsnic_stats.h93 snic_stats_update_active_ios(struct snic_stats *s_stats) in snic_stats_update_active_ios() argument
95 struct snic_io_stats *io = &s_stats->io; in snic_stats_update_active_ios()
107 snic_stats_update_io_cmpl(struct snic_stats *s_stats) in snic_stats_update_io_cmpl() argument
109 atomic64_dec(&s_stats->io.active); in snic_stats_update_io_cmpl()
110 if (unlikely(atomic64_read(&s_stats->io_cmpl_skip))) in snic_stats_update_io_cmpl()
111 atomic64_dec(&s_stats->io_cmpl_skip); in snic_stats_update_io_cmpl()
113 atomic64_inc(&s_stats->io.compl); in snic_stats_update_io_cmpl()
Dsnic_isr.c26 snic->s_stats.misc.last_isr_time = jiffies; in snic_isr_msix_wq()
27 atomic64_inc(&snic->s_stats.misc.ack_isr_cnt); in snic_isr_msix_wq()
44 snic->s_stats.misc.last_isr_time = jiffies; in snic_isr_msix_io_cmpl()
45 atomic64_inc(&snic->s_stats.misc.cmpl_isr_cnt); in snic_isr_msix_io_cmpl()
61 snic->s_stats.misc.last_isr_time = jiffies; in snic_isr_msix_err_notify()
62 atomic64_inc(&snic->s_stats.misc.errnotify_isr_cnt); in snic_isr_msix_err_notify()
Dsnic_scsi.c209 atomic64_inc(&snic->s_stats.io.active); in snic_queue_icmnd_req()
212 atomic64_dec(&snic->s_stats.io.active); in snic_queue_icmnd_req()
217 snic_stats_update_active_ios(&snic->s_stats); in snic_queue_icmnd_req()
291 struct snic_io_stats *iostats = &snic->s_stats.io; in snic_issue_scsi_req()
329 atomic64_inc(&snic->s_stats.misc.tgt_not_rdy); in snic_queuecommand()
404 atomic64_inc(&snic->s_stats.misc.io_tmo); in snic_process_io_failed_state()
409 atomic64_inc(&snic->s_stats.misc.io_aborted); in snic_process_io_failed_state()
414 atomic64_inc(&snic->s_stats.misc.data_cnt_mismat); in snic_process_io_failed_state()
420 atomic64_inc(&snic->s_stats.fw.out_of_res); in snic_process_io_failed_state()
425 atomic64_inc(&snic->s_stats.io.io_not_found); in snic_process_io_failed_state()
[all …]
Dsnic_io.c71 snic->s_stats.misc.last_ack_time = jiffies; in snic_wq_cmpl_handler()
143 nr_wqdesc -= atomic64_read(&snic->s_stats.fw.actv_reqs); in snic_wqdesc_avail()
153 struct snic_fw_stats *fwstats = &snic->s_stats.fw; in snic_queue_wq_desc()
179 atomic64_inc(&snic->s_stats.misc.wq_alloc_fail); in snic_queue_wq_desc()
230 atomic64_inc(&snic->s_stats.io.alloc_fail); in snic_req_init()
251 if (sg_cnt > atomic64_read(&snic->s_stats.io.max_sgl)) in snic_req_init()
252 atomic64_set(&snic->s_stats.io.max_sgl, sg_cnt); in snic_req_init()
255 atomic64_inc(&snic->s_stats.io.sgl_cnt[sg_cnt - 1]); in snic_req_init()
553 if (duration > atomic64_read(&snic->s_stats.io.max_time)) in snic_calc_io_process_time()
554 atomic64_set(&snic->s_stats.io.max_time, duration); in snic_calc_io_process_time()
Dsnic_debugfs.c107 struct snic_stats *stats = &snic->s_stats; in snic_reset_stats_write()
168 struct snic_stats *stats = &snic->s_stats; in snic_stats_show()
Dsnic_main.c92 atomic64_inc(&snic->s_stats.misc.qsz_rampdown); in snic_change_queue_depth()
94 atomic64_inc(&snic->s_stats.misc.qsz_rampup); in snic_change_queue_depth()
96 atomic64_set(&snic->s_stats.misc.last_qsz, sdev->queue_depth); in snic_change_queue_depth()
Dsnic.h317 struct snic_stats s_stats; /* Per SNIC driver stats */ member