Lines Matching refs:total
69 cap->total = cpu_to_le64(nr_caps); in ceph_mdsc_send_metrics()
82 read->count = cpu_to_le64(m->metric[METRIC_READ].total); in ceph_mdsc_send_metrics()
95 write->count = cpu_to_le64(m->metric[METRIC_WRITE].total); in ceph_mdsc_send_metrics()
108 meta->count = cpu_to_le64(m->metric[METRIC_METADATA].total); in ceph_mdsc_send_metrics()
119 dlease->total = cpu_to_le64(atomic64_read(&m->total_dentries)); in ceph_mdsc_send_metrics()
131 files->total = cpu_to_le64(sum); in ceph_mdsc_send_metrics()
141 icaps->total = cpu_to_le64(sum); in ceph_mdsc_send_metrics()
151 inodes->total = cpu_to_le64(sum); in ceph_mdsc_send_metrics()
160 rsize->total_ops = cpu_to_le64(m->metric[METRIC_READ].total); in ceph_mdsc_send_metrics()
170 wsize->total_ops = cpu_to_le64(m->metric[METRIC_WRITE].total); in ceph_mdsc_send_metrics()
267 metric->total = 0; in ceph_metric_init()
327 static inline void __update_mean_and_stdev(ktime_t total, ktime_t *lavg, in __update_mean_and_stdev() argument
332 if (unlikely(total == 1)) { in __update_mean_and_stdev()
336 avg = *lavg + div64_s64(lat - *lavg, total); in __update_mean_and_stdev()
347 ktime_t total; in ceph_update_metrics() local
353 total = ++m->total; in ceph_update_metrics()
358 __update_mean_and_stdev(total, &m->latency_avg, &m->latency_sq_sum, in ceph_update_metrics()