1 /****************************************************************************
2 ****************************************************************************
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
10 ****************************************************************************
11 ****************************************************************************/
16 #include <linux/vfs.h>
17 #include <linux/nfs.h>
23 struct nfsd_sattrargs {
28 struct nfsd_diropargs {
34 struct nfsd_readargs {
38 struct kvec vec[RPCSVC_MAXPAGES];
42 struct nfsd_writeargs {
46 struct kvec vec[RPCSVC_MAXPAGES];
50 struct nfsd_createargs {
57 struct nfsd_renameargs {
66 struct nfsd_readlinkargs {
71 struct nfsd_linkargs {
78 struct nfsd_symlinkargs {
87 struct nfsd_readdirargs {
94 struct nfsd_attrstat {
99 struct nfsd_diropres {
104 struct nfsd_readlinkres {
108 struct nfsd_readres {
114 struct nfsd_readdirres {
117 struct readdir_cd common;
123 struct nfsd_statfsres {
124 struct kstatfs stats;
127 union nfsd_xdrstore {
128 struct nfsd_sattrargs sattr;
129 struct nfsd_diropargs dirop;
130 struct nfsd_readargs read;
131 struct nfsd_writeargs write;
132 struct nfsd_createargs create;
133 struct nfsd_renameargs rename;
134 struct nfsd_linkargs link;
135 struct nfsd_symlinkargs symlink;
136 struct nfsd_readdirargs readdir;
139 #define NFS2_SVC_XDRSIZE sizeof(union nfsd_xdrstore)