Lines Matching refs:fsc

25 	struct ceph_fs_client *fsc = s->private;  in mdsmap_show()  local
28 if (!fsc->mdsc || !fsc->mdsc->mdsmap) in mdsmap_show()
30 mdsmap = fsc->mdsc->mdsmap; in mdsmap_show()
51 struct ceph_fs_client *fsc = s->private; in mdsc_show() local
52 struct ceph_mds_client *mdsc = fsc->mdsc; in mdsc_show()
139 struct ceph_fs_client *fsc = s->private; in caps_show() local
140 struct ceph_mds_client *mdsc = fsc->mdsc; in caps_show()
143 ceph_reservation_status(fsc, &total, &avail, &used, &reserved, &min); in caps_show()
174 struct ceph_fs_client *fsc = s->private; in mds_sessions_show() local
175 struct ceph_mds_client *mdsc = fsc->mdsc; in mds_sessions_show()
176 struct ceph_auth_client *ac = fsc->client->monc.auth; in mds_sessions_show()
177 struct ceph_options *opt = fsc->client->options; in mds_sessions_show()
219 struct ceph_fs_client *fsc = (struct ceph_fs_client *)data; in CEPH_DEFINE_SHOW_FUNC() local
221 fsc->mount_options->congestion_kb = (int)val; in CEPH_DEFINE_SHOW_FUNC()
227 struct ceph_fs_client *fsc = (struct ceph_fs_client *)data; in congestion_kb_get() local
229 *val = (u64)fsc->mount_options->congestion_kb; in congestion_kb_get()
237 void ceph_fs_debugfs_cleanup(struct ceph_fs_client *fsc) in ceph_fs_debugfs_cleanup() argument
240 debugfs_remove(fsc->debugfs_bdi); in ceph_fs_debugfs_cleanup()
241 debugfs_remove(fsc->debugfs_congestion_kb); in ceph_fs_debugfs_cleanup()
242 debugfs_remove(fsc->debugfs_mdsmap); in ceph_fs_debugfs_cleanup()
243 debugfs_remove(fsc->debugfs_mds_sessions); in ceph_fs_debugfs_cleanup()
244 debugfs_remove(fsc->debugfs_caps); in ceph_fs_debugfs_cleanup()
245 debugfs_remove(fsc->debugfs_mdsc); in ceph_fs_debugfs_cleanup()
248 void ceph_fs_debugfs_init(struct ceph_fs_client *fsc) in ceph_fs_debugfs_init() argument
253 fsc->debugfs_congestion_kb = in ceph_fs_debugfs_init()
256 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
257 fsc, in ceph_fs_debugfs_init()
261 dev_name(fsc->sb->s_bdi->dev)); in ceph_fs_debugfs_init()
262 fsc->debugfs_bdi = in ceph_fs_debugfs_init()
264 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
267 fsc->debugfs_mdsmap = debugfs_create_file("mdsmap", in ceph_fs_debugfs_init()
269 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
270 fsc, in ceph_fs_debugfs_init()
273 fsc->debugfs_mds_sessions = debugfs_create_file("mds_sessions", in ceph_fs_debugfs_init()
275 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
276 fsc, in ceph_fs_debugfs_init()
279 fsc->debugfs_mdsc = debugfs_create_file("mdsc", in ceph_fs_debugfs_init()
281 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
282 fsc, in ceph_fs_debugfs_init()
285 fsc->debugfs_caps = debugfs_create_file("caps", in ceph_fs_debugfs_init()
287 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
288 fsc, in ceph_fs_debugfs_init()
295 void ceph_fs_debugfs_init(struct ceph_fs_client *fsc) in ceph_fs_debugfs_init() argument
299 void ceph_fs_debugfs_cleanup(struct ceph_fs_client *fsc) in ceph_fs_debugfs_cleanup() argument