Searched refs:s_nr_caps (Results 1 – 3 of 3) sorted by relevance
212 int s_nr_caps; member
1836 session->s_nr_caps--; in ceph_iterate_session_caps()1899 if (session->s_nr_caps > 0) { in remove_session_caps()1929 BUG_ON(session->s_nr_caps > 0); in remove_session_caps()2210 int trim_caps = session->s_nr_caps - max_caps; in ceph_trim_caps()2213 session->s_mds, session->s_nr_caps, max_caps, trim_caps); in ceph_trim_caps()2219 session->s_mds, session->s_nr_caps, max_caps, in ceph_trim_caps()3401 cap->session->s_nr_caps--; in __do_request()3409 session->s_nr_caps++; in __do_request()
247 max_caps = s->s_nr_caps - (need - i); in ceph_reserve_caps()670 session->s_nr_caps++; in ceph_add_cap()1139 session->s_nr_caps--; in __ceph_remove_cap()