Lines Matching refs:fsc

28 	struct ceph_fs_client *fsc = s->private;  in mdsmap_show()  local
31 if (!fsc->mdsc || !fsc->mdsc->mdsmap) in mdsmap_show()
33 mdsmap = fsc->mdsc->mdsmap; in mdsmap_show()
54 struct ceph_fs_client *fsc = s->private; in mdsc_show() local
55 struct ceph_mds_client *mdsc = fsc->mdsc; in mdsc_show()
145 struct ceph_fs_client *fsc = s->private; in metric_show() local
146 struct ceph_mds_client *mdsc = fsc->mdsc; in metric_show()
225 struct ceph_fs_client *fsc = s->private; in caps_show() local
226 struct ceph_mds_client *mdsc = fsc->mdsc; in caps_show()
230 ceph_reservation_status(fsc, &total, &avail, &used, &reserved, &min); in caps_show()
273 struct ceph_fs_client *fsc = s->private; in mds_sessions_show() local
274 struct ceph_mds_client *mdsc = fsc->mdsc; in mds_sessions_show()
275 struct ceph_auth_client *ac = fsc->client->monc.auth; in mds_sessions_show()
276 struct ceph_options *opt = fsc->client->options; in mds_sessions_show()
319 struct ceph_fs_client *fsc = (struct ceph_fs_client *)data; in congestion_kb_set() local
321 fsc->mount_options->congestion_kb = (int)val; in congestion_kb_set()
327 struct ceph_fs_client *fsc = (struct ceph_fs_client *)data; in congestion_kb_get() local
329 *val = (u64)fsc->mount_options->congestion_kb; in congestion_kb_get()
337 void ceph_fs_debugfs_cleanup(struct ceph_fs_client *fsc) in ceph_fs_debugfs_cleanup() argument
340 debugfs_remove(fsc->debugfs_bdi); in ceph_fs_debugfs_cleanup()
341 debugfs_remove(fsc->debugfs_congestion_kb); in ceph_fs_debugfs_cleanup()
342 debugfs_remove(fsc->debugfs_mdsmap); in ceph_fs_debugfs_cleanup()
343 debugfs_remove(fsc->debugfs_mds_sessions); in ceph_fs_debugfs_cleanup()
344 debugfs_remove(fsc->debugfs_caps); in ceph_fs_debugfs_cleanup()
345 debugfs_remove(fsc->debugfs_metric); in ceph_fs_debugfs_cleanup()
346 debugfs_remove(fsc->debugfs_mdsc); in ceph_fs_debugfs_cleanup()
349 void ceph_fs_debugfs_init(struct ceph_fs_client *fsc) in ceph_fs_debugfs_init() argument
354 fsc->debugfs_congestion_kb = in ceph_fs_debugfs_init()
357 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
358 fsc, in ceph_fs_debugfs_init()
362 bdi_dev_name(fsc->sb->s_bdi)); in ceph_fs_debugfs_init()
363 fsc->debugfs_bdi = in ceph_fs_debugfs_init()
365 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
368 fsc->debugfs_mdsmap = debugfs_create_file("mdsmap", in ceph_fs_debugfs_init()
370 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
371 fsc, in ceph_fs_debugfs_init()
374 fsc->debugfs_mds_sessions = debugfs_create_file("mds_sessions", in ceph_fs_debugfs_init()
376 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
377 fsc, in ceph_fs_debugfs_init()
380 fsc->debugfs_mdsc = debugfs_create_file("mdsc", in ceph_fs_debugfs_init()
382 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
383 fsc, in ceph_fs_debugfs_init()
386 fsc->debugfs_metric = debugfs_create_file("metrics", in ceph_fs_debugfs_init()
388 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
389 fsc, in ceph_fs_debugfs_init()
392 fsc->debugfs_caps = debugfs_create_file("caps", in ceph_fs_debugfs_init()
394 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
395 fsc, in ceph_fs_debugfs_init()
402 void ceph_fs_debugfs_init(struct ceph_fs_client *fsc) in ceph_fs_debugfs_init() argument
406 void ceph_fs_debugfs_cleanup(struct ceph_fs_client *fsc) in ceph_fs_debugfs_cleanup() argument