Lines Matching refs:seq
37 static int rpc_proc_show(struct seq_file *seq, void *v) { in rpc_proc_show() argument
38 const struct rpc_stat *statp = seq->private; in rpc_proc_show()
42 seq_printf(seq, in rpc_proc_show()
48 seq_printf(seq, in rpc_proc_show()
58 seq_printf(seq, "proc%u %u", in rpc_proc_show()
61 seq_printf(seq, " %u", vers->counts[j]); in rpc_proc_show()
62 seq_putc(seq, '\n'); in rpc_proc_show()
83 void svc_seq_show(struct seq_file *seq, const struct svc_stat *statp) in svc_seq_show() argument
89 seq_printf(seq, in svc_seq_show()
95 seq_printf(seq, in svc_seq_show()
107 seq_printf(seq, "proc%d %u", i, vers->vs_nproc); in svc_seq_show()
109 seq_printf(seq, " %u", vers->vs_count[j]); in svc_seq_show()
110 seq_putc(seq, '\n'); in svc_seq_show()
203 static void _print_name(struct seq_file *seq, unsigned int op, in _print_name() argument
207 seq_printf(seq, "\t%12s: ", procs[op].p_name); in _print_name()
209 seq_printf(seq, "\t NULL: "); in _print_name()
211 seq_printf(seq, "\t%12u: ", op); in _print_name()
227 static void _print_rpc_iostats(struct seq_file *seq, struct rpc_iostats *stats, in _print_rpc_iostats() argument
230 _print_name(seq, op, procs); in _print_rpc_iostats()
231 seq_printf(seq, "%lu %lu %lu %llu %llu %llu %llu %llu %lu\n", in _print_rpc_iostats()
245 struct seq_file *seq = seqv; in do_print_stats() local
247 xprt->ops->print_stats(xprt, seq); in do_print_stats()
251 void rpc_clnt_show_stats(struct seq_file *seq, struct rpc_clnt *clnt) in rpc_clnt_show_stats() argument
258 seq_printf(seq, "\tRPC iostats version: %s ", RPC_IOSTATS_VERS); in rpc_clnt_show_stats()
259 seq_printf(seq, "p/v: %u/%u (%s)\n", in rpc_clnt_show_stats()
262 rpc_clnt_iterate_for_each_xprt(clnt, do_print_stats, seq); in rpc_clnt_show_stats()
264 seq_printf(seq, "\tper-op statistics\n"); in rpc_clnt_show_stats()
274 _print_rpc_iostats(seq, &stats, op, clnt->cl_procinfo); in rpc_clnt_show_stats()