android_kernel_xiaomi_sm8450/fs/nfsd
Chuck Lever e0ddafcc25 NFSD: Add helper to set up the pages where the dirlist is encoded
[ Upstream commit 40116ebd0934cca7e46423bdb3397d3d27eb9fb9 ]

De-duplicate some code that is used by both READDIR and READDIRPLUS
to build the dirlist in the Reply. Because this code is not related
to decoding READ arguments, it is moved to a more appropriate spot.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-06-21 14:52:51 +02:00
..
acl.h nfsd: eliminate an unnecessary acl size limit 2019-08-28 21:13:45 -04:00
auth.c nfsd: auth: Fix gid sorting when rootsquash enabled 2018-01-22 20:13:07 -08:00
auth.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
blocklayout.c block: add a bdev_is_partition helper 2020-09-25 08:18:57 -06:00
blocklayoutxdr.c NFSD: da_addr_body field missing in some GETDEVICEINFO replies 2023-09-19 12:20:15 +02:00
blocklayoutxdr.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cache.h nfsd4: make drc_slab global, not per-net 2020-06-01 17:44:45 -04:00
current_stateid.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
export.c nfsd: allow filesystems to opt out of subtree checking 2024-06-21 14:52:46 +02:00
export.h knfsd: Allow lockless lookups of the exports 2018-10-29 16:58:04 -04:00
fault_inject.c nfsd: no need to check return value of debugfs_create functions 2019-07-03 16:57:17 +02:00
filecache.c nfsd: Fix error return code in nfsd_file_cache_init() 2024-06-21 14:52:33 +02:00
filecache.h nfsd: Replace use of rwsem with errseq_t 2022-06-22 14:13:12 +02:00
flexfilelayout.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
flexfilelayoutxdr.c NFSD: da_addr_body field missing in some GETDEVICEINFO replies 2023-09-19 12:20:15 +02:00
flexfilelayoutxdr.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
idmap.h
Kconfig fs: nfsd: fix kconfig dependency warning for NFSD_V4 2021-04-07 15:00:03 +02:00
lockd.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile nfsd: remove fault injection code 2020-09-25 18:01:26 -04:00
netns.h nfsd: Ensure knfsd shuts down when the "nfsd" pseudofs is unmounted 2023-02-01 08:23:26 +01:00
nfs2acl.c SUNRPC: Make trace_svc_process() display the RPC procedure symbolically 2024-06-21 14:52:50 +02:00
nfs3acl.c SUNRPC: Make trace_svc_process() display the RPC procedure symbolically 2024-06-21 14:52:50 +02:00
nfs3proc.c NFSD: Add helper to set up the pages where the dirlist is encoded 2024-06-21 14:52:51 +02:00
nfs3xdr.c NFSD: Add helper to set up the pages where the dirlist is encoded 2024-06-21 14:52:51 +02:00
nfs4acl.c
nfs4callback.c NFSD: callback request does not use correct credential for AUTH_SYS 2023-04-20 12:10:22 +02:00
nfs4idmap.c nfsd: Use seq_putc() in two functions 2020-07-13 17:28:46 -04:00
nfs4layouts.c nfsd: fix race to check ls_layouts 2023-03-11 16:39:39 +01:00
nfs4proc.c SUNRPC: Make trace_svc_process() display the RPC procedure symbolically 2024-06-21 14:52:50 +02:00
nfs4recover.c nfsd: Fix a memory leak in an error handling path 2022-10-26 13:25:18 +02:00
nfs4state.c NFSD: Add a helper to decode state_protect4_a 2024-06-21 14:52:41 +02:00
nfs4xdr.c NFSD: Restore NFSv4 decoding's SAVEMEM functionality 2024-06-21 14:52:50 +02:00
nfscache.c silence nfscache allocation warnings with kvzalloc 2020-09-25 18:01:28 -04:00
nfsctl.c nfsd: Ensure knfsd shuts down when the "nfsd" pseudofs is unmounted 2023-02-01 08:23:26 +01:00
nfsd.h Revert "nfsd4: support change_attr_type attribute" 2024-06-21 14:52:45 +02:00
nfsfh.c nfsd: Record NFSv4 pre/post-op attributes as non-atomic 2024-06-21 14:52:46 +02:00
nfsfh.h nfsd: Record NFSv4 pre/post-op attributes as non-atomic 2024-06-21 14:52:46 +02:00
nfsproc.c SUNRPC: Make trace_svc_process() display the RPC procedure symbolically 2024-06-21 14:52:50 +02:00
nfssvc.c NFSD: Fix sparse warning in nfssvc.c 2024-06-21 14:52:50 +02:00
nfsxdr.c NFSD: Add common helpers to decode void args and encode void results 2024-06-21 14:52:34 +02:00
pnfs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
state.h nfsd: remove fault injection code 2020-09-25 18:01:26 -04:00
stats.c proc: convert everything to "struct proc_ops" 2020-02-04 03:05:26 +00:00
stats.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
trace.c NFSD: Add SPDX header for fs/nfsd/trace.c 2024-06-21 14:52:33 +02:00
trace.h NFSD: Add tracepoints in nfsd4_decode/encode_compound() 2024-06-21 14:52:34 +02:00
vfs.c nfsd: Set PF_LOCAL_THROTTLE on local filesystems only 2024-06-21 14:52:46 +02:00
vfs.h nfsd: define xattr functions to call into their vfs counterparts 2020-07-13 17:27:03 -04:00
xdr3.h NFSD: Add helper to set up the pages where the dirlist is encoded 2024-06-21 14:52:51 +02:00
xdr4.h NFSD: Fix sparse warning in nfssvc.c 2024-06-21 14:52:50 +02:00
xdr4cb.h NFSD CB_OFFLOAD xdr 2018-09-25 20:34:54 -04:00
xdr.h NFSD: Add common helpers to decode void args and encode void results 2024-06-21 14:52:34 +02:00