Lines Matching refs:total
61 cap->total = cpu_to_le64(nr_caps); in ceph_mdsc_send_metrics()
74 read->count = cpu_to_le64(m->metric[METRIC_READ].total); in ceph_mdsc_send_metrics()
87 write->count = cpu_to_le64(m->metric[METRIC_WRITE].total); in ceph_mdsc_send_metrics()
100 meta->count = cpu_to_le64(m->metric[METRIC_METADATA].total); in ceph_mdsc_send_metrics()
111 dlease->total = cpu_to_le64(atomic64_read(&m->total_dentries)); in ceph_mdsc_send_metrics()
123 files->total = cpu_to_le64(sum); in ceph_mdsc_send_metrics()
133 icaps->total = cpu_to_le64(sum); in ceph_mdsc_send_metrics()
143 inodes->total = cpu_to_le64(sum); in ceph_mdsc_send_metrics()
152 rsize->total_ops = cpu_to_le64(m->metric[METRIC_READ].total); in ceph_mdsc_send_metrics()
162 wsize->total_ops = cpu_to_le64(m->metric[METRIC_WRITE].total); in ceph_mdsc_send_metrics()
259 metric->total = 0; in ceph_metric_init()
319 static inline void __update_mean_and_stdev(ktime_t total, ktime_t *lavg, in __update_mean_and_stdev() argument
324 if (unlikely(total == 1)) { in __update_mean_and_stdev()
328 avg = *lavg + div64_s64(lat - *lavg, total); in __update_mean_and_stdev()
339 ktime_t total; in ceph_update_metrics() local
345 total = ++m->total; in ceph_update_metrics()
350 __update_mean_and_stdev(total, &m->latency_avg, &m->latency_sq_sum, in ceph_update_metrics()