nr_caps 166 fs/ceph/caps.c static void __ceph_unreserve_caps(struct ceph_mds_client *mdsc, int nr_caps) nr_caps 171 fs/ceph/caps.c if (nr_caps) { nr_caps 172 fs/ceph/caps.c BUG_ON(mdsc->caps_reserve_count < nr_caps); nr_caps 173 fs/ceph/caps.c mdsc->caps_reserve_count -= nr_caps; nr_caps 176 fs/ceph/caps.c mdsc->caps_total_count -= nr_caps; nr_caps 177 fs/ceph/caps.c for (i = 0; i < nr_caps; i++) { nr_caps 184 fs/ceph/caps.c mdsc->caps_avail_count += nr_caps; nr_caps 52 fs/ceph/mds_client.c int nr_caps, nr_realms; nr_caps 3264 fs/ceph/mds_client.c BUG_ON(!recon_state->nr_caps == !recon_state->nr_realms); nr_caps 3280 fs/ceph/mds_client.c if (recon_state->nr_caps) { nr_caps 3298 fs/ceph/mds_client.c if (recon_state->nr_caps) { nr_caps 3300 fs/ceph/mds_client.c *addr = cpu_to_le32(recon_state->nr_caps); nr_caps 3317 fs/ceph/mds_client.c recon_state->nr_caps = 0; nr_caps 3498 fs/ceph/mds_client.c recon_state->nr_caps++; nr_caps 3677 fs/ceph/mds_client.c if (recon_state.nr_caps) { nr_caps 3696 fs/ceph/mds_client.c if (recon_state.nr_caps || recon_state.nr_realms) { nr_caps 3701 fs/ceph/mds_client.c if (recon_state.nr_caps) { nr_caps 3703 fs/ceph/mds_client.c *addr = cpu_to_le32(recon_state.nr_caps);