Andrew Thompson 018cecb61b Add functions WITNESS so it can be asserted that the lock is not released for a
section of code, this uses WITNESS_NORELEASE() and WITNESS_RELEASEOK() to mark
the boundaries. Both functions require the lock to be held when calling.

This is intended for scenarios like a bus asserting that the bus lock is not
dropped during a driver call. There doesn't appear to be a man page to
document this in.

Reviewed by:	jhb
2009-01-21 04:19:18 +00:00
..
2008-11-29 14:32:14 +00:00
2008-09-23 14:25:56 +00:00
2008-08-03 21:07:19 +00:00
2008-11-27 04:40:37 +00:00
2008-09-22 10:37:02 +00:00
2008-05-12 06:42:06 +00:00
2008-05-23 04:06:49 +00:00
2007-12-14 21:30:51 +00:00
2008-07-27 21:45:20 +00:00
2008-12-21 21:54:01 +00:00
2008-07-18 07:10:33 +00:00
2009-01-02 23:39:29 +00:00
2009-01-01 20:03:22 +00:00
2009-01-20 04:21:21 +00:00
2008-12-16 23:16:10 +00:00
2008-12-27 10:13:43 +00:00
2008-11-29 12:40:14 +00:00