Lines Matching refs:cpu_to_le32

50 	cap->header.type = cpu_to_le32(CLIENT_METRIC_TYPE_CAP_INFO);  in ceph_mdsc_send_metrics()
53 cap->header.data_len = cpu_to_le32(sizeof(*cap) - header_len); in ceph_mdsc_send_metrics()
61 read->header.type = cpu_to_le32(CLIENT_METRIC_TYPE_READ_LATENCY); in ceph_mdsc_send_metrics()
64 read->header.data_len = cpu_to_le32(sizeof(*read) - header_len); in ceph_mdsc_send_metrics()
67 read->sec = cpu_to_le32(ts.tv_sec); in ceph_mdsc_send_metrics()
68 read->nsec = cpu_to_le32(ts.tv_nsec); in ceph_mdsc_send_metrics()
73 write->header.type = cpu_to_le32(CLIENT_METRIC_TYPE_WRITE_LATENCY); in ceph_mdsc_send_metrics()
76 write->header.data_len = cpu_to_le32(sizeof(*write) - header_len); in ceph_mdsc_send_metrics()
79 write->sec = cpu_to_le32(ts.tv_sec); in ceph_mdsc_send_metrics()
80 write->nsec = cpu_to_le32(ts.tv_nsec); in ceph_mdsc_send_metrics()
85 meta->header.type = cpu_to_le32(CLIENT_METRIC_TYPE_METADATA_LATENCY); in ceph_mdsc_send_metrics()
88 meta->header.data_len = cpu_to_le32(sizeof(*meta) - header_len); in ceph_mdsc_send_metrics()
91 meta->sec = cpu_to_le32(ts.tv_sec); in ceph_mdsc_send_metrics()
92 meta->nsec = cpu_to_le32(ts.tv_nsec); in ceph_mdsc_send_metrics()
97 dlease->header.type = cpu_to_le32(CLIENT_METRIC_TYPE_DENTRY_LEASE); in ceph_mdsc_send_metrics()
100 dlease->header.data_len = cpu_to_le32(sizeof(*dlease) - header_len); in ceph_mdsc_send_metrics()
110 files->header.type = cpu_to_le32(CLIENT_METRIC_TYPE_OPENED_FILES); in ceph_mdsc_send_metrics()
113 files->header.data_len = cpu_to_le32(sizeof(*files) - header_len); in ceph_mdsc_send_metrics()
120 icaps->header.type = cpu_to_le32(CLIENT_METRIC_TYPE_PINNED_ICAPS); in ceph_mdsc_send_metrics()
123 icaps->header.data_len = cpu_to_le32(sizeof(*icaps) - header_len); in ceph_mdsc_send_metrics()
130 inodes->header.type = cpu_to_le32(CLIENT_METRIC_TYPE_OPENED_INODES); in ceph_mdsc_send_metrics()
133 inodes->header.data_len = cpu_to_le32(sizeof(*inodes) - header_len); in ceph_mdsc_send_metrics()
140 rsize->header.type = cpu_to_le32(CLIENT_METRIC_TYPE_READ_IO_SIZES); in ceph_mdsc_send_metrics()
143 rsize->header.data_len = cpu_to_le32(sizeof(*rsize) - header_len); in ceph_mdsc_send_metrics()
150 wsize->header.type = cpu_to_le32(CLIENT_METRIC_TYPE_WRITE_IO_SIZES); in ceph_mdsc_send_metrics()
153 wsize->header.data_len = cpu_to_le32(sizeof(*wsize) - header_len); in ceph_mdsc_send_metrics()
162 msg->hdr.front_len = cpu_to_le32(msg->front.iov_len); in ceph_mdsc_send_metrics()