freebsd-dev/sys/rpc
Rick Macklem ef6fcc5e2b nfsd: Add VNET_SYSUNINIT() macros for vnet cleanup
Commit ed03776ca7 enabled the vnet front end macros.
As such, for kernels built with the VIMAGE option will malloc
data and initialize locks on a per-vnet basis, typically
via a VNET_SYSINIT().

This patch adds VNET_SYSUNINIT() macros to do the frees
of the per-vnet malloc'd data and destroys of per-vnet
locks.  It also removes the mtx_lock/mtx_unlock calls
from nfsrvd_cleancache(), since they are not needed.

Discussed with:	bz, jamie
MFC after:	3 months
2023-02-20 13:11:22 -08:00
..
rpcsec_gss nfsd: Add VNET_SYSUNINIT() macros for vnet cleanup 2023-02-20 13:11:22 -08:00
rpcsec_tls nfsd: Add VNET_SYSUNINIT() macros for vnet cleanup 2023-02-20 13:11:22 -08:00
auth_none.c Adjust authnone_create() definition to avoid clang 15 warning 2022-07-25 00:40:13 +02:00
auth_unix.c rpc: Make function tables const 2021-08-14 11:26:12 -04:00
auth.h rpc: Delete AUTH_NEEDS_TLS(_MUTUAL_HOST) auth_stat values 2021-12-23 14:31:53 -08:00
authunix_prot.c
clnt_bck.c sockets: use socket buffer mutexes in struct socket directly 2022-05-12 13:22:12 -07:00
clnt_dg.c rpc: Make function tables const 2021-08-14 11:26:12 -04:00
clnt_rc.c rpc: Make function tables const 2021-08-14 11:26:12 -04:00
clnt_stat.h
clnt_vc.c clnt_vc.c: Replace msleep() with pause() to avoid assert panic 2022-10-14 15:46:55 -07:00
clnt.h rpc: Make function tables const 2021-08-14 11:26:12 -04:00
getnetconfig.c
krpc.h
netconfig.h
nettype.h
pmap_prot.h
replay.c
replay.h
rpc_callmsg.c
rpc_com.h
rpc_generic.c rpc: ansify 2023-02-13 05:39:10 +00:00
rpc_msg.h
rpc_prot.c
rpc.h
rpcb_clnt.c Adjust local_rpcb() definition to avoid clang 15 warning 2022-07-25 00:40:12 +02:00
rpcb_clnt.h
rpcb_prot.c
rpcb_prot.h
rpcm_subs.h
rpcsec_gss.h
rpcsec_tls.h nfsd: Add VNET_SYSUNINIT() macros for vnet cleanup 2023-02-20 13:11:22 -08:00
svc_auth_unix.c rpc: ansify 2023-02-13 05:39:10 +00:00
svc_auth.c krpc: Remove VNET_NFSD #ifdefs 2023-02-14 13:53:39 -08:00
svc_auth.h
svc_dg.c rpc: ansify 2023-02-13 05:39:10 +00:00
svc_generic.c
svc_vc.c nfsd: Allow multiple instances of rpc.tlsservd 2022-08-22 13:54:24 -07:00
svc.c krpc: Replace !jailed() with IS_DEFAULT_VNET() 2023-02-16 14:32:50 -08:00
svc.h nfsd: Allow multiple instances of rpc.tlsservd 2022-08-22 13:54:24 -07:00
types.h
xdr.h