NetBSD/sys/kern
yamt 0994e6acb8 introduce a function, proclist_foreach_call, to iterate all procs on
a proclist and call the specified function for each of them.
primarily to fix a procfs locking problem, but i think that it's useful for
others as well.

while i'm here, introduce PROCLIST_FOREACH macro, which is similar to
LIST_FOREACH but skips marker entries which are used by proclist_foreach_call.
2004-10-01 16:30:52 +00:00
..
Make.tags.inc
Makefile
cnmagic.c
core_elf32.c There's no need to pass a proc value when using UIO_SYSSPACE with 2004-09-17 14:11:20 +00:00
core_elf64.c
core_netbsd.c There's no need to pass a proc value when using UIO_SYSSPACE with 2004-09-17 14:11:20 +00:00
exec_aout.c
exec_conf.c g/c rest of COMPAT_AOUT support 2004-09-14 17:25:37 +00:00
exec_ecoff.c
exec_elf32.c bump the number of allowed sections to 1024; e.g. SuSE 9.1 packaged 2004-08-01 22:16:19 +00:00
exec_elf64.c
exec_macho.c Recognize bundles as mach-O executables 2004-09-04 23:21:26 +00:00
exec_script.c kill sprintf, use snprintf 2004-04-21 18:40:37 +00:00
exec_subr.c There's no need to pass a proc value when using UIO_SYSSPACE with 2004-09-17 14:11:20 +00:00
genassym.awk
genassym.sh
genlintstub.awk
init_main.c introduce a function, proclist_foreach_call, to iterate all procs on 2004-10-01 16:30:52 +00:00
init_sysctl.c introduce a function, proclist_foreach_call, to iterate all procs on 2004-10-01 16:30:52 +00:00
init_sysent.c Regen from syscalls.master rev. 1.142: 2004-05-10 22:30:41 +00:00
kern_acct.c There's no need to pass a proc value when using UIO_SYSSPACE with 2004-09-17 14:11:20 +00:00
kern_clock.c Add 50Hz support -- this will allow 'options NTP' to work on the Xen port, 2004-09-15 04:56:14 +00:00
kern_descrip.c Implement mutexes for file descriptor and current working directory access. 2004-05-31 15:30:55 +00:00
kern_drvctl.c add a "drvctl" pseudo-device as userland interface to the autoconf 2004-08-18 12:19:29 +00:00
kern_event.c Initialise (most) pools from a link set instead of explicit calls 2004-04-25 16:42:40 +00:00
kern_exec.c introduce a function, proclist_foreach_call, to iterate all procs on 2004-10-01 16:30:52 +00:00
kern_exit.c introduce a function, proclist_foreach_call, to iterate all procs on 2004-10-01 16:30:52 +00:00
kern_fork.c - proc_alloc() already initializes p_stat to SIDL. 2004-09-17 23:20:21 +00:00
kern_kcont.c Initialise (most) pools from a link set instead of explicit calls 2004-04-25 16:42:40 +00:00
kern_ksyms.c
kern_kthread.c
kern_ktrace.c introduce a function, proclist_foreach_call, to iterate all procs on 2004-10-01 16:30:52 +00:00
kern_lkm.c include <sys/device> explicitely, found by Havard Eidnes 2004-08-19 15:12:36 +00:00
kern_lock.c add missing wakeups in the cases of lock failure. 2004-08-04 10:37:08 +00:00
kern_lwp.c In proc_representative_lwp, if there is an outstanding trap signal, return 2004-05-12 21:10:09 +00:00
kern_malloc.c IPv4 PIM support, based on a submission from Pavlin Radoslavov posted on 2004-09-04 23:29:44 +00:00
kern_malloc_debug.c Initialise (most) pools from a link set instead of explicit calls 2004-04-25 16:42:40 +00:00
kern_microtime.c move some per-cpu data definitions to MI place so that they can be modified 2004-09-22 11:32:02 +00:00
kern_ntptime.c Lots of sysctl descriptions (if someone wants to help out here, that 2004-04-08 06:20:29 +00:00
kern_physio.c - Nuke __P(). 2004-03-23 13:22:32 +00:00
kern_proc.c introduce a function, proclist_foreach_call, to iterate all procs on 2004-10-01 16:30:52 +00:00
kern_prot.c crcopy: no need to lock if we're only reading the structure's reference count. 2004-05-04 21:27:28 +00:00
kern_ras.c ras_fork: don't do PR_WAITOK holding a spinlock. 2004-04-01 02:37:42 +00:00
kern_resource.c introduce a function, proclist_foreach_call, to iterate all procs on 2004-10-01 16:30:52 +00:00
kern_sa.c Cast register type via intptr_t before cast to pointer. 2004-07-20 14:56:10 +00:00
kern_sig.c introduce a function, proclist_foreach_call, to iterate all procs on 2004-10-01 16:30:52 +00:00
kern_subr.c release kernel lock in uiomove(). 2004-09-23 10:45:08 +00:00
kern_synch.c introduce a function, proclist_foreach_call, to iterate all procs on 2004-10-01 16:30:52 +00:00
kern_sysctl.c In sysctl_destroyv, the newly created dnode structure must have its 2004-05-12 12:21:39 +00:00
kern_systrace.c (off_t)(long) is wrong when it comes to kernel addresses [because on a 32 bit 2004-05-26 16:28:05 +00:00
kern_time.c Fix "comments within comments" problem pointed out by Geoff Wing on 2004-04-27 05:25:33 +00:00
kern_timeout.c
kern_uuid.c Move the 16/32-bit encode/decode to/from octet stream routines from 2004-09-12 23:17:37 +00:00
kern_verifiedexec.c There's no need to pass a proc value when using UIO_SYSSPACE with 2004-09-17 14:11:20 +00:00
kern_xxx.c
kgdb_stub.c kill sprintf, use snprintf 2004-04-21 18:40:37 +00:00
makesyscalls.sh use 'have_toupper' variable for awk toupper() function existence test, rather 2004-09-12 11:24:15 +00:00
subr_autoconf.c split out the check whether a driver supports a given interface 2004-08-30 09:48:05 +00:00
subr_devsw.c
subr_disk.c Work-in-progress implementation of "wedges", a new way to represent 2004-09-25 03:30:44 +00:00
subr_disk_mbr.c
subr_evcnt.c
subr_extent.c - Nuke __P(). 2004-03-23 13:22:32 +00:00
subr_log.c
subr_pool.c Remove PR_IMMEDRELEASE, since setting the high water mark will achieve 2004-06-20 18:19:27 +00:00
subr_prf.c Implement ddb setting that allows all ddb output to be teed into the 2004-09-29 23:54:11 +00:00
subr_prof.c Lots of sysctl descriptions (if someone wants to help out here, that 2004-04-08 06:20:29 +00:00
subr_prop.c
subr_userconf.c kill sprintf, use snprintf 2004-04-21 18:40:37 +00:00
subr_xxx.c
sys_generic.c Nuke __P(). 2004-03-23 13:22:03 +00:00
sys_pipe.c PRIBIO -> PSOCK. This emulates the pre-sys_pipe behavior, and avoids including 2004-07-17 20:50:08 +00:00
sys_pmc.c
sys_process.c There's no need to pass a proc value when using UIO_SYSSPACE with 2004-09-17 14:11:20 +00:00
sys_socket.c Eliminate several uses of `curproc' from the socket-layer code and from NFS. 2004-05-22 22:52:13 +00:00
syscalls.c Regen from syscalls.master rev. 1.142: 2004-05-10 22:30:41 +00:00
syscalls.conf Replace the statfs() family of system calls with statvfs(). 2004-04-21 01:05:31 +00:00
syscalls.master POSIX-2001: Change readlink(2)'s return type from int to ssize_t. 2004-05-10 22:28:23 +00:00
sysv_ipc.c
sysv_msg.c Nuke __P(). 2004-03-23 13:22:03 +00:00
sysv_sem.c The different loop variable is no longer necessary due to recent change. 2004-08-05 22:06:48 +00:00
sysv_shm.c add flag for shmget(2) to specify that later shmat(2) for the shared memory 2004-09-28 19:05:19 +00:00
tty.c Remaining sysctl descriptions under kern subtree 2004-05-25 04:30:32 +00:00
tty_conf.c - Nuke __P(). 2004-03-23 13:22:32 +00:00
tty_pty.c ptm is now mandatory, depends on pty, and can be disabled with -DNO_DEV_PTM 2004-06-18 15:02:29 +00:00
tty_subr.c Nuke __P(). 2004-03-23 13:22:03 +00:00
tty_tb.c Nuke __P(). 2004-03-23 13:22:03 +00:00
tty_tty.c
uipc_domain.c Sysctl descriptions under net subtree (net.key not done) 2004-05-25 04:33:59 +00:00
uipc_mbuf.c Delete m_tag from a mbuf being non-pkthdr mbuf rather than newly becoming 2004-09-17 23:24:03 +00:00
uipc_mbuf2.c m_pulldown: fix mbuf leaks and chain truncation 2004-07-21 12:09:43 +00:00
uipc_proto.c Constify protosw arrays. This can reduce the kernel .data section by 2004-04-22 01:01:40 +00:00
uipc_sem.c
uipc_socket.c add a per-socket counter for dropped UDP packets when the internal buffers 2004-09-03 18:14:09 +00:00
uipc_socket2.c Rename MBUFTRACE helper function m_claim() to m_claimm(), 2004-06-24 04:15:50 +00:00
uipc_syscalls.c Eliminate several uses of `curproc' from the socket-layer code and from NFS. 2004-05-22 22:52:13 +00:00
uipc_usrreq.c add a per-socket counter for dropped UDP packets when the internal buffers 2004-09-03 18:14:09 +00:00
vfs_bio.c fix allocbuf() O(n**2) behaviour where n is number of AGE buffers 2004-09-18 16:37:12 +00:00
vfs_cache.c introduce a new function, cache_lookup_raw(), for filesystems which 2004-06-27 08:50:44 +00:00
vfs_getcwd.c There's no need to pass a proc value when using UIO_SYSSPACE with 2004-09-17 14:11:20 +00:00
vfs_init.c Nuke __P(). 2004-03-23 13:22:03 +00:00
vfs_lockf.c Initialise (most) pools from a link set instead of explicit calls 2004-04-25 16:42:40 +00:00
vfs_lookup.c There's no need to pass a proc value when using UIO_SYSSPACE with 2004-09-17 14:11:20 +00:00
vfs_subr.c Add "unmounting disks..." [unmount] " done" to vfs_unmountall(), 2004-09-22 11:47:23 +00:00
vfs_syscalls.c introduce a function, proclist_foreach_call, to iterate all procs on 2004-10-01 16:30:52 +00:00
vfs_vnops.c vn_lock: add an assertion about usecount. 2004-05-31 09:02:51 +00:00
vnode_if.c Regenerate for VNODE_LOCKDEBUG changes. 2004-09-21 03:11:53 +00:00
vnode_if.sh Add a new VNODE_LOCKDEBUG option, which enables checks in the VOP_*() 2004-09-21 03:10:35 +00:00
vnode_if.src Add a new VNODE_LOCKDEBUG option, which enables checks in the VOP_*() 2004-09-21 03:10:35 +00:00