Lines Matching refs:monc
38 if (client->monc.monmap == NULL) in monmap_show()
41 seq_printf(s, "epoch %d\n", client->monc.monmap->epoch); in monmap_show()
42 for (i = 0; i < client->monc.monmap->num_mon; i++) { in monmap_show()
44 &client->monc.monmap->mon_inst[i]; in monmap_show()
113 struct ceph_mon_client *monc = &client->monc; in monc_show() local
116 mutex_lock(&monc->mutex); in monc_show()
118 if (monc->have_mdsmap) in monc_show()
119 seq_printf(s, "have mdsmap %u\n", (unsigned int)monc->have_mdsmap); in monc_show()
120 if (monc->have_osdmap) in monc_show()
121 seq_printf(s, "have osdmap %u\n", (unsigned int)monc->have_osdmap); in monc_show()
122 if (monc->want_next_osdmap) in monc_show()
125 for (rp = rb_first(&monc->generic_request_tree); rp; rp = rb_next(rp)) { in monc_show()
137 mutex_unlock(&monc->mutex); in monc_show()
219 client->monc.auth->global_id); in ceph_debugfs_client_init()
228 client->monc.debugfs_file = debugfs_create_file("monc", in ceph_debugfs_client_init()
233 if (!client->monc.debugfs_file) in ceph_debugfs_client_init()
282 debugfs_remove(client->monc.debugfs_file); in ceph_debugfs_client_cleanup()