NetBSD/sys/kern
reinoud fec4bb5bba Add generic FS agnostic directory hashing support. Currently only in use by
UDF. Future users could be msdosfs, ufs, nilfs2 (when ready), cd9660 etc.

Note that its not the same as UFS's DIRHASH support; UFS would need a good
cleanup/splitout of directory operations to adopt to this new directory
hashing support since most directory operations are interweaved with the
vnops itself. This is a TODO.
2008-09-27 13:01:07 +00:00
..
bufq_disksort.c Add a BUFQ_CANCEL() next to BUFQ_PUT() and BUFQ_GET(). 2008-04-30 12:09:02 +00:00
bufq_fcfs.c Add a BUFQ_CANCEL() next to BUFQ_PUT() and BUFQ_GET(). 2008-04-30 12:09:02 +00:00
bufq_priocscan.c add a comment. 2008-05-03 05:18:36 +00:00
bufq_readprio.c Add a BUFQ_CANCEL() next to BUFQ_PUT() and BUFQ_GET(). 2008-04-30 12:09:02 +00:00
cnmagic.c
core_elf32.c Network protocol interrupts can now block on locks, so merge the globals 2008-04-24 15:35:27 +00:00
core_elf64.c
core_netbsd.c PR kern/37917 /bin/ps no longer shows zombies 2008-04-29 16:21:27 +00:00
exec_aout.c
exec_conf.c Remove COMPAT_HPUX. 2007-12-31 13:38:47 +00:00
exec_ecoff.c
exec_elf32.c Replace intptr_t with uintptr_t in few more places. 2008-09-15 18:12:56 +00:00
exec_elf64.c
exec_macho.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
exec_script.c Catch up with descriptor handling changes. See kern_descrip.c revision 2008-03-21 21:54:58 +00:00
exec_subr.c Don't needlessly acquire v_interlock. 2008-06-02 16:16:27 +00:00
genlintstub.awk
init_main.c Revert previous change and clarify meaning of RNG 2008-08-30 09:20:13 +00:00
init_sysctl.c make l_flags contain more stuff. Fixes top thread display where system processes 2008-07-15 22:25:30 +00:00
init_sysent.c Regen from syscalls.master rev 1.204: 2008-06-17 16:07:57 +00:00
kern_acct.c Merge proc::p_mutex and proc::p_smutex into a single adaptive mutex, since 2008-04-24 18:39:20 +00:00
kern_auth.c Use __arraycount when appropriate 2008-08-15 01:31:02 +00:00
kern_cctr.c Reduce ifdefs due to MULTIPROCESSOR slightly. 2008-05-19 17:06:02 +00:00
kern_clock.c Remove locking of p_stmutex from sched_pstats(), protect l_pctcpu with p_lock, 2008-07-02 19:38:37 +00:00
kern_condvar.c PR kern/38761: new (?) race in buffer cache code 2008-06-16 12:03:01 +00:00
kern_core.c Merge proc::p_mutex and proc::p_smutex into a single adaptive mutex, since 2008-04-24 18:39:20 +00:00
kern_cpu.c cpu_xc_offline: fix races with eg. sleepq_remove. 2008-08-28 06:18:26 +00:00
kern_descrip.c Change {ff,fd}_exclose and ff_allocated to bool. Change exclose arg to 2008-07-02 16:45:19 +00:00
kern_drvctl.c ioctl commands are unsigned long. 2008-06-24 10:24:21 +00:00
kern_event.c Replace gcc-style designated initialisers with c99-style. 2008-06-24 10:27:35 +00:00
kern_exec.c Replce exec_map with a pool. Proposed on tech-kern@, reviewed by chs@. 2008-07-02 17:28:54 +00:00
kern_exit.c - PPWAIT is need only be locked by proc_lock, so move it to proc::p_lflag. 2008-06-16 09:51:14 +00:00
kern_fileassoc.c - Convert hashinit() to use kmem_alloc(). The hash tables can be large 2008-05-05 17:11:16 +00:00
kern_fork.c - PPWAIT is need only be locked by proc_lock, so move it to proc::p_lflag. 2008-06-16 09:51:14 +00:00
kern_idle.c Don't call uvm_pageidlezero() if the CPU is marked offline. 2008-06-11 13:42:02 +00:00
kern_ksyms.c report local symbols too. 2008-07-22 21:18:35 +00:00
kern_kthread.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
kern_ktrace.c Before freeing a ktr_desc, destroy its condition variables. 2008-06-03 05:53:09 +00:00
kern_lkm.c Convert all the system call entry points from: 2007-12-20 23:02:38 +00:00
kern_lock.c Switch from KASSERT to CTASSERT for those asserts testing sizes of types. 2008-07-02 14:47:34 +00:00
kern_lwp.c - Disallow setting of affinity for zombie LWPs. 2008-07-14 01:19:37 +00:00
kern_malloc_debug.c Pages mapped by debug_malloc are PMAP_KMPAGE so tell the pmap that. 2008-08-07 01:40:21 +00:00
kern_malloc_stdtype.c Move global malloc types from kern_malloc into a separate module. 2008-09-25 16:23:45 +00:00
kern_malloc.c Move global malloc types from kern_malloc into a separate module. 2008-09-25 16:23:45 +00:00
kern_module.c expose module_compatible() 2008-08-01 14:05:15 +00:00
kern_mutex.c Use __noinline. 2008-05-31 13:31:25 +00:00
kern_ntptime.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
kern_pax.c Fix broken enable test; fixes random coredumps. 2008-06-04 12:26:20 +00:00
kern_physio.c Resolve a race when physio_done signals completion before it tries to 2008-09-24 08:19:19 +00:00
kern_pmf.c Include <sys/sched.h> before <sys/syscallargs.h> for cpuset_t. 2008-06-17 16:17:21 +00:00
kern_proc.c The conversion to c99-style designated initialisers brought in the gcc 2008-06-24 10:31:05 +00:00
kern_prot.c Most contention on proc_lock is from getppid(), so cache the parent's PID. 2008-06-02 16:18:09 +00:00
kern_ras.c Fix error in previous. 2008-06-09 11:49:40 +00:00
kern_rate.c Split rate-checking routines into their own module for easier reuse. 2008-09-25 17:17:10 +00:00
kern_resource.c sysctl_proc_stop: fix a lock-leak when kauth returns an error. 2008-06-23 20:04:36 +00:00
kern_runq.c sched_migratable: add KASSERT since this function cannot be called 2008-07-14 01:18:10 +00:00
kern_rwlock.c rw_vector_exit(): When doing direct hand-off to a writer, only set 2008-07-29 16:13:39 +00:00
kern_sig.c - remove dup code 2008-09-12 21:33:39 +00:00
kern_sleepq.c sleepq_block: fix a bug to lose biglocks in the case of recursive calls. 2008-08-11 02:36:25 +00:00
kern_softint.c PR kern/38812 race between lwp_exit_switchaway and exit1/coredump 2008-05-31 21:26:01 +00:00
kern_stub.c #error if __HAVE_PREEMPTION && !MULTIPROCESSOR. 2008-05-01 00:20:12 +00:00
kern_subr.c Replace intptr_t with uintptr_t in few more places. 2008-09-15 18:12:56 +00:00
kern_synch.c Declare lwp_exit_switchaway() __dead. Add infinite loop at the end of 2008-07-25 00:48:59 +00:00
kern_sysctl.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
kern_tc.c Initialize timecounter_lock at IPL_HIGH. Prevents a "locking against myself" 2008-07-19 10:33:58 +00:00
kern_time.c Split rate-checking routines into their own module for easier reuse. 2008-09-25 17:17:10 +00:00
kern_timeout.c Add few KASSERTs. 2008-09-06 23:08:54 +00:00
kern_todr.c Now that __HAVE_TIMECOUNTER and __HAVE_GENERIC_TODR are invariants, 2008-01-20 18:09:03 +00:00
kern_turnstile.c turnstile_block(): When an LWP puts its turnstile onto a sync object's 2008-08-12 14:13:34 +00:00
kern_uuid.c Switch from KASSERT to CTASSERT for those asserts testing sizes of types. 2008-07-02 14:47:34 +00:00
kern_verifiedexec.c * Fix from Elad to correct a couple of places where functions exited 2008-09-10 16:36:54 +00:00
kern_xxx.c Remove unneeded playing about with kernel_lock. 2008-04-25 11:23:42 +00:00
kgdb_stub.c
Make.tags.inc Don't run ctags on unichromreg.h, its #definitions cover important 2008-01-28 18:22:36 +00:00
Makefile
makesyscalls.sh For rumpsyscalls, properly return -1 in case of error. 2008-09-07 19:27:58 +00:00
sched_4bsd.c sched_tick: 2008-05-25 22:04:50 +00:00
sched_m2.c - Make periodical balancing mandatory. 2008-05-19 12:48:54 +00:00
subr_autoconf.c Remove what seems to be a debug printf committed by accident. 2008-09-07 22:36:36 +00:00
subr_blist.c
subr_bufq.c Add a BUFQ_CANCEL() next to BUFQ_PUT() and BUFQ_GET(). 2008-04-30 12:09:02 +00:00
subr_callback.c Match the docs: MUTEX_DRIVER/SPIN are now only for porting code written 2007-12-05 07:06:50 +00:00
subr_debug.c Disable the freecheck stuff atomically so we only get one warning about 2008-04-30 20:20:53 +00:00
subr_devsw.c Correct previous. 2008-06-08 12:23:18 +00:00
subr_disk_mbr.c Merge vmlocking2 to head. 2008-01-02 11:48:20 +00:00
subr_disk.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
subr_evcnt.c
subr_extent.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
subr_hash.c - Convert hashinit() to use kmem_alloc(). The hash tables can be large 2008-05-05 17:11:16 +00:00
subr_iostat.c Remove pointless COMPAT ifdef. 2008-05-20 16:03:31 +00:00
subr_kmem.c if DEBUG, over-allocate 1 byte to detect overrun. 2008-02-09 12:56:20 +00:00
subr_kobj.c If autoloading a module, don't consider the current working directory. 2008-05-20 19:20:38 +00:00
subr_lockdebug.c Change tree op members/typedefs to rbto_compare_* from rb_compare_* 2008-06-30 20:14:09 +00:00
subr_log.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
subr_once.c
subr_optstr.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
subr_percpu.c - encrypt/decrypt offsets if DIAGNOSTIC. 2008-05-03 05:31:56 +00:00
subr_pool.c make pcg_dummy const to catch bugs earlier. 2008-08-11 02:48:42 +00:00
subr_prf2.c Move [hH][eE][xX][dD][iI][gG][iI][tT][sS](*) from subr_prf to subr_prf2 2008-09-23 22:20:24 +00:00
subr_prf.c Move [hH][eE][xX][dD][iI][gG][iI][tT][sS](*) from subr_prf to subr_prf2 2008-09-23 22:20:24 +00:00
subr_prof.c Convert all the system call entry points from: 2007-12-20 23:02:38 +00:00
subr_specificdata.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
subr_syscall_stats.c Convert to new 2 clause license 2008-04-29 06:53:00 +00:00
subr_tftproot.c Merge the socket locking patch: 2008-04-24 11:38:36 +00:00
subr_time.c Use more timespecs internally. From Alexander Shishkin and me. 2008-07-15 16:18:08 +00:00
subr_userconf.c
subr_vmem.c - simplify ASSERT_SLEEPABLE. 2008-03-17 08:27:50 +00:00
subr_workqueue.c Replace intptr_t in few places to uintptr_t. 2008-09-15 10:43:29 +00:00
subr_xcall.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
sys_aio.c Adjust and thus unify my license. 2008-05-26 17:45:51 +00:00
sys_descrip.c Replace intptr_t with uintptr_t in few more places. 2008-09-15 18:12:56 +00:00
sys_generic.c Change {ff,fd}_exclose and ff_allocated to bool. Change exclose arg to 2008-07-02 16:45:19 +00:00
sys_lwp.c Take the mutex pointer and waiters count out of sleepq_t: the values can 2008-05-26 12:08:38 +00:00
sys_module.c If autoloading a module, don't consider the current working directory. 2008-05-20 19:20:38 +00:00
sys_mqueue.c mq_open: fix confusion of FREAD/FWRITE and VREAD/VWRITE. 2008-07-02 20:06:09 +00:00
sys_pipe.c remove M_PIPE (hi rmind!) 2008-09-17 14:00:41 +00:00
sys_pmc.c Make ntp, pmc, reboot, sysarch, time syscalls MPSAFE. 2008-04-21 12:56:30 +00:00
sys_process.c Pull in a fix from wrstuden-revivesa: 2008-09-27 03:52:24 +00:00
sys_pset.c - Ensure that at least one cpu stays in the default pset, otherwise the 2008-06-22 12:59:18 +00:00
sys_sched.c - Disallow setting of affinity for zombie LWPs. 2008-07-14 01:19:37 +00:00
sys_select.c Check the result of allocation in the cases where size is passed by user. 2008-06-04 13:02:41 +00:00
sys_sig.c sigpending1: don't subtract the sigmask (!!). 2008-06-25 11:04:24 +00:00
sys_socket.c kern/38502 ifconfig wi0 hangs 2008-04-29 18:35:14 +00:00
sys_syscall.c Convert to new 2 clause license 2008-04-29 06:53:00 +00:00
syscalls.c Regen from syscalls.master rev 1.204: 2008-06-17 16:07:57 +00:00
syscalls.conf bring some stuff from time_t=64... 2008-03-22 15:11:01 +00:00
syscalls.master rumpify sys___sysctl 2008-08-01 19:32:35 +00:00
sysv_ipc.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
sysv_msg.c Fix the aligning of memory blocks again, finally... 2008-09-19 11:21:33 +00:00
sysv_sem.c Fix the aligning of memory blocks again, finally... 2008-09-19 11:21:33 +00:00
sysv_shm.c Fix the aligning of memory blocks again, finally... 2008-09-19 11:21:33 +00:00
tty_bsdpty.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
tty_conf.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
tty_ptm.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
tty_pty.c Make ioctl(FIONREAD) on the master side of a pty return the amount of 2008-09-03 16:47:34 +00:00
tty_subr.c wipe out tty buffer contents after read, to avoid keeping possibly 2008-07-16 18:27:49 +00:00
tty_tty.c Network protocol interrupts can now block on locks, so merge the globals 2008-04-24 15:35:27 +00:00
tty.c ttywrite: g/c an unused variable (cnt). 2008-08-08 07:18:03 +00:00
uipc_accf.c Convert socket options code to use a sockopt structure 2008-08-06 15:01:23 +00:00
uipc_domain.c Merge the socket locking patch: 2008-04-24 11:38:36 +00:00
uipc_mbuf2.c
uipc_mbuf.c Switch from KASSERT to CTASSERT for those asserts testing sizes of types. 2008-07-02 14:47:34 +00:00
uipc_proto.c Merge the socket locking patch: 2008-04-24 11:38:36 +00:00
uipc_sem.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
uipc_socket2.c Add accept filters, ported from FreeBSD by Coyote Point Systems. Add inetd 2008-08-04 03:55:47 +00:00
uipc_socket.c Convert socket options code to use a sockopt structure 2008-08-06 15:01:23 +00:00
uipc_syscalls.c Convert socket options code to use a sockopt structure 2008-08-06 15:01:23 +00:00
uipc_usrreq.c Convert socket options code to use a sockopt structure 2008-08-06 15:01:23 +00:00
vfs_bio.c nestiobuf_setup(): Initialize b_dev from master buffer. 2008-09-11 09:14:46 +00:00
vfs_cache.c Release vnode in cache_lookup() error branch if locking fails. 2008-08-20 15:34:59 +00:00
vfs_dirhash.c Add generic FS agnostic directory hashing support. Currently only in use by 2008-09-27 13:01:07 +00:00
vfs_getcwd.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
vfs_hooks.c Convert file systems to dynamically attach with the new module interface. 2008-05-10 02:26:09 +00:00
vfs_init.c Add generic FS agnostic directory hashing support. Currently only in use by 2008-09-27 13:01:07 +00:00
vfs_lockf.c lf_setlock: g/c dead code. 2008-08-11 02:44:28 +00:00
vfs_lookup.c Remove my development ifdefs. (hi simon!) 2008-08-20 14:06:35 +00:00
vfs_subr.c PR kern/39307 mfs will sometimes panic at umount time 2008-09-24 09:33:40 +00:00
vfs_syscalls.c Fix typo in comment. 2008-09-25 14:37:30 +00:00
vfs_trans.c Replace the fss unmount hook with a vfs_hook. 2008-09-17 14:49:25 +00:00
vfs_vnops.c Writing 0 bytes on an O_APPEND file should not affect the offset 2008-08-27 06:28:09 +00:00
vfs_wapbl.c fix a comment. 2008-08-11 02:45:27 +00:00
vfs_xattr.c getvnode -> fd_getvnode 2008-06-23 11:30:41 +00:00
vnode_if.c Remove needless white-space change that crept in through wapbl branch 2008-07-31 08:42:01 +00:00
vnode_if.sh Reduce ifdefs due to MULTIPROCESSOR slightly. 2008-05-19 17:06:02 +00:00
vnode_if.src Remove VOP_LEASE. Discussed on tech-kern. 2008-01-25 14:32:11 +00:00