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()
325 static inline void __update_stdev(ktime_t total, ktime_t lsum, in __update_stdev() argument
330 if (unlikely(total == 1)) in __update_stdev()
334 avg = DIV64_U64_ROUND_CLOSEST((lsum - lat), (total - 1)); in __update_stdev()
336 avg = DIV64_U64_ROUND_CLOSEST(lsum, total); in __update_stdev()
346 ktime_t total; in ceph_update_read_metrics() local
352 total = ++m->total_reads; in ceph_update_read_metrics()
361 __update_stdev(total, m->read_latency_sum, in ceph_update_read_metrics()
371 ktime_t total; in ceph_update_write_metrics() local
377 total = ++m->total_writes; in ceph_update_write_metrics()
386 __update_stdev(total, m->write_latency_sum, in ceph_update_write_metrics()
396 ktime_t total; in ceph_update_metadata_metrics() local
402 total = ++m->total_metadatas; in ceph_update_metadata_metrics()
407 __update_stdev(total, m->metadata_latency_sum, in ceph_update_metadata_metrics()