Lines Matching refs:caps_use_count
145 mdsc->caps_use_count = 0; in ceph_caps_finalize()
182 mdsc->caps_total_count, mdsc->caps_use_count, in __ceph_unreserve_caps()
184 BUG_ON(mdsc->caps_total_count != mdsc->caps_use_count + in __ceph_unreserve_caps()
216 BUG_ON(mdsc->caps_total_count != mdsc->caps_use_count + in ceph_reserve_caps()
282 BUG_ON(mdsc->caps_total_count != mdsc->caps_use_count + in ceph_reserve_caps()
292 ctx, mdsc->caps_total_count, mdsc->caps_use_count, in ceph_reserve_caps()
317 mdsc->caps_use_count++; in ceph_get_cap()
326 mdsc->caps_use_count++; in ceph_get_cap()
331 BUG_ON(mdsc->caps_total_count != mdsc->caps_use_count + in ceph_get_cap()
342 ctx, ctx->count, mdsc->caps_total_count, mdsc->caps_use_count, in ceph_get_cap()
350 mdsc->caps_use_count++; in ceph_get_cap()
355 BUG_ON(mdsc->caps_total_count != mdsc->caps_use_count + in ceph_get_cap()
365 cap, mdsc->caps_total_count, mdsc->caps_use_count, in ceph_put_cap()
367 mdsc->caps_use_count--; in ceph_put_cap()
381 BUG_ON(mdsc->caps_total_count != mdsc->caps_use_count + in ceph_put_cap()
399 *used = mdsc->caps_use_count; in ceph_reservation_status()