freebsd-skq/sys
phk 9b703b1455 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
..
alpha The linux chown syscall is more like lchown, a new chown syscall that 1998-03-29 07:59:10 +00:00
amd64 Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
compat Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
compile
conf Export MD5Transform in md5.c and remove a private version in random_machdep.c 1998-03-29 11:55:06 +00:00
contrib/ipfilter/netinet allow open on all minors 1998-03-27 18:03:13 +00:00
ddb
dev Don't use fast interrupts when initialized through PnP. if_ed does 1998-03-29 03:22:19 +00:00
fs Fix dead hang writing to FAT 1998-03-28 07:22:03 +00:00
geom Slightly more correct initialisation of the new buf struct for soft-updates. 1998-03-09 20:39:26 +00:00
gnu Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
i386 Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
isa Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
isofs/cd9660
kern Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
libkern
miscfs Moved some #includes from <sys/param.h> nearer to where they are actually 1998-03-28 10:33:27 +00:00
modules Give this a shot at actually working as an LKM.. 1998-03-27 04:05:08 +00:00
msdosfs Fix dead hang writing to FAT 1998-03-28 07:22:03 +00:00
net Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
netatalk Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
netinet Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
netipx Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
netkey Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
netnatm
netns
nfs Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
nfsclient Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
nfsserver Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
pc98 Sync with sys/i386/isa/if_ed.c revision 1.138. 1998-03-29 12:48:46 +00:00
pccard Uninitialized pointer reference may happen on particular environment. 1998-03-19 16:19:16 +00:00
pci Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
posix4 The system call stubs for the sched_* system calls can't be 1998-03-28 22:44:28 +00:00
powerpc/include
rpc
scsi Moved some #includes from <sys/param.h> nearer to where they are actually 1998-03-28 10:33:27 +00:00
sys Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
tools
ufs Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
vm Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
Makefile