opnsense-src/sys/sys
John Baldwin fb63feef6f - Move the definition of LOCK_DEBUG back to sys/lock.h from sys/_lock.h.
- Change LOCK_DEBUG so that it is always on if KTR is compiled in
  regardless of the state of KTR_COMPILE.  This means that we no longer
  need to include sys/ktr.h before sys/lock.h to ensure a valid setting
  for LOCK_DEBUG.
- Change the use of LOCK_DEBUG so that it is now always defined and its
  value is used instead of merely its definition.  That is, instead of
  #ifdef LOCK_DEBUG, code should now use #if LOCK_DEBUG > 0.
- Use this latest to #error out in sys/mutex.h if sys/lock.h isn't
  included before sys/mutex.h to ensure that the proper versions of the
  mutex operations are used.
- As a result of (2) sys/mutex.h no longer includes sys/ktr.h in the
  KERNEL case.

Requested by:	bde (1)
2001-10-19 19:28:18 +00:00
..
_lock.h - Move the definition of LOCK_DEBUG back to sys/lock.h from sys/_lock.h. 2001-10-19 19:28:18 +00:00
_mutex.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
_posix.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
_sigset.h style(9) the structure definitions. 2001-09-05 01:22:14 +00:00
_timespec.h Synchronize with some of my local changes. To quote: 2001-01-23 04:40:54 +00:00
aac_ioctl.h Bring the aac driver *much* closer to style(9). 2001-09-05 20:43:02 +00:00
acct.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
acl.h o Separate acl_t into internal and external representations as 2001-04-24 22:45:41 +00:00
agpio.h A driver for programming the AGP hardware. This is only very lightly 2000-06-09 16:04:30 +00:00
aio.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
assym.h Use "nm | awk ..." instead of genassym(1) to generate symbol value headers. 2000-06-02 09:27:48 +00:00
ata.h Update with latest ATA/ATAPI ver 6 rev 2 items. 2001-10-06 11:07:04 +00:00
bio.h Define BIO_CMD{1,2}, available for local hacks, similar to the already 2001-06-29 15:21:28 +00:00
bitstring.h Cleanup of bitstring.h: 2000-10-09 12:34:51 +00:00
blist.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
buf.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
bus.h Add INTR_TYPE_AV so that we can get to the PI_AV priority in the ithread 2001-06-16 22:42:19 +00:00
bus_dma.h - Moved the bus_dma declarations from bus_{at386,pc98}.h into bus_dma.h. 2001-10-06 16:27:21 +00:00
bus_private.h Style(9) 2001-09-05 01:06:28 +00:00
callout.h style(9) the structure definitions. 2001-09-05 01:22:14 +00:00
capability.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
ccdvar.h Fix some signed/unsigned integer confusion, and add bounds checking of 2001-09-10 11:28:07 +00:00
cdefs.h Solve our braindead sourcetree dependency on GCC in another way. 2001-09-19 17:51:23 +00:00
cdio.h style(9) the structure definitions. 2001-09-05 01:22:14 +00:00
cdrio.h Add test_write element. 2001-10-01 14:56:56 +00:00
chio.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
clist.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
condvar.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
conf.h Add dev_named(dev, name), which is similar in spirit to devtoname(). 2001-10-17 18:47:12 +00:00
cons.h With this commit, I hereby pronounce gensetdefs past its use-by date. 2001-06-13 10:58:39 +00:00
consio.h Refine cursor type/shape control escape sequences and 2001-08-02 08:30:40 +00:00
copyright.h We are now in the year 2001, so ajust copyrights. 2001-01-01 08:05:48 +00:00
ctype.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
dataacq.h Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
device_port.h Add PC-Card/ISA SCSI host adpater drivers from NetBSD/pc98 2000-10-23 12:55:51 +00:00
devicestat.h Export the head structure for the device statistics STAILQ in 2001-08-04 18:02:47 +00:00
digiio.h Add DIGIIO_SETALTPIN and DIGIIO_GETALTPIN ioctl values 2001-06-20 14:51:58 +00:00
dir.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
dirent.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
disk.h Add disk_enumerate() for finding names of disks. Vinum and libh will 2000-06-15 20:30:53 +00:00
disklabel.h Put the label at the same place as i386 for compatibility. 2001-10-06 12:35:22 +00:00
diskmbr.h Put the label at the same place as i386 for compatibility. 2001-10-06 12:35:22 +00:00
diskpc98.h Put the label at the same place as i386 for compatibility. 2001-10-06 12:35:22 +00:00
diskslice.h style(9) the structure definitions. 2001-09-05 01:22:14 +00:00
dkstat.h Redeclare cp_time. It's no longer static, and linprocfs needs it. 2000-09-07 16:38:04 +00:00
dmap.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
domain.h Hopefully improve control message passing over Unix domain sockets. 2001-10-04 13:11:48 +00:00
dvdio.h #endif /* comment */ 2001-09-10 01:23:39 +00:00
elf32.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
elf64.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
elf_common.h Catch up with common usage: 2001-09-08 22:59:30 +00:00
elf_generic.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
errno.h Back out prev. change. According to bde: 2001-08-27 17:05:29 +00:00
event.h Add ability to attach knotes to network devices. 2001-09-29 18:32:35 +00:00
eventhandler.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
eventvar.h Simplify kqueue API slightly. 2000-07-18 19:31:52 +00:00
exec.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
extattr.h o Introduce extattr_{delete,get,set}_fd() to allow extended attribute 2001-03-31 16:20:05 +00:00
fbio.h Add some definitions. Their actual support will be added 2001-08-02 11:17:38 +00:00
fcntl.h This patch implements O_DIRECT about 80% of the way. It takes a patchset 2001-05-24 07:22:27 +00:00
fdcio.h Implement a new ioctl command for floppies: FD_READID 2001-06-26 22:16:30 +00:00
file.h Re-apply rev 1.178 -- style(9) the structure definitions. 2001-09-13 22:52:42 +00:00
filedesc.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
filio.h Commit the kernel part of our DVD support. Nothing much to say really, 1999-12-07 22:25:28 +00:00
fnv_hash.h Use the same API as the example code. 2001-03-20 02:10:18 +00:00
gmon.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
iconv.h Add function prototypes and base module for kernel side iconv library. 2001-04-09 09:39:29 +00:00
imgact.h Make size of dynamic loader argument variable to support 2000-09-26 05:09:21 +00:00
imgact_aout.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
imgact_elf.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
inflate.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
interrupt.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
inttypes.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ioccom.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
ioctl.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
ioctl_bt848.h Fix typo in comments 2000-10-31 14:30:29 +00:00
ioctl_compat.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ioctl_meteor.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
ipc.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
jail.h o Introduce pr_securelevel, which holds a per-jail securelevel. 2001-09-26 20:36:08 +00:00
joystick.h Switch over to using the generic joy driver 1999-12-05 20:02:19 +00:00
kbio.h Implement keyboard paste 2001-03-11 22:51:05 +00:00
kernel.h Make MAXTSIZ, DFLDSIZ, MAXDSIZ, DFLSSIZ, MAXSSIZ, SGROWSIZ loader 2001-10-10 23:06:54 +00:00
kobj.h Fix typos: initalise -> initialise. 2001-02-08 20:28:57 +00:00
kthread.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
ktr.h Add a hack to get around the fact that egcs 1.1.2 (which I'm using to build 2001-10-15 13:30:04 +00:00
ktrace.h Limit size of passed in data for utrace function. 2001-01-06 09:34:20 +00:00
libkern.h namei.h: move "struct componentname" definition outside "struct nameidata", 2001-09-28 00:05:11 +00:00
linedisc.h Add dev_named(dev, name), which is similar in spirit to devtoname(). 2001-10-17 18:47:12 +00:00
link_aout.h style(9) the structure definitions. 2001-09-05 01:36:46 +00:00
link_elf.h style(9) the structure definitions. 2001-09-05 01:36:46 +00:00
linker.h Implement the long-awaited module->file cache database. A userland 2001-09-11 01:09:24 +00:00
linker_set.h With this commit, I hereby pronounce gensetdefs past its use-by date. 2001-06-13 10:58:39 +00:00
lock.h - Move the definition of LOCK_DEBUG back to sys/lock.h from sys/_lock.h. 2001-10-19 19:28:18 +00:00
lockf.h Wrap around MALLOC_DECLARE() invocation with #ifdef. 2001-05-03 08:57:26 +00:00
lockmgr.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
malloc.h - Remove asleep(), await(), and M_ASLEEP. 2001-08-10 06:37:05 +00:00
mbuf.h Re-enable mbtypes statistics in the mbuf allocator. I disabled these 2001-09-30 01:58:39 +00:00
mchain.h Introduce API for sequential reads/writes (build/dissect) of mbuf chains. 2001-02-24 15:44:30 +00:00
md4.h Import kernel part of SMB/CIFS requester. 2001-04-10 07:59:06 +00:00
md5.h Add a new entrypoint to the hashes in libmd: 2001-03-17 10:00:50 +00:00
mdioctl.h Introduce a force option, MD_FORCE, that instructs the driver to 2001-08-07 19:23:16 +00:00
memrange.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
mman.h Add INHERIT_XXX defines for minherit() system call. 2001-08-24 19:48:07 +00:00
module.h Use protected variables names in prototypes visible to the userland as 2001-09-09 14:57:17 +00:00
mount.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
mouse.h Spelling police: extention -> extension in a comment. 2001-07-05 08:52:40 +00:00
msg.h Move the MSG* and SEM* options to opt_sysvipc.h 2000-05-01 13:33:56 +00:00
msgbuf.h style(9) the structure definitions. 2001-09-05 01:22:14 +00:00
mtio.h Make residuals signed. 2001-01-21 01:34:14 +00:00
mutex.h - Move the definition of LOCK_DEBUG back to sys/lock.h from sys/_lock.h. 2001-10-19 19:28:18 +00:00
namei.h namei.h: move "struct componentname" definition outside "struct nameidata", 2001-09-28 00:05:11 +00:00
nlist_aout.h $Id$ -> $FreeBSD$ 1999-08-27 23:45:13 +00:00
param.h Bump FreeBSD_version for strcasestr() 2001-10-10 02:38:37 +00:00
pciio.h style(9) the structure definitions. 2001-09-05 01:22:14 +00:00
pcpu.h - Split out the support for per-CPU data from the SMP code. UP kernels 2001-05-10 17:45:49 +00:00
pioctl.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
pipe.h select() DKI is now in <sys/selinfo.h>. 2001-01-09 04:33:49 +00:00
poll.h Fix typo: compatability -> compatibility. 2001-02-06 12:05:58 +00:00
posix4.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
priority.h style(9) the structure definitions. 2001-09-05 01:22:14 +00:00
proc.h These flags aren't just for procfs - in fact, these days theye are primarily 2001-10-07 19:47:37 +00:00
procfs.h Use explicit sizes for the prpsinfo command length string so that 2001-08-16 08:35:51 +00:00
protosw.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
ptio.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ptrace.h Dissociate ptrace from procfs. 2001-10-07 20:08:42 +00:00
queue.h namei.h: move "struct componentname" definition outside "struct nameidata", 2001-09-28 00:05:11 +00:00
random.h Provide the infrastructure for sysadmins to select the broad class 2001-02-18 17:40:47 +00:00
reboot.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
regression.h o Include file to provide prototypes for regression testing-specific 2001-05-26 15:37:25 +00:00
resource.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
resourcevar.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
rman.h style(9) the structure definitions. 2001-09-05 01:22:14 +00:00
rtprio.h Implement a unified run queue and adjust priority levels accordingly. 2001-02-12 00:20:08 +00:00
runq.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
sbuf.h Add a couple of API functions I need for my pseudofs WIP. Documentation 2001-09-29 00:32:46 +00:00
select.h Do not recursively include <sys/selinfo.h> from <sys/select.h>; all in-tree 2001-01-20 03:11:47 +00:00
selinfo.h Fix a whitespace style nit. 2001-09-27 20:33:15 +00:00
sem.h Fix SysV Semaphore Handling. 2001-10-11 08:15:14 +00:00
sema.h Added used includes. <sys/_lock.h> is a prerequisite for <sys/_mutex.h>, 2001-10-10 10:26:07 +00:00
semaphore.h Track libc_r addition of semaphores implementation. 2000-01-20 07:55:42 +00:00
shm.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
signal.h style(9) the structure definitions. 2001-09-05 01:22:14 +00:00
signalvar.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
smp.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
snoop.h Move the kernel stuff out of snoop.h. It was only there because some 2001-07-25 14:47:56 +00:00
socket.h style(9) the structure definitions. 2001-09-05 01:22:14 +00:00
socketvar.h Only allow users to see their own socket connections if 2001-10-05 07:06:32 +00:00
sockio.h Fixed style bugs from revisions 8.1 (CSRG), 1.14, 1.19 and 1.22. 2001-10-19 12:24:54 +00:00
soundcard.h Correct the URL to the Hacker's Guide to Voxware. 2001-08-21 07:39:47 +00:00
stat.h Get userland visible flags added for snapshots to give a few days 2000-07-04 04:58:34 +00:00
sx.h Use NULL instead of __FILE__ in the !LOCK_DEBUG case in the locking code 2001-09-17 21:21:02 +00:00
syscall.h o Update init_sysent.c and friends for allocation of afs_syscall. 2001-10-13 13:30:21 +00:00
syscall.mk o Update init_sysent.c and friends for allocation of afs_syscall. 2001-10-13 13:30:21 +00:00
sysctl.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
sysent.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
syslimits.h After one too many PRs on the subject, bite the bullet and define IOV_MAX 2001-06-18 20:24:54 +00:00
syslog.h syslog.h fails to compile with -Wwrite-strings 2001-05-21 17:32:47 +00:00
sysproto.h o Update init_sysent.c and friends for allocation of afs_syscall. 2001-10-13 13:30:21 +00:00
systm.h o Rename u_cansee() to cr_cansee(), making the name more comprehensible 2001-09-20 21:45:31 +00:00
taskqueue.h taskqueue_swi is a pointer, not a struct. Fix a comment that misleadingly 2000-06-09 22:32:36 +00:00
termios.h Add B921600 (yes, some serial ports can do this, but generic sio not support 2001-06-20 03:26:41 +00:00
time.h style(9) the structure definitions. 2001-09-05 01:22:14 +00:00
timeb.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
timepps.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
timers.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
times.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
timespec.h This file declares `struct timespec' so that we can have a single, 2001-01-23 04:44:04 +00:00
timetc.h Isolate the Timecounter internals in their own two files. 2000-03-20 14:09:06 +00:00
timex.h Update to the 2001-04-02 version of the nanokernel code from Dave Mills. 2001-04-16 13:05:05 +00:00
tty.h Fixed style bugs (indentation errors, missing punctuation, and unsorting) 2001-10-04 07:25:16 +00:00
ttychars.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ttycom.h Remove the TABLDISC line discipline number, it's not in the tree 2000-01-29 16:47:35 +00:00
ttydefaults.h Kernel support for erase2 character. 2000-11-28 20:03:23 +00:00
ttydev.h Add B921600 (yes, some serial ports can do this, but generic sio not support 2001-06-20 03:26:41 +00:00
types.h Undo last commit. The problem's been fixed for a long time. 2001-09-01 08:31:09 +00:00
ucontext.h Add a per-signal flag to mark handlers registered with osigaction, so we 1999-10-11 20:33:17 +00:00
ucred.h Change the kernel's ucred API as follows: 2001-10-11 23:38:17 +00:00
uio.h Remove extraneous semicolon. 2001-10-04 10:39:56 +00:00
un.h Hopefully improve control message passing over Unix domain sockets. 2001-10-04 13:11:48 +00:00
unistd.h After one too many PRs on the subject, bite the bullet and define IOV_MAX 2001-06-18 20:24:54 +00:00
unpcb.h style(9) the structure definitions. 2001-09-05 01:22:14 +00:00
user.h Update comments regarding the transient nature of k_kproc and u_md 2001-10-11 08:15:16 +00:00
utsname.h Round 1 of Brucification inspired changes. 2001-03-24 08:37:56 +00:00
vmmeter.h Add mibs to hold the number of forks since boot. New mibs are: 2001-01-23 14:32:01 +00:00
vnioctl.h Fix a bug in the block number calculation for VN disks with a sector 1999-09-17 05:34:00 +00:00
vnode.h After extensive testing it has been determined that adding complexity 2001-10-01 04:33:35 +00:00
wait.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
xrpuio.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00