Searched refs:caps_avail_count (Results 1 – 2 of 2) sorted by relevance
148 mdsc->caps_avail_count = 0; in ceph_caps_finalize()177 if (mdsc->caps_avail_count >= in __ceph_unreserve_caps()187 mdsc->caps_avail_count += nr_caps; in __ceph_unreserve_caps()193 mdsc->caps_reserve_count, mdsc->caps_avail_count); in __ceph_unreserve_caps()196 mdsc->caps_avail_count); in __ceph_unreserve_caps()221 if (mdsc->caps_avail_count >= need) in ceph_reserve_caps()224 have = mdsc->caps_avail_count; in ceph_reserve_caps()225 mdsc->caps_avail_count -= have; in ceph_reserve_caps()229 mdsc->caps_avail_count); in ceph_reserve_caps()259 if (mdsc->caps_avail_count) { in ceph_reserve_caps()[all …]
526 int caps_avail_count; /* unused, unreserved */ member