Lines Matching refs:total
70 cap->total = cpu_to_le64(nr_caps); in ceph_mdsc_send_metrics()
83 read->count = cpu_to_le64(m->metric[METRIC_READ].total); in ceph_mdsc_send_metrics()
96 write->count = cpu_to_le64(m->metric[METRIC_WRITE].total); in ceph_mdsc_send_metrics()
109 meta->count = cpu_to_le64(m->metric[METRIC_METADATA].total); in ceph_mdsc_send_metrics()
120 dlease->total = cpu_to_le64(atomic64_read(&m->total_dentries)); in ceph_mdsc_send_metrics()
132 files->total = cpu_to_le64(sum); in ceph_mdsc_send_metrics()
142 icaps->total = cpu_to_le64(sum); in ceph_mdsc_send_metrics()
152 inodes->total = cpu_to_le64(sum); in ceph_mdsc_send_metrics()
161 rsize->total_ops = cpu_to_le64(m->metric[METRIC_READ].total); in ceph_mdsc_send_metrics()
171 wsize->total_ops = cpu_to_le64(m->metric[METRIC_WRITE].total); in ceph_mdsc_send_metrics()
268 metric->total = 0; in ceph_metric_init()
328 static inline void __update_mean_and_stdev(ktime_t total, ktime_t *lavg, in __update_mean_and_stdev() argument
333 if (unlikely(total == 1)) { in __update_mean_and_stdev()
337 avg = *lavg + div64_s64(lat - *lavg, total); in __update_mean_and_stdev()
348 ktime_t total; in ceph_update_metrics() local
354 total = ++m->total; in ceph_update_metrics()
359 __update_mean_and_stdev(total, &m->latency_avg, &m->latency_sq_sum, in ceph_update_metrics()