freebsd-dev/sys/nfs
Poul-Henning Kamp 227ee8a188 Eradicate the variable "time" from the kernel, using various measures.
"time" wasn't a atomic variable, so splfoo() protection were needed
around any access to it, unless you just wanted the seconds part.

Most uses of time.tv_sec now uses the new variable time_second instead.

gettime() changed to getmicrotime(0.

Remove a couple of unneeded splfoo() protections, the new getmicrotime()
is atomic, (until Bruce sets a breakpoint in it).

A couple of places needed random data, so use read_random() instead
of mucking about with time which isn't random.

Add a new nfs_curusec() function.

Mark a couple of bogosities involving the now disappeard time variable.

Update ffs_update() to avoid the weird "== &time" checks, by fixing the
one remaining call that passwd &time as args.

Change profiling in ncr.c to use ticks instead of time.  Resolution is
the same.

Add new function "tvtohz()" to avoid the bogus "splfoo(), add time, call
hzto() which subtracts time" sequences.

Reviewed by:	bde
1998-03-30 09:56:58 +00:00
..
bootp_subr.c Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
krpc_subr.c Moved some #includes from <sys/param.h> nearer to where they are actually 1998-03-28 10:33:27 +00:00
krpc.h Forward declare more structs that are used in prototypes here - don't 1998-02-01 20:34:07 +00:00
nfs_bio.c Don't allow the readdirplus routine to be used in NFS V2. 1998-03-28 16:05:05 +00:00
nfs_common.c Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
nfs_common.h Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
nfs_node.c Staticize. 1998-02-09 06:11:36 +00:00
nfs_nqlease.c Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
nfs_serv.c Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
nfs_socket.c Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
nfs_srvcache.c Staticize. 1998-02-09 06:11:36 +00:00
nfs_subs.c Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
nfs_syscalls.c Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
nfs_vfsops.c Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
nfs_vnops.c Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
nfs.h Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
nfsdiskless.h Removed more vestiges of config-time swap configuration. 1997-09-07 12:56:46 +00:00
nfsm_subs.h Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
nfsmount.h Fix all areas of the system (or at least all those in LINT) to avoid storing 1997-08-16 19:16:27 +00:00
nfsnode.h Trivial filesystem getpages/putpages implementations, set the second. 1998-03-06 09:46:52 +00:00
nfsproto.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
nfsrtt.h Various fixes from NetBSD: 1997-06-03 17:22:47 +00:00
nfsrvcache.h Added #include of <sys/queue.h> so that this file is more "self"-sufficent. 1998-02-03 22:19:35 +00:00
nfsv2.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
nqnfs.h Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
rpcv2.h Bring in some kernel bootp support. This removes the need for netboot 1997-05-11 18:05:39 +00:00
xdr_subs.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00