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()
145 struct ceph_mds_client *mdsc = fsc->mdsc; in dentry_lru_show() local
148 spin_lock(&mdsc->dentry_lru_lock); in dentry_lru_show()
149 list_for_each_entry(di, &mdsc->dentry_lru, lru) { in dentry_lru_show()
154 spin_unlock(&mdsc->dentry_lru_lock); in dentry_lru_show()
162 struct ceph_mds_client *mdsc = fsc->mdsc; in mds_sessions_show() local
167 mutex_lock(&mdsc->mutex); in mds_sessions_show()
176 for (mds = 0; mds < mdsc->max_sessions; mds++) { in mds_sessions_show()
178 __ceph_lookup_mds_session(mdsc, mds); in mds_sessions_show()
182 mutex_unlock(&mdsc->mutex); in mds_sessions_show()
188 mutex_lock(&mdsc->mutex); in mds_sessions_show()
190 mutex_unlock(&mdsc->mutex); in mds_sessions_show()