#include <linux/module.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/sunrpc/clnt.h>
#include <linux/sunrpc/svcsock.h>
#include <linux/sunrpc/metrics.h>
#include <linux/rcupdate.h>
#include <trace/events/sunrpc.h>
#include "netns.h"
#define RPCDBG_FACILITY …
static int rpc_proc_show(struct seq_file *seq, void *v) { … }
static int rpc_proc_open(struct inode *inode, struct file *file)
{ … }
static const struct proc_ops rpc_proc_ops = …;
void svc_seq_show(struct seq_file *seq, const struct svc_stat *statp)
{ … }
EXPORT_SYMBOL_GPL(…);
struct rpc_iostats *rpc_alloc_iostats(struct rpc_clnt *clnt)
{ … }
EXPORT_SYMBOL_GPL(…);
void rpc_free_iostats(struct rpc_iostats *stats)
{ … }
EXPORT_SYMBOL_GPL(…);
void rpc_count_iostats_metrics(const struct rpc_task *task,
struct rpc_iostats *op_metrics)
{ … }
EXPORT_SYMBOL_GPL(…);
void rpc_count_iostats(const struct rpc_task *task, struct rpc_iostats *stats)
{ … }
EXPORT_SYMBOL_GPL(…);
static void _print_name(struct seq_file *seq, unsigned int op,
const struct rpc_procinfo *procs)
{ … }
static void _add_rpc_iostats(struct rpc_iostats *a, struct rpc_iostats *b)
{ … }
static void _print_rpc_iostats(struct seq_file *seq, struct rpc_iostats *stats,
int op, const struct rpc_procinfo *procs)
{ … }
static int do_print_stats(struct rpc_clnt *clnt, struct rpc_xprt *xprt, void *seqv)
{ … }
void rpc_clnt_show_stats(struct seq_file *seq, struct rpc_clnt *clnt)
{ … }
EXPORT_SYMBOL_GPL(…);
static inline struct proc_dir_entry *
do_register(struct net *net, const char *name, void *data,
const struct proc_ops *proc_ops)
{ … }
struct proc_dir_entry *
rpc_proc_register(struct net *net, struct rpc_stat *statp)
{ … }
EXPORT_SYMBOL_GPL(…);
void
rpc_proc_unregister(struct net *net, const char *name)
{ … }
EXPORT_SYMBOL_GPL(…);
struct proc_dir_entry *
svc_proc_register(struct net *net, struct svc_stat *statp, const struct proc_ops *proc_ops)
{ … }
EXPORT_SYMBOL_GPL(…);
void
svc_proc_unregister(struct net *net, const char *name)
{ … }
EXPORT_SYMBOL_GPL(…);
int rpc_proc_init(struct net *net)
{ … }
void rpc_proc_exit(struct net *net)
{ … }