Searched refs:s_nr_caps (Results 1 – 3 of 3) sorted by relevance
235 int s_nr_caps; member
1870 session->s_nr_caps--; in ceph_iterate_session_caps()1934 if (session->s_nr_caps > 0) { in remove_session_caps()1964 BUG_ON(session->s_nr_caps > 0); in remove_session_caps()2256 int trim_caps = session->s_nr_caps - max_caps; in ceph_trim_caps()2259 session->s_nr_caps, max_caps, trim_caps); in ceph_trim_caps()2265 session->s_mds, session->s_nr_caps, max_caps, in ceph_trim_caps()3564 cap->session->s_nr_caps--; in __do_request()3572 session->s_nr_caps++; in __do_request()
249 max_caps = s->s_nr_caps - (need - i); in ceph_reserve_caps()690 session->s_nr_caps++; in ceph_add_cap()1169 session->s_nr_caps--; in __ceph_remove_cap()