Lines Matching refs:client

21  * /sys/kernel/debug/ceph/client*  - an instance of the ceph client
25 * .../monc - mon client state
37 struct ceph_client *client = s->private;
39 if (client->monc.monmap == NULL)
42 seq_printf(s, "epoch %d\n", client->monc.monmap->epoch);
43 for (i = 0; i < client->monc.monmap->num_mon; i++) {
45 &client->monc.monmap->mon_inst[i];
57 struct ceph_client *client = s->private;
58 struct ceph_osd_client *osdc = &client->osdc;
90 &client->options->crush_locs));
140 struct ceph_client *client = s->private;
142 struct ceph_mon_client *monc = &client->monc;
344 struct ceph_client *client = s->private;
345 struct ceph_osd_client *osdc = &client->osdc;
380 struct ceph_client *client = s->private;
383 ret = ceph_print_client_options(s, client, true);
407 void ceph_debugfs_client_init(struct ceph_client *client)
411 snprintf(name, sizeof(name), "%pU.client%lld", &client->fsid,
412 client->monc.auth->global_id);
414 dout("ceph_debugfs_client_init %p %s\n", client, name);
416 client->debugfs_dir = debugfs_create_dir(name, ceph_debugfs_dir);
418 client->monc.debugfs_file = debugfs_create_file("monc",
420 client->debugfs_dir,
421 client,
424 client->osdc.debugfs_file = debugfs_create_file("osdc",
426 client->debugfs_dir,
427 client,
430 client->debugfs_monmap = debugfs_create_file("monmap",
432 client->debugfs_dir,
433 client,
436 client->debugfs_osdmap = debugfs_create_file("osdmap",
438 client->debugfs_dir,
439 client,
442 client->debugfs_options = debugfs_create_file("client_options",
444 client->debugfs_dir,
445 client,
449 void ceph_debugfs_client_cleanup(struct ceph_client *client)
451 dout("ceph_debugfs_client_cleanup %p\n", client);
452 debugfs_remove(client->debugfs_options);
453 debugfs_remove(client->debugfs_osdmap);
454 debugfs_remove(client->debugfs_monmap);
455 debugfs_remove(client->osdc.debugfs_file);
456 debugfs_remove(client->monc.debugfs_file);
457 debugfs_remove(client->debugfs_dir);
470 void ceph_debugfs_client_init(struct ceph_client *client)
474 void ceph_debugfs_client_cleanup(struct ceph_client *client)