Lines Matching refs:total
130 #define CEPH_LAT_METRIC_SHOW(name, total, avg, min, max, sq) { \ argument
135 _total = total - 1; \
140 name, total, _avg, _min, _max, _st); \
143 #define CEPH_SZ_METRIC_SHOW(name, total, avg, min, max, sum) { \ argument
146 name, total, avg, _min, max, sum); \
155 s64 total, sum, avg, min, max, sq; in metric_show() local
173 total = m->total_reads; in metric_show()
175 avg = total > 0 ? DIV64_U64_ROUND_CLOSEST(sum, total) : 0; in metric_show()
180 CEPH_LAT_METRIC_SHOW("read", total, avg, min, max, sq); in metric_show()
183 total = m->total_writes; in metric_show()
185 avg = total > 0 ? DIV64_U64_ROUND_CLOSEST(sum, total) : 0; in metric_show()
190 CEPH_LAT_METRIC_SHOW("write", total, avg, min, max, sq); in metric_show()
193 total = m->total_metadatas; in metric_show()
195 avg = total > 0 ? DIV64_U64_ROUND_CLOSEST(sum, total) : 0; in metric_show()
200 CEPH_LAT_METRIC_SHOW("metadata", total, avg, min, max, sq); in metric_show()
207 total = m->total_reads; in metric_show()
209 avg_sz = total > 0 ? DIV64_U64_ROUND_CLOSEST(sum_sz, total) : 0; in metric_show()
213 CEPH_SZ_METRIC_SHOW("read", total, avg_sz, min_sz, max_sz, sum_sz); in metric_show()
216 total = m->total_writes; in metric_show()
218 avg_sz = total > 0 ? DIV64_U64_ROUND_CLOSEST(sum_sz, total) : 0; in metric_show()
222 CEPH_SZ_METRIC_SHOW("write", total, avg_sz, min_sz, max_sz, sum_sz); in metric_show()
256 int total, avail, used, reserved, min, i; in caps_show() local
259 ceph_reservation_status(fsc, &total, &avail, &used, &reserved, &min); in caps_show()
265 total, avail, used, reserved, min); in caps_show()