Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/scsi/snic/
Dsnic_stats.h107 snic_stats_update_active_ios(struct snic_stats *s_stats) in snic_stats_update_active_ios() argument
109 struct snic_io_stats *io = &s_stats->io; in snic_stats_update_active_ios()
121 snic_stats_update_io_cmpl(struct snic_stats *s_stats) in snic_stats_update_io_cmpl() argument
123 atomic64_dec(&s_stats->io.active); in snic_stats_update_io_cmpl()
124 if (unlikely(atomic64_read(&s_stats->io_cmpl_skip))) in snic_stats_update_io_cmpl()
125 atomic64_dec(&s_stats->io_cmpl_skip); in snic_stats_update_io_cmpl()
127 atomic64_inc(&s_stats->io.compl); in snic_stats_update_io_cmpl()
Dsnic_isr.c40 snic->s_stats.misc.last_isr_time = jiffies; in snic_isr_msix_wq()
41 atomic64_inc(&snic->s_stats.misc.ack_isr_cnt); in snic_isr_msix_wq()
58 snic->s_stats.misc.last_isr_time = jiffies; in snic_isr_msix_io_cmpl()
59 atomic64_inc(&snic->s_stats.misc.cmpl_isr_cnt); in snic_isr_msix_io_cmpl()
75 snic->s_stats.misc.last_isr_time = jiffies; in snic_isr_msix_err_notify()
76 atomic64_inc(&snic->s_stats.misc.errnotify_isr_cnt); in snic_isr_msix_err_notify()
Dsnic_io.c85 snic->s_stats.misc.last_ack_time = jiffies; in snic_wq_cmpl_handler()
157 nr_wqdesc -= atomic64_read(&snic->s_stats.fw.actv_reqs); in snic_wqdesc_avail()
167 struct snic_fw_stats *fwstats = &snic->s_stats.fw; in snic_queue_wq_desc()
193 atomic64_inc(&snic->s_stats.misc.wq_alloc_fail); in snic_queue_wq_desc()
244 atomic64_inc(&snic->s_stats.io.alloc_fail); in snic_req_init()
265 if (sg_cnt > atomic64_read(&snic->s_stats.io.max_sgl)) in snic_req_init()
266 atomic64_set(&snic->s_stats.io.max_sgl, sg_cnt); in snic_req_init()
269 atomic64_inc(&snic->s_stats.io.sgl_cnt[sg_cnt - 1]); in snic_req_init()
567 if (duration > atomic64_read(&snic->s_stats.io.max_time)) in snic_calc_io_process_time()
568 atomic64_set(&snic->s_stats.io.max_time, duration); in snic_calc_io_process_time()
Dsnic_scsi.c223 atomic64_inc(&snic->s_stats.io.active); in snic_queue_icmnd_req()
226 atomic64_dec(&snic->s_stats.io.active); in snic_queue_icmnd_req()
231 snic_stats_update_active_ios(&snic->s_stats); in snic_queue_icmnd_req()
305 struct snic_io_stats *iostats = &snic->s_stats.io; in snic_issue_scsi_req()
343 atomic64_inc(&snic->s_stats.misc.tgt_not_rdy); in snic_queuecommand()
418 atomic64_inc(&snic->s_stats.misc.io_tmo); in snic_process_io_failed_state()
423 atomic64_inc(&snic->s_stats.misc.io_aborted); in snic_process_io_failed_state()
428 atomic64_inc(&snic->s_stats.misc.data_cnt_mismat); in snic_process_io_failed_state()
434 atomic64_inc(&snic->s_stats.fw.out_of_res); in snic_process_io_failed_state()
439 atomic64_inc(&snic->s_stats.io.io_not_found); in snic_process_io_failed_state()
[all …]
Dsnic_debugfs.c121 struct snic_stats *stats = &snic->s_stats; in snic_reset_stats_write()
182 struct snic_stats *stats = &snic->s_stats; in snic_stats_show()
Dsnic_main.c106 atomic64_inc(&snic->s_stats.misc.qsz_rampdown); in snic_change_queue_depth()
108 atomic64_inc(&snic->s_stats.misc.qsz_rampup); in snic_change_queue_depth()
110 atomic64_set(&snic->s_stats.misc.last_qsz, sdev->queue_depth); in snic_change_queue_depth()
Dsnic.h331 struct snic_stats s_stats; /* Per SNIC driver stats */ member