Lines Matching refs:monc
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()
142 struct ceph_mon_client *monc = &client->monc; in monc_show() local
146 mutex_lock(&monc->mutex); in monc_show()
148 for (i = 0; i < ARRAY_SIZE(monc->subs); i++) { in monc_show()
150 monc->subs[i].have); in monc_show()
151 if (monc->subs[i].want) in monc_show()
153 le64_to_cpu(monc->subs[i].item.start), in monc_show()
154 (monc->subs[i].item.flags & in monc_show()
158 seq_printf(s, "fs_cluster_id %d\n", monc->fs_cluster_id); in monc_show()
160 for (rp = rb_first(&monc->generic_request_tree); rp; rp = rb_next(rp)) { in monc_show()
172 mutex_unlock(&monc->mutex); in monc_show()
393 DEFINE_SHOW_ATTRIBUTE(monc);
412 client->monc.auth->global_id); in ceph_debugfs_client_init()
418 client->monc.debugfs_file = debugfs_create_file("monc", in ceph_debugfs_client_init()
456 debugfs_remove(client->monc.debugfs_file); in ceph_debugfs_client_cleanup()