238 Commits

Author SHA1 Message Date
asmodai
322355cc5f Add the manpage for CONDSPLASSERT().
This was based upon the manpage written by jmb for SPLASSERT().
2000-03-19 14:43:03 +00:00
asmodai
b6fdd2ec86 After about two months I am the first to notice that SPLASERT.9 never
got installed.

Also, correct the copyright to a more realistic date (1996->2000).
Fix some wordings and omissions.
2000-03-18 21:51:16 +00:00
chris
70a58ec38a Be consistent with struct vattr' naming. Half of this manual used vpp'
while the other half used `vap', and in one case resulted in code that
made no sense.  Replaced all of them with `vap'.

(Typically, `vpp' is a pointer to a pointer to a struct vnode anyway).
2000-03-16 22:40:38 +00:00
sheldonh
88dd9b4faa Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-03 14:05:08 +00:00
sheldonh
244b8ead7d Remove more single-space hard sentence breaks. 2000-03-02 14:54:02 +00:00
jasone
ecd1c9e027 Fix a typo (simple --> simply). 2000-02-16 22:45:51 +00:00
rwatson
1d708306f5 Fix man page structures/constants to match recent changes in acl.h
Fix a few more namespace messes and whitespace curiosities in acl.h
Fix comments in acl.h
Clean up some function prototypes from acl.h that won't be committed
    before the code freeze.

Some of this kindly pointed out by: the ever patient bde
2000-01-28 15:22:51 +00:00
jmb
d2c03ae081 Add SPLASSERT.9 man page. SPLASSERT() commit to follow immediately.
Approved by: jkh
2000-01-16 02:08:37 +00:00
peter
c90d56682c Don't mix up KNF and style(9). This isn't KNF, it's a derivative of it. 2000-01-15 16:34:07 +00:00
jmb
395ce19794 Document the KASSERT() macro. 2000-01-14 21:41:09 +00:00
phantom
c9f8dc6252 Add new manpages for:
microtime(9)
	nanotime(9)
	getmicrotime(9)
	getnanotime(9)
	microuptime(9)
	nanouptime(9)
	getmicrouptime(9)
	getnanouptime(9)
	tvtohz(9)

Based on PR:	docs/15889
Submitted by:	Kelly Yancey <kbyanc@posi.net>
2000-01-07 12:42:59 +00:00
phantom
a422f05417 Place #include's and $NetBSD$ tag to appropriate places. 2000-01-07 12:14:55 +00:00
rwatson
e112622878 Man pages for the VFS extended attribute and access control list vnops.
Reviewed by:	eivind
2000-01-05 04:59:02 +00:00
bde
69a3e4e3c7 Fixed some bugs (one serious one: timeouts were claimed to be executed at
spl0) and some bitrot (the not-so-new callout_init/stop/reset functions
were not mentioned; the callout_activate/deactivate/pending macros are
still not mentioned).

Submitted by:	mostly by jlemon
1999-12-27 16:22:20 +00:00
bde
bd797bef33 Fixed bitrot in synopsis. The prototype for panic() was moved to
<sys/param.h>, but the #includes weren't adjusted here.
1999-12-23 17:42:10 +00:00
bde
c7f1fcb7e2 Fixed wrong function types (the device_add_child() family returns a
device_t, not an int).
1999-12-23 17:39:45 +00:00
bde
6e69b44b9d Removed unused include of <sys/buf.h> from synopsis. This include is
needed to access the internals of buffers but not necessarily to use
the VOP.  <sys/buf.h> recently grew a bogus dependency on <sys/systm.h>
for the declaration of spl*, and I prefer to fix the synopsis breakage
by removing a wart instead of adding one.
1999-12-23 17:35:48 +00:00
bde
b0dfc986d0 Fixed bitrot in synopsis. The prototype for VOP_ISLOCKED() changed
recently, except of course in the documentation.  Other parts of this
man page are several years out of date.
1999-12-23 17:28:46 +00:00
bde
3433c755de Fixed missing #includes in synopsis. 1999-12-23 17:24:40 +00:00
bde
49e08120f6 Fixed bitrot in synopsis. Important interface changes hadn't reached here. 1999-12-23 17:22:58 +00:00
bde
5eb92e1444 "Fixed" assorted bitrot. remove_dev() was renamed to destroy_dev().
VOP_ABORTOP() went away.  at_shutdown() was replaced by undocumented
event handling.  Rename remove_dev() here too, and remove the dead
and dead wrong man pages.
1999-12-23 17:16:32 +00:00
eivind
cf78a64fe5 Correct the documentation of LOCKPARENT - it does not reliably result in the
parent being locked, but rather plays some hide and seek (does not lock if
dvp == vp).

Also add a BUGS section noting that this is undesired behaviour.
1999-12-18 20:50:48 +00:00
eivind
77984c7ce5 Document NDFREE w/flags, and fix up the description of NOFOLLOW. 1999-12-16 23:20:11 +00:00
obrien
92744e1fac * State in words that "#define^IMACRO" is proper, as it is hard to tell
from the example.
* Embelish the usage() example to show how uppercase options are sorted.

Taken from previous bdelinting.
1999-12-16 10:02:20 +00:00
alfred
8a21e37554 explain that ioflags can be used to give read-ahead hints to the underlying
filesystem.
1999-12-13 02:28:53 +00:00
ken
235e74ef14 Revamp the devstat priority system. All disks now have the same priority.
The same goes for CD drivers and tape drivers.  In systems with mixed IDE
and SCSI, devices in the same priority class will be sorted in attach
order.

Also, the 'CCD' priority is now the 'ARRAY' priority, and a number of
drivers have been modified to use that priority.

This includes the necessary changes to all drivers, except the ATA drivers.
Soren will modify those separately.

This does not include and does not require any change in the devstat
version number, since no known userland applications use the priority
enumerations.

Reviewed by:	msmith, sos, phk, jlemon, mjacob, bde
1999-12-08 04:45:23 +00:00
mdodd
ff48867f5a Remove mention of 'ivars'. 1999-12-03 11:22:28 +00:00
n_hibma
3f39219a8d Add the device_get_children(9) man page. 1999-12-02 16:34:09 +00:00
n_hibma
2c666b46ed It's device_add_child*, not bus_add_child*. 1999-12-02 16:31:12 +00:00
jdp
a3ca1bca0f The rt_refcnt member is a long now. 1999-11-22 04:26:00 +00:00
phk
b77d489a08 The at_exit and at_fork functions currently use a 'roll your own'
linked list to store the callbak routines.  The patch converts the
lists to queue(3) TAILQs, making the code slightly clearer and ensuring
that callbacks are executed in FIFO order.

Man page also updated as necesary.

(discontinued use of M_TEMP malloc type while here anyway /phk)

Submitted by:   Jake Burkholder jake@checker.org
PR:             14912
1999-11-19 21:29:03 +00:00
eivind
c0ca5a9525 Document changed calling conventions (lost WILLRELE) for VOP_MKNOD and
VOP_SYMLINK.
1999-11-13 21:00:26 +00:00
joerg
4a7e87b904 Move the description of the traditional sleep() form out into the history
section, we no longer have it.

Fix mdoc style violations caused by a previous committer.
1999-11-03 10:39:54 +00:00
phantom
a17fafc521 mdoc(7)'fy 1999-10-30 15:12:25 +00:00
phantom
0c45272980 mdoc(7)'fy, fix broken FreeBSD release number (3.0.1 -> 3.1) 1999-10-30 14:15:49 +00:00
phk
8d8f53dcdc Change useracc() and kernacc() to use VM_PROT_{READ|WRITE|EXECUTE} for the
"rw" argument, rather than hijacking B_{READ|WRITE}.

Fix two bugs (physio & cam) resulting by the confusion caused by this.

Submitted by:   Tor.Egge@fast.no
Reviewed by:    alc, ken (partly)
1999-10-30 06:32:05 +00:00
cpiazza
c64abf506b Revert previous change, I misread it as an if( when it really
wasn't.
1999-10-10 09:28:14 +00:00
cpiazza
730e0ba062 Add the missing ')' in
(p = f()) == NULL
1999-10-09 23:12:57 +00:00
dillon
772404948c Bring kernel malloc documentation up to date, including the example.
PR:	docs/10059
1999-09-29 16:49:18 +00:00
chris
6dfa6014e0 Document the make_dev(9) and remove_dev(9) facilities.
remove_dev(9) is created as a link to the existing make_dev(9) page.

Reviewed by:	phk
1999-09-25 20:12:01 +00:00
dillon
86c08984c2 mdoc style cleanup
Submitted by:	  Mike Pritchard <mpp@FreeBSD.ORG>
1999-09-25 17:21:21 +00:00
chris
869afb6bbe Remove a useless new line. 1999-09-25 16:11:09 +00:00
chris
ca61dcad0e Document the devtoname(9) kernel interface. 1999-09-25 15:58:33 +00:00
dillon
5fa6799671 More locking clarifications. Add skeleton manual page for VOP_LEASE 1999-09-24 17:11:02 +00:00
dillon
d6997b00fe More synchronization of the VOP documentation to the real world. 1999-09-24 13:58:55 +00:00
dillon
8dad7db428 More clarification of locking requirements. 1999-09-24 10:42:45 +00:00
dillon
386338d04f Bring more VOP manual pages up to date in regards to locking
requirements.
1999-09-24 10:19:43 +00:00
dillon
609f54c951 Update errors in documentation for various VOP_ calls. Specifically,
describe the correct locking state expected on entry and return.
1999-09-24 07:07:02 +00:00
phantom
a2ad4c3e54 Add to .Nm devstat_end_transaction_buf().
Do some ordering.

Noticed by: ken
1999-09-23 13:31:15 +00:00
phk
760dea228a Document the new free/erase transaction type.
Reminded about by:	ken
1999-09-22 20:27:21 +00:00