Searched refs:icaps (Results 1 – 1 of 1) sorted by relevance
21 struct ceph_pinned_icaps *icaps; in ceph_mdsc_send_metrics() local36 + sizeof(*icaps) + sizeof(*inodes) + sizeof(*rsize) in ceph_mdsc_send_metrics()119 icaps = (struct ceph_pinned_icaps *)(files + 1); in ceph_mdsc_send_metrics()120 icaps->header.type = cpu_to_le32(CLIENT_METRIC_TYPE_PINNED_ICAPS); in ceph_mdsc_send_metrics()121 icaps->header.ver = 1; in ceph_mdsc_send_metrics()122 icaps->header.compat = 1; in ceph_mdsc_send_metrics()123 icaps->header.data_len = cpu_to_le32(sizeof(*icaps) - header_len); 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()129 inodes = (struct ceph_opened_inodes *)(icaps + 1); in ceph_mdsc_send_metrics()
Completed in 5 milliseconds