Lines Matching refs:cpu_to_le64
54 cap->hit = cpu_to_le64(percpu_counter_sum(&m->i_caps_hit)); in ceph_mdsc_send_metrics()
55 cap->mis = cpu_to_le64(percpu_counter_sum(&m->i_caps_mis)); in ceph_mdsc_send_metrics()
56 cap->total = cpu_to_le64(nr_caps); in ceph_mdsc_send_metrics()
101 dlease->hit = cpu_to_le64(percpu_counter_sum(&m->d_lease_hit)); in ceph_mdsc_send_metrics()
102 dlease->mis = cpu_to_le64(percpu_counter_sum(&m->d_lease_mis)); in ceph_mdsc_send_metrics()
103 dlease->total = cpu_to_le64(atomic64_read(&m->total_dentries)); in ceph_mdsc_send_metrics()
114 files->opened_files = cpu_to_le64(atomic64_read(&m->opened_files)); in ceph_mdsc_send_metrics()
115 files->total = cpu_to_le64(sum); in ceph_mdsc_send_metrics()
124 icaps->pinned_icaps = cpu_to_le64(nr_caps); in ceph_mdsc_send_metrics()
125 icaps->total = cpu_to_le64(sum); in ceph_mdsc_send_metrics()
134 inodes->opened_inodes = cpu_to_le64(percpu_counter_sum(&m->opened_inodes)); in ceph_mdsc_send_metrics()
135 inodes->total = cpu_to_le64(sum); in ceph_mdsc_send_metrics()
144 rsize->total_ops = cpu_to_le64(m->metric[METRIC_READ].total); in ceph_mdsc_send_metrics()
145 rsize->total_size = cpu_to_le64(m->metric[METRIC_READ].size_sum); in ceph_mdsc_send_metrics()
154 wsize->total_ops = cpu_to_le64(m->metric[METRIC_WRITE].total); in ceph_mdsc_send_metrics()
155 wsize->total_size = cpu_to_le64(m->metric[METRIC_WRITE].size_sum); in ceph_mdsc_send_metrics()