Lines Matching refs:mdsc
28 if (!fsc->mdsc || !fsc->mdsc->mdsmap) in mdsmap_show()
30 mdsmap = fsc->mdsc->mdsmap; in mdsmap_show()
52 struct ceph_mds_client *mdsc = fsc->mdsc; in mdsc_show() local
59 mutex_lock(&mdsc->mutex); in mdsc_show()
60 for (rp = rb_first(&mdsc->request_tree); rp; rp = rb_next(rp)) { in mdsc_show()
122 mutex_unlock(&mdsc->mutex); in mdsc_show()
140 struct ceph_mds_client *mdsc = fsc->mdsc; in caps_show() local
153 mutex_lock(&mdsc->mutex); in caps_show()
154 for (i = 0; i < mdsc->max_sessions; i++) { in caps_show()
157 session = __ceph_lookup_mds_session(mdsc, i); in caps_show()
160 mutex_unlock(&mdsc->mutex); in caps_show()
165 mutex_lock(&mdsc->mutex); in caps_show()
167 mutex_unlock(&mdsc->mutex); in caps_show()
175 struct ceph_mds_client *mdsc = fsc->mdsc; in mds_sessions_show() local
180 mutex_lock(&mdsc->mutex); in mds_sessions_show()
189 for (mds = 0; mds < mdsc->max_sessions; mds++) { in mds_sessions_show()
191 __ceph_lookup_mds_session(mdsc, mds); in mds_sessions_show()
195 mutex_unlock(&mdsc->mutex); in mds_sessions_show()
201 mutex_lock(&mdsc->mutex); in mds_sessions_show()
203 mutex_unlock(&mdsc->mutex); in mds_sessions_show()