Lines Matching refs:stats
107 struct snic_stats *stats = &snic->s_stats; in snic_reset_stats_write() local
108 u64 *io_stats_p = (u64 *) &stats->io; in snic_reset_stats_write()
109 u64 *fw_stats_p = (u64 *) &stats->fw; in snic_reset_stats_write()
134 atomic64_read(&stats->io.active)); in snic_reset_stats_write()
135 memset(&stats->abts, 0, sizeof(struct snic_abort_stats)); in snic_reset_stats_write()
136 memset(&stats->reset, 0, sizeof(struct snic_reset_stats)); in snic_reset_stats_write()
137 memset(&stats->misc, 0, sizeof(struct snic_misc_stats)); in snic_reset_stats_write()
168 struct snic_stats *stats = &snic->s_stats; in snic_stats_show() local
179 maxio_tm = (u64) atomic64_read(&stats->io.max_time); in snic_stats_show()
195 (u64) atomic64_read(&stats->io.active), in snic_stats_show()
196 (u64) atomic64_read(&stats->io.max_active), in snic_stats_show()
197 (u64) atomic64_read(&stats->io.num_ios), in snic_stats_show()
198 (u64) atomic64_read(&stats->io.compl), in snic_stats_show()
199 (u64) atomic64_read(&stats->io.fail), in snic_stats_show()
200 (u64) atomic64_read(&stats->io.io_not_found), in snic_stats_show()
201 (u64) atomic64_read(&stats->io.alloc_fail), in snic_stats_show()
202 (u64) atomic64_read(&stats->io.req_null), in snic_stats_show()
203 (u64) atomic64_read(&stats->io.sc_null), in snic_stats_show()
204 (u64) atomic64_read(&stats->io.max_sgl), in snic_stats_show()
205 (u64) atomic64_read(&stats->io.max_io_sz), in snic_stats_show()
206 (u64) atomic64_read(&stats->io.max_qtime), in snic_stats_show()
207 (u64) atomic64_read(&stats->io.max_cmpl_time), in snic_stats_show()
216 (u64) atomic64_read(&stats->io.sgl_cnt[i])); in snic_stats_show()
235 (u64) atomic64_read(&stats->abts.num), in snic_stats_show()
236 (u64) atomic64_read(&stats->abts.fail), in snic_stats_show()
237 (u64) atomic64_read(&stats->abts.drv_tmo), in snic_stats_show()
238 (u64) atomic64_read(&stats->abts.fw_tmo), in snic_stats_show()
239 (u64) atomic64_read(&stats->abts.io_not_found), in snic_stats_show()
240 (u64) atomic64_read(&stats->abts.q_fail)); in snic_stats_show()
252 (u64) atomic64_read(&stats->reset.hba_resets), in snic_stats_show()
253 (u64) atomic64_read(&stats->reset.hba_reset_cmpl), in snic_stats_show()
254 (u64) atomic64_read(&stats->reset.hba_reset_fail)); in snic_stats_show()
268 (u64) atomic64_read(&stats->fw.actv_reqs), in snic_stats_show()
269 (u64) atomic64_read(&stats->fw.max_actv_reqs), in snic_stats_show()
270 (u64) atomic64_read(&stats->fw.out_of_res), in snic_stats_show()
271 (u64) atomic64_read(&stats->fw.io_errs), in snic_stats_show()
272 (u64) atomic64_read(&stats->fw.scsi_errs)); in snic_stats_show()
281 jiffies_to_timespec64(stats->misc.last_isr_time, &last_isr_tms); in snic_stats_show()
282 jiffies_to_timespec64(stats->misc.last_ack_time, &last_ack_tms); in snic_stats_show()
301 (u64) stats->misc.last_isr_time, in snic_stats_show()
303 (u64)stats->misc.last_ack_time, in snic_stats_show()
305 (u64) atomic64_read(&stats->misc.ack_isr_cnt), in snic_stats_show()
306 (u64) atomic64_read(&stats->misc.cmpl_isr_cnt), in snic_stats_show()
307 (u64) atomic64_read(&stats->misc.errnotify_isr_cnt), in snic_stats_show()
308 (u64) atomic64_read(&stats->misc.max_cq_ents), in snic_stats_show()
309 (u64) atomic64_read(&stats->misc.data_cnt_mismat), in snic_stats_show()
310 (u64) atomic64_read(&stats->misc.io_tmo), in snic_stats_show()
311 (u64) atomic64_read(&stats->misc.io_aborted), in snic_stats_show()
312 (u64) atomic64_read(&stats->misc.sgl_inval), in snic_stats_show()
313 (u64) atomic64_read(&stats->misc.wq_alloc_fail), in snic_stats_show()
314 (u64) atomic64_read(&stats->misc.qfull), in snic_stats_show()
315 (u64) atomic64_read(&stats->misc.qsz_rampup), in snic_stats_show()
316 (u64) atomic64_read(&stats->misc.qsz_rampdown), in snic_stats_show()
317 (u64) atomic64_read(&stats->misc.last_qsz), in snic_stats_show()
318 (u64) atomic64_read(&stats->misc.tgt_not_rdy)); in snic_stats_show()