xref: /openbmc/linux/net/sunrpc/sysfs.h (revision c5a382ebdbdaac27ec109993e29f9045d70297f2)
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Copyright (c) 2020 Anna Schumaker <Anna.Schumaker@Netapp.com>
4  */
5 #ifndef __SUNRPC_SYSFS_H
6 #define __SUNRPC_SYSFS_H
7 
8 struct rpc_sysfs_client {
9 	struct kobject kobject;
10 	struct net *net;
11 };
12 
13 int rpc_sysfs_init(void);
14 void rpc_sysfs_exit(void);
15 
16 void rpc_sysfs_client_setup(struct rpc_clnt *clnt, struct net *net);
17 void rpc_sysfs_client_destroy(struct rpc_clnt *clnt);
18 
19 #endif
20