Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/snic/
H A 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()
H A 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()
H A 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()
H A 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()
404 atomic64_inc(&snic->s_stats.misc.io_tmo); in snic_process_io_failed_state()
435 atomic64_inc(&snic->s_stats.fw.io_errs); in snic_process_io_failed_state()
505 atomic64_inc(&snic->s_stats.misc.qfull); in snic_process_icmnd_cmpl_status()
510 atomic64_inc(&snic->s_stats.io.fail); in snic_process_icmnd_cmpl_status()
558 atomic64_inc(&snic->s_stats.io.sc_null); in snic_icmnd_cmpl_handler()
941 atomic64_inc(&snic->s_stats.io.sc_null); in snic_itmf_cmpl_handler()
957 struct snic_stats *st = &snic->s_stats; in snic_hba_reset_scsi_cleanup()
1025 atomic64_inc(&snic->s_stats.io.sc_null); in snic_hba_reset_cmpl_handler()
[all …]
H A 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()
H A 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()
H A Dsnic.h317 struct snic_stats s_stats; /* Per SNIC driver stats */ member