kernel_samsung_a53x/fs/nfsd
Chuck Lever 59542e5bca SUNRPC: Prepare for xdr_stream-style decoding on the server-side
[ Upstream commit 5191955d6fc65e6d4efe8f4f10a6028298f57281 ]

A "permanent" struct xdr_stream is allocated in struct svc_rqst so
that it is usable by all server-side decoders. A per-rqst scratch
buffer is also allocated to handle decoding XDR data items that
cross page boundaries.

To demonstrate how it will be used, add the first call site for the
new svcxdr_init_decode() API.

As an additional part of the overall conversion, add symbolic
constants for successful and failed XDR operations. Returning "0" is
overloaded. Sometimes it means something failed, but sometimes it
means success. To make it more clear when XDR decoding functions
succeed or fail, introduce symbolic constants.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 12:27:20 +01:00
..
acl.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
auth.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
auth.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
blocklayout.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
blocklayoutxdr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
blocklayoutxdr.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cache.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
current_stateid.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
export.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
export.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fault_inject.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
filecache.c nfsd: Fix error return code in nfsd_file_cache_init() 2024-11-19 12:27:20 +01:00
filecache.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
flexfilelayout.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
flexfilelayoutxdr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
flexfilelayoutxdr.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
idmap.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lockd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
netns.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nfs2acl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nfs3acl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nfs3proc.c nfsd/nfs3: remove unused macro nfsd3_fhandleres 2024-11-19 12:27:20 +01:00
nfs3xdr.c NFSD: Invoke svc_encode_result_payload() in "read" NFSD encoders 2024-11-19 12:27:20 +01:00
nfs4acl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nfs4callback.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nfs4idmap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nfs4layouts.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nfs4proc.c SUNRPC: Add xdr_set_scratch_page() and xdr_reset_scratch_buffer() 2024-11-19 12:27:20 +01:00
nfs4recover.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nfs4state.c nfsd: fix file memleak on client_opens_release 2024-11-18 11:43:31 +01:00
nfs4xdr.c NFSD: A semicolon is not needed after a switch statement. 2024-11-19 12:27:20 +01:00
nfscache.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nfsctl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nfsd.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nfsfh.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nfsfh.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nfsproc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nfssvc.c SUNRPC: Prepare for xdr_stream-style decoding on the server-side 2024-11-19 12:27:20 +01:00
nfsxdr.c NFSD: Invoke svc_encode_result_payload() in "read" NFSD encoders 2024-11-19 12:27:20 +01:00
pnfs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
state.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
stats.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
stats.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trace.c NFSD: Add SPDX header for fs/nfsd/trace.c 2024-11-19 12:27:20 +01:00
trace.h NFSD: Remove extra "0x" in tracepoint format specifier 2024-11-19 12:27:20 +01:00
vfs.c nfsd: lock_rename() needs both directories to live on the same fs 2024-11-18 12:10:57 +01:00
vfs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xdr.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xdr3.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xdr4.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xdr4cb.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00