Lines Matching defs:stat
185 #include "blk-stat.h"
1539 struct ioc_pcpu_stat *stat = per_cpu_ptr(ioc->pcpu_stat, cpu);
1543 u32 this_met = local_read(&stat->missed[rw].nr_met);
1544 u32 this_missed = local_read(&stat->missed[rw].nr_missed);
1546 nr_met[rw] += this_met - stat->missed[rw].last_met;
1547 nr_missed[rw] += this_missed - stat->missed[rw].last_missed;
1548 stat->missed[rw].last_met = this_met;
1549 stat->missed[rw].last_missed = this_missed;
1552 this_rq_wait_ns = local64_read(&stat->rq_wait_ns);
1553 rq_wait_ns += this_rq_wait_ns - stat->last_rq_wait_ns;
1554 stat->last_rq_wait_ns = this_rq_wait_ns;
1664 /* get stat counters ready for reading on all active iocgs */
2142 /* flush wait and indebt stat deltas */
2193 * Wait and indebt stat are flushed above and the donation calculation
2194 * below needs updated usage stat. Let's bring stat up-to-date.