Home | History | Annotate | Download | only in nfs
History log of /src/sys/nfs/krpc.h
RevisionDateAuthorComments
 1.10  07-Dec-2024  riastradh sys/nfs/nfs: Add some missing includes and include guards.

Fix up some minor KNF issues while here.

No functional change intended (except to enable things to build that
might not have built before because of previously required #include
ordering).
 1.9  14-Mar-2009  dsl branches: 1.9.100;
Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.8  11-Dec-2005  christos branches: 1.8.74; 1.8.84; 1.8.90;
merge ktrace-lwp.
 1.7  22-May-2004  jonathan branches: 1.7.12;
Eliminate several uses of `curproc' from the socket-layer code and from NFS.

Add a new explicit `struct proc *p' argument to socreate(), sosend().
Use that argument instead of curproc. Follow-on changes to pass that
argument to socreate(), sosend(), and (*so->so_send)() calls.
These changes reviewed and independently recoded by Matt Thomas.

Changes to soreceive() and (*dom->dom_exernalize() from Matt Thomas:
pass soreceive()'s struct uio* uio->uio_procp to unp_externalize().
Eliminate curproc from unp_externalize. Also, now soreceive() uses
its uio->uio_procp value, pass that same value downward to
((pr->pru_usrreq)() calls for consistency, instead of (struct proc * )0.

Similar changes in sys/nfs to eliminate (most) uses of curproc,
either via the req-> r_procp field of a struct nfsreq *req argument,
or by passing down new explicit struct proc * arguments.

Reviewed by: Matt Thomas, posted to tech-kern.
NB: The (*pr->pru_usrreq)() change should be tested on more (all!) protocols.
 1.6  05-May-2003  yamt branches: 1.6.2;
keep things not needed by userland in #ifdef _KERNEL.
(e.g. prototypes for in-kernel functions)
 1.5  20-Oct-1996  fvdl Enhancements from Matthias Drochner:
- Try V3 first for diskless booting. Fall back to V2 if V3 fails.
- optionally (option NFS_BOOT_TCP) try a TCP mount first
for diskless booting. Fall back to UDP if it fails.
- Enable switching between UDP and TCP for remounts.
 1.4  19-Dec-1995  cgd changes to make this work on systems where pointers & longs are 64 bits.
This is mostly just changes to make the stuff that goes over the wire
use fixed-size types.
 1.3  24-Apr-1995  gwr Fixed RPC code to deal with RPC messages larger than one mbuf.
 1.2  26-Oct-1994  cgd new RCS ID format.
 1.1  26-Sep-1994  gwr Do the first BOOTPARAM RPC call to the broadcast address instead of
using the address of the RARP server because a BOOTPARAM server
might not be running on the machine that sent the RARP reply.
 1.6.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.6.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.6.2.1  03-Aug-2004  skrll Sync with HEAD
 1.7.12.1  21-Jun-2006  yamt sync with head.
 1.8.90.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.8.84.1  28-Apr-2009  skrll Sync with HEAD.
 1.8.74.1  04-May-2009  yamt sync with head.
 1.9.100.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed