• Home
  • Raw
  • Download

Lines Matching refs:s

33 static int monmap_show(struct seq_file *s, void *p)  in monmap_show()  argument
36 struct ceph_client *client = s->private; in monmap_show()
41 seq_printf(s, "epoch %d\n", client->monc.monmap->epoch); in monmap_show()
46 seq_printf(s, "\t%s%lld\t%s\n", in monmap_show()
53 static int osdmap_show(struct seq_file *s, void *p) in osdmap_show() argument
56 struct ceph_client *client = s->private; in osdmap_show()
63 seq_printf(s, "epoch %d\n", map->epoch); in osdmap_show()
64 seq_printf(s, "flags%s%s\n", in osdmap_show()
72 seq_printf(s, "pool %lld pg_num %u (%d) read_tier %lld write_tier %lld\n", in osdmap_show()
81 seq_printf(s, "osd%d\t%s\t%3d%%\t(%s)\t%3d%%\n", in osdmap_show()
91 seq_printf(s, "pg_temp %llu.%x [", pg->pgid.pool, in osdmap_show()
94 seq_printf(s, "%s%d", (i == 0 ? "" : ","), in osdmap_show()
96 seq_printf(s, "]\n"); in osdmap_show()
102 seq_printf(s, "primary_temp %llu.%x %d\n", pg->pgid.pool, in osdmap_show()
109 static int monc_show(struct seq_file *s, void *p) in monc_show() argument
111 struct ceph_client *client = s->private; in monc_show()
119 seq_printf(s, "have mdsmap %u\n", (unsigned int)monc->have_mdsmap); in monc_show()
121 seq_printf(s, "have osdmap %u\n", (unsigned int)monc->have_osdmap); in monc_show()
123 seq_printf(s, "want next osdmap\n"); in monc_show()
130 seq_printf(s, "%llu statfs\n", req->tid); in monc_show()
132 seq_printf(s, "%llu mon_get_version", req->tid); in monc_show()
134 seq_printf(s, "%llu unknown\n", req->tid); in monc_show()
141 static int osdc_show(struct seq_file *s, void *pp) in osdc_show() argument
143 struct ceph_client *client = s->private; in osdc_show()
155 seq_printf(s, "%lld\tosd%d\t%lld.%x\t", req->r_tid, in osdc_show()
159 seq_printf(s, "%.*s", req->r_base_oid.name_len, in osdc_show()
163 seq_printf(s, "\t%u'%llu", in osdc_show()
167 seq_printf(s, "\t"); in osdc_show()
171 seq_printf(s, "%s%s", (i == 0 ? "\t" : ","), in osdc_show()
175 seq_printf(s, "\n"); in osdc_show()
181 static int client_options_show(struct seq_file *s, void *p) in client_options_show() argument
183 struct ceph_client *client = s->private; in client_options_show()
186 ret = ceph_print_client_options(s, client); in client_options_show()
190 seq_putc(s, '\n'); in client_options_show()