NetBSD/sys/kern
he 5379ae9cd8 Use the same style for initialization of pool_allocator_kmem under
POOL_SUBPAGE as all the other poll_allocator structs.  Fixes build
problem for acorn26.
2012-01-29 20:20:18 +00:00
..
Make.tags.inc Exclude drm sources from tags computation. 2011-01-21 23:23:44 +00:00
Makefile Add a target, subr_vmem, for building the vmem(9) test program. 2011-09-02 22:15:16 +00:00
bufq_disksort.c
bufq_fcfs.c
bufq_priocscan.c Move an assertion to the right place. 2011-11-07 08:44:16 +00:00
bufq_readprio.c
cnmagic.c Apply the better patch in the PR. 2011-11-19 17:34:41 +00:00
core_elf32.c extending vmem(9) to be able to allocated resources for it's own needs. 2012-01-27 19:48:38 +00:00
core_elf64.c
core_netbsd.c udpate license clauses on my code to match the new-style BSD licenses. 2011-02-02 20:07:25 +00:00
exec_aout.c - Replace few malloc(9) uses with kmem(9). 2011-04-24 18:46:22 +00:00
exec_ecoff.c - Replace few malloc(9) uses with kmem(9). 2011-04-24 18:46:22 +00:00
exec_elf.c First step of random number subsystem rework described in 2011-11-19 22:51:18 +00:00
exec_elf32.c
exec_elf64.c
exec_script.c Introduce struct pathbuf. This is an abstraction to hold a pathname 2010-11-19 06:44:33 +00:00
exec_subr.c Bounds process's stack size with max_stack_size so that 32bit 2011-08-08 06:30:43 +00:00
genlintstub.awk
init_main.c Use and define ALIGN() ALIGN_POINTER() and STACK_ALIGN() consistently, 2012-01-24 20:03:36 +00:00
init_sysctl.c Separate /dev/random pseudodevice implemenation from kernel entropy pool 2011-12-17 20:05:38 +00:00
init_sysctl_base.c Chop init_sysctl into base nodes (init_sysctl_base.c) and the 2009-09-16 15:03:56 +00:00
init_sysent.c regen 2011-08-17 07:26:16 +00:00
kern_acct.c Make sure that we initialize all accounting bytes. 2011-09-03 14:09:03 +00:00
kern_auth.c Implement the register/deregister/evaluation API for secmodel(9). It 2011-12-04 19:24:58 +00:00
kern_cctr.c
kern_cfglock.c Define a set of new kernel locking primitives to implement the recursive 2010-08-21 13:17:31 +00:00
kern_clock.c Back out previous; this should not be done in statclock but when the 2011-10-30 01:57:40 +00:00
kern_condvar.c These don't need uvm/uvm_extern.h. 2011-07-27 14:35:33 +00:00
kern_core.c Don't dump core on an existing core file we don't own. From OpenBSD, suggested 2011-09-24 22:53:50 +00:00
kern_cpu.c fix secmodel implementation of CPU_UCODE. 2012-01-17 10:47:26 +00:00
kern_ctf.c DTrace: Fix several bugs where the mod_ctf_get() function could return 2010-05-03 09:51:36 +00:00
kern_descrip.c As discussed in tech-kern, provide the means to prevent delivery of SIGPIPE 2012-01-25 00:28:35 +00:00
kern_drvctl.c NULL does not need a cast 2011-08-31 18:31:02 +00:00
kern_event.c As discussed in tech-kern, provide the means to prevent delivery of SIGPIPE 2012-01-25 00:28:35 +00:00
kern_exec.c Add a macro to align the length of the stack, not the pointer itself, since 2012-01-25 18:26:26 +00:00
kern_exit.c mark exit_psignal() as __noclone to work around a gcc 4.5 bug on arm. 2011-10-09 20:30:37 +00:00
kern_fileassoc.c fileassoc_file_delete: pre-check whether fileassoc was used and thus avoid 2012-01-22 03:48:51 +00:00
kern_fork.c Add support for PTRACE_FORK. NB: This does not (yet) work for vfork(), because: 2011-09-02 20:06:29 +00:00
kern_history.c move and rename the uvm history code out of uvm_stat to "kernhist". 2011-05-17 04:18:05 +00:00
kern_hook.c Add critpoll (critical polling) hooks. These are keep things like watchdogs 2010-12-11 22:27:53 +00:00
kern_idle.c Include internal definitions (uvm/uvm.h) only where necessary. 2011-01-17 07:13:31 +00:00
kern_ksyms.c close the comment, there is a draft. 2011-12-05 21:30:48 +00:00
kern_kthread.c Avoid crashing when we do not explictly pass down a CPU when creating 2011-11-01 15:39:37 +00:00
kern_ktrace.c Avoid panic on DIAGNOSTIC kernels with ktrace -p <not-existing-process> 2011-12-30 20:33:04 +00:00
kern_lock.c add KERNEL_LOCKED_P() macro 2011-11-27 03:24:00 +00:00
kern_lwp.c In lwp_create, copy l_sigstk from the template. Previously sigaltstack wasn't 2011-12-15 00:05:18 +00:00
kern_malloc.c - Instead of kmem_cache_max, calculate max index and avoid a shift. 2012-01-28 23:09:06 +00:00
kern_malloc_debug.c Allocate a color compatible page to the VA we are going to use. 2011-09-01 18:29:29 +00:00
kern_malloc_stdtype.c Remove M_IOV (missed in previous commit) and M_1394DATA types. 2010-04-23 19:09:15 +00:00
kern_module.c Implement the register/deregister/evaluation API for secmodel(9). It 2011-12-04 19:24:58 +00:00
kern_module_vfs.c - don't if then else the same thing. print a more meaningful message 2011-09-14 12:30:20 +00:00
kern_mutex.c G/C unused MUTEX_COUNT_BIAS (it was for VAX) 2011-04-11 19:11:08 +00:00
kern_mutex_obj.c Modify *ASSERTMSG() so they are now used as variadic macros. The main goal 2011-09-27 01:02:33 +00:00
kern_ntptime.c _KERNEL_OPT 2010-04-13 22:46:10 +00:00
kern_pax.c First step of random number subsystem rework described in 2011-11-19 22:51:18 +00:00
kern_physio.c Make vmapbuf() return success/error and make physio deal with a 2011-02-10 14:46:44 +00:00
kern_pmf.c Don't directly call sys_sync() from random bits of code, instead 2011-06-05 09:04:22 +00:00
kern_proc.c Sprinkle __cacheline_aligned and __read_mostly, also const-ify. 2011-05-13 22:22:03 +00:00
kern_prot.c Simplify previous: the original code was mostly correct but relied on 2011-04-27 06:22:11 +00:00
kern_ras.c
kern_rate.c
kern_resource.c assertion 2011-12-02 12:33:12 +00:00
kern_runq.c comments 2011-12-02 12:31:03 +00:00
kern_rwlock.c Optimise mutex_onproc() and rw_onproc() by making them O(1), instead 2011-03-20 23:19:16 +00:00
kern_rwlock_obj.c Sprinkle __cacheline_aligned and __read_mostly. 2011-05-13 22:16:43 +00:00
kern_sdt.c DTrace: Add an SDT (Statically Defined Tracing) provider framework, and 2010-03-01 21:10:13 +00:00
kern_sig.c Fix sigactsunshare() to do what the manpage and the commit tells it to do! 2011-09-16 22:07:17 +00:00
kern_sleepq.c Remove obsolete ltsleep(9) and wakeup_one(9). 2012-01-28 12:22:33 +00:00
kern_softint.c Modify *ASSERTMSG() so they are now used as variadic macros. The main goal 2011-09-27 01:02:33 +00:00
kern_ssp.c First step of random number subsystem rework described in 2011-11-19 22:51:18 +00:00
kern_stub.c Add stub implementations of bus_dma_tag_create()/bus_dma_tag_destroy(). 2011-08-31 20:09:57 +00:00
kern_subr.c ifdef unused variable with -UPTRACE 2011-09-19 23:54:29 +00:00
kern_synch.c Remove obsolete ltsleep(9) and wakeup_one(9). 2012-01-28 12:22:33 +00:00
kern_syscall.c Update the rest of the kernel to conform to the module subsystem's new 2010-08-21 13:19:39 +00:00
kern_sysctl.c First step of random number subsystem rework described in 2011-11-19 22:51:18 +00:00
kern_tc.c _KERNEL_OPT 2010-04-13 22:46:10 +00:00
kern_time.c Fix monotonic interval timers. 2011-12-18 22:30:25 +00:00
kern_timeout.c - Fix a few possible locking issues in execve1() and exit1(). Add a note 2010-12-18 01:36:19 +00:00
kern_todr.c Remove clause 3 (UCB advertising clause) from the University of Utah 2011-02-08 20:20:06 +00:00
kern_turnstile.c move priority inheritance code to separate functions 2011-12-02 12:31:53 +00:00
kern_uidinfo.c
kern_uuid.c First step of random number subsystem rework described in 2011-11-19 22:51:18 +00:00
kern_verifiedexec.c Fix locking against self in veriexec_fp_calc(). 2011-11-20 10:32:33 +00:00
kern_xxx.c Print syscall name on syscall exit (when using SYSCALL_DEBUG). 2011-09-01 18:25:44 +00:00
kgdb_stub.c Clean up excessive #ifdef'age of NMI trap handling for amd64/i386/xen. 2011-04-03 22:29:25 +00:00
makesyscalls.sh * Arrange for interfaces that create new file descriptors to be able to 2011-06-26 16:42:39 +00:00
sched_4bsd.c update a comment 2011-12-02 12:29:35 +00:00
sched_m2.c This is no place to attach the primary cpu. Things go wrong from here because 2011-09-16 01:03:52 +00:00
subr_autoconf.c Include autoconfig info interface-attributes, locators) in device property 2012-01-16 19:42:40 +00:00
subr_blist.c - Replace few malloc(9) uses with kmem(9). 2011-04-24 18:46:22 +00:00
subr_bufq.c Provide unwind log for bufq sysctls, since (theoretically) bufq might 2009-09-17 09:54:27 +00:00
subr_callback.c Add assert that ce->ce_func is not NULL. 2009-11-24 20:11:50 +00:00
subr_copy.c Split uiomove() and high-level copy routines out of the crowded 2009-11-04 16:54:00 +00:00
subr_cprng.c Separate /dev/random pseudodevice implemenation from kernel entropy pool 2011-12-17 20:05:38 +00:00
subr_cpufreq.c Revert the revision 1.5 in cpufreq(9). Instead, document that the KPI can 2011-10-27 05:25:07 +00:00
subr_debug.c
subr_device.c Device accessors are only marginally related to autoconf, so put them 2010-01-31 15:10:11 +00:00
subr_devsw.c implement bdev_size(9) wrapper around d_psize() routine, so we can take 2011-12-12 19:03:07 +00:00
subr_disk.c add some (uint64_t) casts so avoid 32 bit overflows. this fixes my 2010-10-14 00:47:16 +00:00
subr_disk_mbr.c dependant -> dependent 2011-06-30 20:09:15 +00:00
subr_disk_open.c Revert "stopcap fix" for rump by christos, which causes build failure on 2011-11-27 00:38:12 +00:00
subr_evcnt.c Modify *ASSERTMSG() so they are now used as variadic macros. The main goal 2011-09-27 01:02:33 +00:00
subr_exec_fd.c kern/42030 - tracking of file descriptors by ktrace/kdump 2011-06-01 21:24:59 +00:00
subr_extent.c remove left over macro after kmem_map is gone 2012-01-29 11:14:49 +00:00
subr_hash.c PR/45736: Michael van Elst: setting kern.maxvnodes may lock up 2011-12-25 02:23:09 +00:00
subr_humanize.c Give humanize_number & format_bytes their own spots in the sun and move 2009-10-02 15:48:41 +00:00
subr_iostat.c Create CTL_HW before creating nodes on top of it (sysctl constructors 2009-11-30 11:28:35 +00:00
subr_kcpuset.c - Add kcpuset_isotherset() and kcpuset_countset(). 2012-01-29 19:08:26 +00:00
subr_kmem.c - Instead of kmem_cache_max, calculate max index and avoid a shift. 2012-01-28 23:09:06 +00:00
subr_kobj.c Always provide a meaningful short name for the kobj in the error message, 2011-08-13 21:04:05 +00:00
subr_kobj_vfs.c Always provide a meaningful short name for the kobj in the error message, 2011-08-13 21:04:05 +00:00
subr_lockdebug.c try to fill ld_locked/ld_unlocked for shared acquisition of lock 2011-07-26 13:07:20 +00:00
subr_log.c
subr_lwp_specificdata.c void police! 2010-04-12 23:09:28 +00:00
subr_once.c
subr_optstr.c
subr_pcq.c Replace pcq(9) with the implementation from ad@ and minor changes by me. 2012-01-22 02:55:47 +00:00
subr_pcu.c Modify *ASSERTMSG() so they are now used as variadic macros. The main goal 2011-09-27 01:02:33 +00:00
subr_percpu.c extending vmem(9) to be able to allocated resources for it's own needs. 2012-01-27 19:48:38 +00:00
subr_pool.c Use the same style for initialization of pool_allocator_kmem under 2012-01-29 20:20:18 +00:00
subr_prf.c - fixed signed/unsigned comparison 2011-11-24 01:45:39 +00:00
subr_prof.c Replace few USER_TO_UAREA/UAREA_TO_USER uses, reduce sys/user.h inclusions. 2009-12-17 01:25:10 +00:00
subr_pserialize.c - Add an argument to kcpuset_create() for zeroing. 2011-08-07 21:38:32 +00:00
subr_specificdata.c
subr_spldebug.c MAXCPUS -> maxcpus 2010-04-25 11:49:22 +00:00
subr_syscall_stats.c
subr_tftproot.c Back out previous change: do not skip the test on rootspec, but make it 2009-08-23 12:10:50 +00:00
subr_time.c Fix monotonic interval timers. 2011-12-18 22:30:25 +00:00
subr_userconf.c modify parsing of device names so that it can deal with names which 2011-08-01 10:33:26 +00:00
subr_vmem.c - vmem_xalloc: remove call to uvm_kick_pdaemon() as it is not right. 2012-01-29 17:27:37 +00:00
subr_workqueue.c Turn a workqueue(9) name into an array in the struct workqueue, rather 2011-10-23 21:41:23 +00:00
subr_xcall.c Sprinkle __cacheline_aligned and __read_mostly. 2011-05-13 22:16:43 +00:00
sys_aio.c Remove curproc == NULL test. 2011-02-17 19:02:50 +00:00
sys_descrip.c Add locking, requested by yamt. Note that locking is not used everywhere 2012-01-25 14:04:09 +00:00
sys_generic.c As discussed in tech-kern, provide the means to prevent delivery of SIGPIPE 2012-01-25 00:28:35 +00:00
sys_lwp.c many changes for COMPAT_LINUX: 2010-07-07 01:30:32 +00:00
sys_module.c avoid some uninitialised variable warnings. 2011-07-08 09:32:45 +00:00
sys_mqueue.c Add missing <sys/atomic.h> include. 2011-04-25 11:39:42 +00:00
sys_pipe.c As discussed in tech-kern, provide the means to prevent delivery of SIGPIPE 2012-01-25 00:28:35 +00:00
sys_pmc.c
sys_process.c PR# kern/45330: ptrace: signals can alter syscall return values 2011-09-06 11:22:42 +00:00
sys_pset.c Remove LW_AFFINITY flag and fix some bugs affinity mask handling. 2011-08-07 21:13:05 +00:00
sys_sched.c - Add an argument to kcpuset_create() for zeroing. 2011-08-07 21:38:32 +00:00
sys_select.c Add kern.direct_select sysctl. Default to 0 for now. 2011-08-29 00:39:16 +00:00
sys_sig.c add a copyin function for sigset so that we can use sigtimedwait1 from 2011-11-18 03:34:13 +00:00
sys_socket.c - Eliminate so_nbio and turn it into a bit SS_NBIO in so_state. 2011-12-20 23:56:28 +00:00
sys_syscall.c
syscalls.c regen 2011-08-17 07:26:16 +00:00
syscalls.conf * Arrange for interfaces that create new file descriptors to be able to 2011-06-26 16:42:39 +00:00
syscalls.master Add futimens(2) and part of utimnsat(2) 2011-08-17 07:22:33 +00:00
sysv_ipc.c
sysv_msg.c Correct sizes to pass uvm_km_free(9) in error paths. 2011-07-30 06:19:02 +00:00
sysv_sem.c Correct sizes to pass uvm_km_free(9) in error paths. 2011-07-30 06:19:02 +00:00
sysv_shm.c Add an optional pglist argument to uvm_obj_wirepages, to be 2011-08-27 09:11:52 +00:00
tty.c extract broken proc_compare. lwp compares against self. 2011-10-21 02:08:09 +00:00
tty_bsdpty.c Introduce struct pathbuf. This is an abstraction to hold a pathname 2010-11-19 06:44:33 +00:00
tty_conf.c
tty_ptm.c Clean up vnode lock operations pass 2: 2010-06-24 12:58:48 +00:00
tty_pty.c put back the cc == 0 check, because we can re-enter the loop with cc != 0 2011-09-24 04:10:03 +00:00
tty_subr.c - Introduce a sysctl to control the default tty queue size kern.tty.qsize, 2011-09-24 00:05:38 +00:00
tty_tty.c Clean up vnode lock operations pass 2: 2010-06-24 12:58:48 +00:00
uipc_accf.c Update the rest of the kernel to conform to the module subsystem's new 2010-08-21 13:19:39 +00:00
uipc_domain.c Use PR_SLOWHZ, PR_FASTHZ defines in a couple spots. 2011-10-27 21:10:55 +00:00
uipc_mbuf.c extending vmem(9) to be able to allocated resources for it's own needs. 2012-01-27 19:48:38 +00:00
uipc_mbuf2.c Miscellaneous mbuf changes: 2011-08-08 19:10:33 +00:00
uipc_proto.c Add SOCK_SEQPACKET to PL_LOCAL sockets. Based on patch from Jesse Off, 2011-05-29 03:32:46 +00:00
uipc_sem.c ksem_free: remove wrong assert. 2011-04-17 20:37:43 +00:00
uipc_socket.c extending vmem(9) to be able to allocated resources for it's own needs. 2012-01-27 19:48:38 +00:00
uipc_socket2.c - Eliminate so_nbio and turn it into a bit SS_NBIO in so_state. 2011-12-20 23:56:28 +00:00
uipc_syscalls.c revert atomics for so_options since it is a short. 2012-01-25 16:56:13 +00:00
uipc_usrreq.c * Arrange for interfaces that create new file descriptors to be able to 2011-06-26 16:42:39 +00:00
vfs_bio.c pool_page_alloc, pool_page_alloc_meta: avoid extra compare, use const. 2012-01-28 00:00:06 +00:00
vfs_cache.c Welcome to 5.99.53! Merge rmind-uvmplock branch: 2011-06-12 03:35:36 +00:00
vfs_cwd.c Support FD_CLOEXEC in rump kernels. 2011-02-15 15:54:28 +00:00
vfs_dirhash.c
vfs_getcwd.c Abolish struct componentname's cn_pnbuf. Use the path buffer in the 2010-11-30 10:29:57 +00:00
vfs_hooks.c
vfs_init.c - Add usermount_common_policy() that implements some common (everything 2009-10-05 04:20:13 +00:00
vfs_lockf.c Fix build with LOCKF_DEBUG on LP64 platforms; from Alexander Nasonov 2011-01-31 08:25:32 +00:00
vfs_lookup.c include <sys/dirent.h> to make MAXNAMLEN visible. 2011-09-27 02:10:55 +00:00
vfs_mount.c - collect the long (and sometimes incomplete) lists of basic flags into 2011-11-18 21:17:45 +00:00
vfs_quotactl.c malloc -> kmem_alloc, by request of rmind 2012-01-29 07:21:59 +00:00
vfs_subr.c Remove the extra op argument to VFS_QUOTACTL() - the op is now stored 2012-01-29 07:14:38 +00:00
vfs_syscalls.c Add vfs_quotactl() in between the syscall and VFS_QUOTACTL. Call it 2012-01-29 06:29:04 +00:00
vfs_trans.c
vfs_vnode.c Move the diagnostic check for a missing VOP_CLOSE() to the top of vrelel(). 2011-12-20 16:49:37 +00:00
vfs_vnops.c Change the vnode locking protocol of VOP_GETATTR() to request at least 2011-10-14 09:23:28 +00:00
vfs_wapbl.c replacing malloc(9) with kmem(9) 2012-01-28 18:02:56 +00:00
vfs_xattr.c for the *xattr() calls, return ENOTSUP rather than EOPNOTSUPP if 2011-11-09 18:29:28 +00:00
vnode_if.c Change VOP_BWRITE() to take a vnode as its first argument like all other 2011-07-11 08:27:37 +00:00
vnode_if.sh Change VOP_BWRITE() to take a vnode as its first argument like all other 2011-07-11 08:23:00 +00:00
vnode_if.src Change the vnode locking protocol of VOP_GETATTR() to request at least 2011-10-14 09:23:28 +00:00