freebsd-dev/sys/netatalk
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
..
aarp.c Staticize. 1998-02-09 06:11:36 +00:00
aarp.h Submitted by: archie@whistle.com 1996-07-23 01:18:47 +00:00
at_control.c Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
at_extern.h Forward declare some structs so that this file is more self-sufficient. 1998-02-03 21:52:02 +00:00
at_proto.c Removed unused #includes. 1998-02-25 13:08:07 +00:00
at_rmx.c Removed unused #includes. 1998-02-25 05:58:50 +00:00
at_var.h Update for new callout interface. 1997-09-21 22:02:25 +00:00
at.h Fixed pedantic syntax errors. 1998-02-03 21:56:42 +00:00
COPYRIGHT Obtained from: Netatalk distribution. 1996-06-18 20:55:13 +00:00
ddp_input.c Fix various problems with netatalk kernel support. 1997-10-29 00:30:52 +00:00
ddp_output.c Fix various problems with netatalk kernel support. 1997-10-29 00:30:52 +00:00
ddp_pcb.c Staticize. 1998-02-09 06:11:36 +00:00
ddp_usrreq.c Staticize. 1998-02-09 06:11:36 +00:00
ddp_var.h Moved misplaced extern declarations. 1997-09-07 07:58:09 +00:00
ddp.h Obtained from: netatalk distribution netatalk@itd.umich.edu 1996-05-24 01:35:45 +00:00
endian.h Fixed pedantic syntax errors. 1998-02-03 21:56:42 +00:00
phase2.h Submitted by: archie@whistle.com 1996-07-23 01:18:47 +00:00