Home
last modified time | relevance | path

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

/linux-4.19.296/fs/ceph/
Dcaps.c159 static void __ceph_unreserve_caps(struct ceph_mds_client *mdsc, int nr_caps) in __ceph_unreserve_caps() argument
164 if (nr_caps) { in __ceph_unreserve_caps()
165 BUG_ON(mdsc->caps_reserve_count < nr_caps); in __ceph_unreserve_caps()
166 mdsc->caps_reserve_count -= nr_caps; in __ceph_unreserve_caps()
169 mdsc->caps_total_count -= nr_caps; in __ceph_unreserve_caps()
170 for (i = 0; i < nr_caps; i++) { in __ceph_unreserve_caps()
177 mdsc->caps_avail_count += nr_caps; in __ceph_unreserve_caps()
Dmds_client.c49 int nr_caps; member
3141 recon_state->nr_caps++; in encode_caps_cb()
3230 recon_state.nr_caps = 0; in send_mds_reconnect()
3269 if (s_nr_caps != recon_state.nr_caps) { in send_mds_reconnect()
3273 *addr = cpu_to_le32(recon_state.nr_caps); in send_mds_reconnect()