Home
last modified time | relevance | path

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

/fs/ceph/
Dmetric.c26 u64 nr_caps = atomic64_read(&m->total_caps); in ceph_mdsc_send_metrics() local
56 cap->total = cpu_to_le64(nr_caps); in ceph_mdsc_send_metrics()
124 icaps->pinned_icaps = cpu_to_le64(nr_caps); in ceph_mdsc_send_metrics()
Ddebugfs.c154 int nr_caps = 0; in metric_show() local
233 nr_caps = atomic64_read(&m->total_caps); in metric_show()
234 seq_printf(s, "%-14s%-16d%-16lld%lld\n", "caps", nr_caps, in metric_show()
Dmds_client.c55 int nr_caps, nr_realms; member
3672 BUG_ON(!recon_state->nr_caps == !recon_state->nr_realms); in send_reconnect_partial()
3688 if (recon_state->nr_caps) { in send_reconnect_partial()
3706 if (recon_state->nr_caps) { in send_reconnect_partial()
3708 *addr = cpu_to_le32(recon_state->nr_caps); in send_reconnect_partial()
3725 recon_state->nr_caps = 0; in send_reconnect_partial()
3947 recon_state->nr_caps++; in reconnect_caps_cb()
4124 if (recon_state.nr_caps) { in send_mds_reconnect()
4143 if (recon_state.nr_caps || recon_state.nr_realms) { in send_mds_reconnect()
4148 if (recon_state.nr_caps) { in send_mds_reconnect()
[all …]
Dcaps.c166 static void __ceph_unreserve_caps(struct ceph_mds_client *mdsc, int nr_caps) in __ceph_unreserve_caps() argument
171 if (nr_caps) { in __ceph_unreserve_caps()
172 BUG_ON(mdsc->caps_reserve_count < nr_caps); in __ceph_unreserve_caps()
173 mdsc->caps_reserve_count -= nr_caps; in __ceph_unreserve_caps()
176 mdsc->caps_total_count -= nr_caps; in __ceph_unreserve_caps()
177 for (i = 0; i < nr_caps; i++) { in __ceph_unreserve_caps()
184 mdsc->caps_avail_count += nr_caps; in __ceph_unreserve_caps()