Lines Matching refs:client

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