Lines Matching refs:monc
37 if (client->monc.monmap == NULL) in monmap_show()
40 seq_printf(s, "epoch %d\n", client->monc.monmap->epoch); in monmap_show()
41 for (i = 0; i < client->monc.monmap->num_mon; i++) { in monmap_show()
43 &client->monc.monmap->mon_inst[i]; in monmap_show()
91 struct ceph_mon_client *monc = &client->monc; in monc_show() local
94 mutex_lock(&monc->mutex); in monc_show()
96 if (monc->have_mdsmap) in monc_show()
97 seq_printf(s, "have mdsmap %u\n", (unsigned)monc->have_mdsmap); in monc_show()
98 if (monc->have_osdmap) in monc_show()
99 seq_printf(s, "have osdmap %u\n", (unsigned)monc->have_osdmap); in monc_show()
100 if (monc->want_next_osdmap) in monc_show()
103 for (rp = rb_first(&monc->generic_request_tree); rp; rp = rb_next(rp)) { in monc_show()
113 mutex_unlock(&monc->mutex); in monc_show()
190 client->monc.auth->global_id); in ceph_debugfs_client_init()
196 client->monc.debugfs_file = debugfs_create_file("monc", in ceph_debugfs_client_init()
201 if (!client->monc.debugfs_file) in ceph_debugfs_client_init()
240 debugfs_remove(client->monc.debugfs_file); in ceph_debugfs_client_cleanup()