Home
last modified time | relevance | path

Searched refs:dlease (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/fs/ceph/
Dmetric.c25 struct ceph_metric_dlease *dlease; in ceph_mdsc_send_metrics() local
48 + sizeof(*meta) + sizeof(*dlease) + sizeof(*files) in ceph_mdsc_send_metrics()
112 dlease = (struct ceph_metric_dlease *)(meta + 1); in ceph_mdsc_send_metrics()
113 dlease->header.type = cpu_to_le32(CLIENT_METRIC_TYPE_DENTRY_LEASE); in ceph_mdsc_send_metrics()
114 dlease->header.ver = 1; in ceph_mdsc_send_metrics()
115 dlease->header.compat = 1; in ceph_mdsc_send_metrics()
116 dlease->header.data_len = cpu_to_le32(sizeof(*dlease) - header_len); in ceph_mdsc_send_metrics()
117 dlease->hit = cpu_to_le64(percpu_counter_sum(&m->d_lease_hit)); in ceph_mdsc_send_metrics()
118 dlease->mis = cpu_to_le64(percpu_counter_sum(&m->d_lease_mis)); in ceph_mdsc_send_metrics()
119 dlease->total = cpu_to_le64(atomic64_read(&m->total_dentries)); in ceph_mdsc_send_metrics()
[all …]
Dmds_client.h131 struct ceph_mds_reply_lease *dlease; member
Dinode.c1653 le32_to_cpu(rinfo->dlease->duration_ms); in ceph_fill_trace()
1708 rinfo->dlease, session, in ceph_fill_trace()
1731 rinfo->dlease, session, in ceph_fill_trace()
1761 update_dentry_lease_careful(req->r_dentry, rinfo->dlease, in ceph_fill_trace()
Dmds_client.c383 err = parse_reply_info_lease(p, end, &info->dlease, features, in parse_reply_info_trace()