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