Lines Matching refs:s
32 static int monmap_show(struct seq_file *s, void *p) in monmap_show() argument
35 struct ceph_client *client = s->private; in monmap_show()
40 seq_printf(s, "epoch %d\n", client->monc.monmap->epoch); in monmap_show()
45 seq_printf(s, "\t%s%lld\t%s\n", in monmap_show()
52 static int osdmap_show(struct seq_file *s, void *p) in osdmap_show() argument
55 struct ceph_client *client = s->private; in osdmap_show()
62 seq_printf(s, "epoch %d\n", map->epoch); in osdmap_show()
63 seq_printf(s, "flags%s%s\n", in osdmap_show()
71 seq_printf(s, "pool %lld pg_num %u (%d) read_tier %lld write_tier %lld\n", in osdmap_show()
80 seq_printf(s, "osd%d\t%s\t%3d%%\t(%s)\t%3d%%\n", in osdmap_show()
90 seq_printf(s, "pg_temp %llu.%x [", pg->pgid.pool, in osdmap_show()
93 seq_printf(s, "%s%d", (i == 0 ? "" : ","), in osdmap_show()
95 seq_printf(s, "]\n"); in osdmap_show()
101 seq_printf(s, "primary_temp %llu.%x %d\n", pg->pgid.pool, in osdmap_show()
108 static int monc_show(struct seq_file *s, void *p) in monc_show() argument
110 struct ceph_client *client = s->private; in monc_show()
118 seq_printf(s, "have mdsmap %u\n", (unsigned int)monc->have_mdsmap); in monc_show()
120 seq_printf(s, "have osdmap %u\n", (unsigned int)monc->have_osdmap); in monc_show()
122 seq_printf(s, "want next osdmap\n"); in monc_show()
129 seq_printf(s, "%llu statfs\n", req->tid); in monc_show()
131 seq_printf(s, "%llu poolop\n", req->tid); in monc_show()
133 seq_printf(s, "%llu mon_get_version", req->tid); in monc_show()
135 seq_printf(s, "%llu unknown\n", req->tid); in monc_show()
142 static int osdc_show(struct seq_file *s, void *pp) in osdc_show() argument
144 struct ceph_client *client = s->private; in osdc_show()
156 seq_printf(s, "%lld\tosd%d\t%lld.%x\t", req->r_tid, in osdc_show()
160 seq_printf(s, "%.*s", req->r_base_oid.name_len, in osdc_show()
164 seq_printf(s, "\t%u'%llu", in osdc_show()
168 seq_printf(s, "\t"); in osdc_show()
172 seq_printf(s, "%s%s", (i == 0 ? "\t" : ","), in osdc_show()
176 seq_printf(s, "\n"); in osdc_show()