linux/net/sunrpc/debugfs.c

// SPDX-License-Identifier: GPL-2.0
/*
 * debugfs interface for sunrpc
 *
 * (c) 2014 Jeff Layton <[email protected]>
 */

#include <linux/debugfs.h>
#include <linux/sunrpc/sched.h>
#include <linux/sunrpc/clnt.h>

#include "netns.h"
#include "fail.h"

static struct dentry *topdir;
static struct dentry *rpc_clnt_dir;
static struct dentry *rpc_xprt_dir;

static int
tasks_show(struct seq_file *f, void *v)
{}

static void *
tasks_start(struct seq_file *f, loff_t *ppos)
	__acquires(&clnt->cl_lock)
{}

static void *
tasks_next(struct seq_file *f, void *v, loff_t *pos)
{}

static void
tasks_stop(struct seq_file *f, void *v)
	__releases(&clnt->cl_lock)
{}

static const struct seq_operations tasks_seq_operations =;

static int tasks_open(struct inode *inode, struct file *filp)
{}

static int
tasks_release(struct inode *inode, struct file *filp)
{}

static const struct file_operations tasks_fops =;

static int do_xprt_debugfs(struct rpc_clnt *clnt, struct rpc_xprt *xprt, void *numv)
{}

void
rpc_clnt_debugfs_register(struct rpc_clnt *clnt)
{}

void
rpc_clnt_debugfs_unregister(struct rpc_clnt *clnt)
{}

static int
xprt_info_show(struct seq_file *f, void *v)
{}

static int
xprt_info_open(struct inode *inode, struct file *filp)
{}

static int
xprt_info_release(struct inode *inode, struct file *filp)
{}

static const struct file_operations xprt_info_fops =;

void
rpc_xprt_debugfs_register(struct rpc_xprt *xprt)
{}

void
rpc_xprt_debugfs_unregister(struct rpc_xprt *xprt)
{}

#if IS_ENABLED(CONFIG_FAIL_SUNRPC)
struct fail_sunrpc_attr fail_sunrpc =;
EXPORT_SYMBOL_GPL();

static void fail_sunrpc_init(void)
{}
#else
static void fail_sunrpc_init(void)
{
}
#endif

void __exit
sunrpc_debugfs_exit(void)
{}

void __init
sunrpc_debugfs_init(void)
{}