xdr.h (dae9a6cab8009e526570e7477ce858dcdfeb256e) xdr.h (16c663642c7ec03cd4cee5fec520bb69e97babe4)
1/* SPDX-License-Identifier: GPL-2.0 */
2/* XDR types for nfsd. This is mainly a typing exercise. */
3
4#ifndef LINUX_NFSD_H
5#define LINUX_NFSD_H
6
7#include <linux/vfs.h>
8#include "nfsd.h"

--- 127 unchanged lines hidden (view full) ---

136 struct nfsd_linkargs link;
137 struct nfsd_symlinkargs symlink;
138 struct nfsd_readdirargs readdir;
139};
140
141#define NFS2_SVC_XDRSIZE sizeof(union nfsd_xdrstore)
142
143
1/* SPDX-License-Identifier: GPL-2.0 */
2/* XDR types for nfsd. This is mainly a typing exercise. */
3
4#ifndef LINUX_NFSD_H
5#define LINUX_NFSD_H
6
7#include <linux/vfs.h>
8#include "nfsd.h"

--- 127 unchanged lines hidden (view full) ---

136 struct nfsd_linkargs link;
137 struct nfsd_symlinkargs symlink;
138 struct nfsd_readdirargs readdir;
139};
140
141#define NFS2_SVC_XDRSIZE sizeof(union nfsd_xdrstore)
142
143
144int nfssvc_decode_fhandleargs(struct svc_rqst *, __be32 *);
145int nfssvc_decode_sattrargs(struct svc_rqst *, __be32 *);
146int nfssvc_decode_diropargs(struct svc_rqst *, __be32 *);
147int nfssvc_decode_readargs(struct svc_rqst *, __be32 *);
148int nfssvc_decode_writeargs(struct svc_rqst *, __be32 *);
149int nfssvc_decode_createargs(struct svc_rqst *, __be32 *);
150int nfssvc_decode_renameargs(struct svc_rqst *, __be32 *);
151int nfssvc_decode_linkargs(struct svc_rqst *, __be32 *);
152int nfssvc_decode_symlinkargs(struct svc_rqst *, __be32 *);
153int nfssvc_decode_readdirargs(struct svc_rqst *, __be32 *);
144int nfssvc_decode_fhandleargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
145int nfssvc_decode_sattrargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
146int nfssvc_decode_diropargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
147int nfssvc_decode_readargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
148int nfssvc_decode_writeargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
149int nfssvc_decode_createargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
150int nfssvc_decode_renameargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
151int nfssvc_decode_linkargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
152int nfssvc_decode_symlinkargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
153int nfssvc_decode_readdirargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
154
154int nfssvc_encode_statres(struct svc_rqst *, __be32 *);
155int nfssvc_encode_attrstatres(struct svc_rqst *, __be32 *);
156int nfssvc_encode_diropres(struct svc_rqst *, __be32 *);
157int nfssvc_encode_readlinkres(struct svc_rqst *, __be32 *);
158int nfssvc_encode_readres(struct svc_rqst *, __be32 *);
159int nfssvc_encode_statfsres(struct svc_rqst *, __be32 *);
160int nfssvc_encode_readdirres(struct svc_rqst *, __be32 *);
161

--- 15 unchanged lines hidden ---
155int nfssvc_encode_statres(struct svc_rqst *, __be32 *);
156int nfssvc_encode_attrstatres(struct svc_rqst *, __be32 *);
157int nfssvc_encode_diropres(struct svc_rqst *, __be32 *);
158int nfssvc_encode_readlinkres(struct svc_rqst *, __be32 *);
159int nfssvc_encode_readres(struct svc_rqst *, __be32 *);
160int nfssvc_encode_statfsres(struct svc_rqst *, __be32 *);
161int nfssvc_encode_readdirres(struct svc_rqst *, __be32 *);
162

--- 15 unchanged lines hidden ---