Lines Matching refs:total
56 cap->total = cpu_to_le64(nr_caps); in ceph_mdsc_send_metrics()
103 dlease->total = cpu_to_le64(atomic64_read(&m->total_dentries)); in ceph_mdsc_send_metrics()
115 files->total = cpu_to_le64(sum); in ceph_mdsc_send_metrics()
125 icaps->total = cpu_to_le64(sum); in ceph_mdsc_send_metrics()
135 inodes->total = cpu_to_le64(sum); in ceph_mdsc_send_metrics()
144 rsize->total_ops = cpu_to_le64(m->metric[METRIC_READ].total); in ceph_mdsc_send_metrics()
154 wsize->total_ops = cpu_to_le64(m->metric[METRIC_WRITE].total); in ceph_mdsc_send_metrics()
253 metric->total = 0; in ceph_metric_init()
312 static inline void __update_stdev(ktime_t total, ktime_t lsum, in __update_stdev() argument
317 if (unlikely(total == 1)) in __update_stdev()
321 avg = DIV64_U64_ROUND_CLOSEST((lsum - lat), (total - 1)); in __update_stdev()
323 avg = DIV64_U64_ROUND_CLOSEST(lsum, total); in __update_stdev()
333 ktime_t total; in ceph_update_metrics() local
339 total = ++m->total; in ceph_update_metrics()
344 __update_stdev(total, m->latency_sum, &m->latency_sq_sum, lat); in ceph_update_metrics()