kernel_samsung_a53x/include/linux/sunrpc
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
..
addr.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
auth.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
auth_gss.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bc_xprt.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cache.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clnt.h sunrpc: add a struct rpc_stats arg to rpc_create_args 2024-11-19 11:32:41 +01:00
debug.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_api.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_asn1.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_err.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_krb5.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_krb5_enctypes.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
metrics.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msg_prot.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rpc_pipe_fs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rpc_rdma.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rpc_rdma_cid.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sched.h SUNRPC: increase size of rpc_wait_queue.qlen from unsigned short to unsigned int 2024-11-19 09:23:14 +01:00
stats.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
svc.h SUNRPC: Prepare for xdr_stream-style decoding on the server-side 2024-11-19 12:27:20 +01:00
svc_rdma.h SUNRPC: Rename svc_encode_read_payload() 2024-11-19 12:27:20 +01:00
svc_xprt.h SUNRPC: Rename svc_encode_read_payload() 2024-11-19 12:27:20 +01:00
svcauth.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
svcauth_gss.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
svcsock.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
timer.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
types.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xdr.h SUNRPC: Add xdr_set_scratch_page() and xdr_reset_scratch_buffer() 2024-11-19 12:27:20 +01:00
xprt.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xprtmultipath.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xprtrdma.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xprtsock.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00