<dec f='src/src/sys/nfs/nfs_var.h' l='326' type='void nfsrv_zapsock(struct nfssvc_sock * )'/>
<use f='src/src/sys/nfs/nfs_syscalls.c' l='566' u='c' c='nfssvc_nfsd'/>
<use f='src/src/sys/nfs/nfs_syscalls.c' l='717' u='c' c='nfssvc_nfsd'/>
<def f='src/src/sys/nfs/nfs_syscalls.c' l='783' ll='837' type='void nfsrv_zapsock(struct nfssvc_sock * slp)'/>
<use f='src/src/sys/nfs/nfs_syscalls.c' l='902' u='c' c='nfsrv_init'/>
<doc f='src/src/sys/nfs/nfs_syscalls.c' l='774'>/*
 * Shut down a socket associated with an nfssvc_sock structure.
 * Should be called with the send lock set, if required.
 * The trick here is to increment the sref at the start, so that the nfsds
 * will stop using it and clear ns_flag at the end so that it will not be
 * reassigned during cleanup.
 *
 * called at splsoftnet.
 */</doc>
