NetBSD/sys/kern
mlelstv 38ae6e1dbc If a specified root device does not exist when the kernel tries to
mount the root filesystem, retry for up to ROOT_WAITTIME (20) seconds.
This helps for root on hot-plug devices like USB disks.
2023-01-19 07:40:58 +00:00
..
Make.tags.inc
Makefile
bufq_disksort.c
bufq_fcfs.c
bufq_priocscan.c
bufq_readprio.c
cnmagic.c
compat_stub.c
core_elf32.c
core_elf64.c
core_netbsd.c
device_calls
exec_aout.c
exec_ecoff.c
exec_elf.c kern/exec_elf.c: Get emul_netbsd from sys/proc.h. 2022-10-26 23:20:36 +00:00
exec_elf32.c
exec_elf64.c
exec_script.c
exec_subr.c
files.kern
gendevcalls.awk
genlintstub.awk
init_main.c kern/init_main.c: Get extern lwp0 from sys/lwp.h. 2022-10-26 23:20:47 +00:00
init_sysctl.c
init_sysctl_base.c
init_sysent.c
kern_acct.c
kern_auth.c sys: Use membar_release/acquire around reference drop. 2022-04-09 23:38:31 +00:00
kern_cctr.c
kern_cfglock.c
kern_clock.c kern: Delete kernel_ticks from kernel ABI. 2022-03-19 14:34:47 +00:00
kern_condvar.c sleepq(9): Pass syncobj through to sleepq_block. 2022-06-29 22:27:01 +00:00
kern_core.c avoid a GCC warning (happens on -current, -9, and -8.) 2022-09-10 07:30:41 +00:00
kern_cpu.c
kern_crashme.c crashme(9): Clarify description of kernel_lock_spinout. 2022-09-22 14:39:24 +00:00
kern_ctf.c
kern_descrip.c
kern_drvctl.c driver(9): devsw_detach never fails. Make it return void. 2022-03-28 12:33:20 +00:00
kern_entropy.c entropy: Don't disclose stack garbage in kern.entropy sysctls. 2022-08-05 23:43:46 +00:00
kern_event.c kern_event.c: Mark KASSERT-only static function as __diagused. 2022-07-24 19:23:44 +00:00
kern_exec.c posix_spawn(2): Plug leak in proc_alloc error branch. 2022-07-01 01:05:31 +00:00
kern_exit.c
kern_fileassoc.c
kern_fork.c Uglify code to fix build. 2022-07-01 09:54:36 +00:00
kern_history.c
kern_hook.c kern/kern_hook.c: Get exec_lock from sys/exec.h. 2022-10-26 23:21:06 +00:00
kern_idle.c
kern_ksyms.c convert "ksyms: checking <symbol>" into KSYMS_DEBUG over normal DEBUG. 2022-07-15 06:40:24 +00:00
kern_ksyms_buf.c
kern_kthread.c kthread(9): Attribute uarea to caller for kmsan. 2022-09-13 09:37:49 +00:00
kern_ktrace.c ktrace(9): Zero-initialize padding for ktr_psig records. 2022-07-01 01:07:56 +00:00
kern_ktrace_vfs.c
kern_lock.c kern/kern_lock.c: We get start_init_exec from sys/kernel.h now. 2022-10-26 23:28:18 +00:00
kern_lwp.c kern: Fix comment about precondition of lwp_update_creds. 2022-07-01 01:06:04 +00:00
kern_malloc.c
kern_module.c sys/*: Get module_map consistently from sys/module.h. 2022-10-26 23:22:07 +00:00
kern_module_hook.c
kern_module_vfs.c
kern_mutex.c Simplify. Same code before and after. 2022-12-05 07:09:04 +00:00
kern_mutex_obj.c mutex(9): Properly declare _mutex_init in sys/mutex.h. 2022-10-26 23:21:19 +00:00
kern_ntptime.c sys: Put externs for time_adjtime and time_adjusted in .h files. 2022-10-26 23:23:52 +00:00
kern_pax.c kern/kern_pax.c: Get maxsmap from sys/resourcevar.h. 2022-10-26 23:22:38 +00:00
kern_physio.c physio(9): Avoid left shift of negative in alignment check. 2022-07-10 23:11:55 +00:00
kern_pmf.c kern_pmf.c: Fix whitespace, KNF, static. 2022-08-24 11:41:39 +00:00
kern_proc.c kern/exec_elf.c: Get emul_netbsd from sys/proc.h. 2022-10-26 23:20:36 +00:00
kern_prot.c
kern_ras.c rasctl(2): Avoid arithmetic overflow. 2022-08-08 22:31:45 +00:00
kern_rate.c
kern_reboot.c
kern_resource.c sys: Use membar_release/acquire around reference drop. 2022-04-09 23:38:31 +00:00
kern_runq.c
kern_rwlock.c rwlock(9): Convert to membar_acquire/release. 2022-04-09 23:46:19 +00:00
kern_rwlock_obj.c rwlock(9): Nix extern _rw_init in .c; use sys/rwlock.h. 2022-10-26 23:22:22 +00:00
kern_scdebug.c
kern_sdt.c
kern_sig.c sys: Use membar_release/acquire around reference drop. 2022-04-09 23:38:31 +00:00
kern_sleepq.c sleepq(9): Pass syncobj through to sleepq_block. 2022-06-29 22:27:01 +00:00
kern_softint.c softint(9): Sprinkle dtrace probes. 2022-10-28 21:52:02 +00:00
kern_ssp.c
kern_stub.c
kern_subr.c If a specified root device does not exist when the kernel tries to 2023-01-19 07:40:58 +00:00
kern_synch.c If no more softints are pending on this cpu, clear ci_want_resched 2022-12-05 15:47:14 +00:00
kern_syscall.c
kern_sysctl.c
kern_tc.c
kern_threadpool.c
kern_time.c sys: Put externs for time_adjtime and time_adjusted in .h files. 2022-10-26 23:23:52 +00:00
kern_timeout.c callout(9): Mark new flags local unused for non-KDTRACE_HOOKS builds. 2022-10-29 00:19:21 +00:00
kern_todr.c
kern_turnstile.c kern/kern_turnstile.c: Get turnstile0 from sys/sleeptab.h. 2022-10-26 23:27:16 +00:00
kern_uidinfo.c
kern_uuid.c
kern_veriexec.c
kgdb_stub.c kgdb(9): Use ddb/db_extern.h instead of copying extern. 2022-10-26 23:26:57 +00:00
makesyscalls.sh
sched_4bsd.c sys/sched.h: New home for extern sched_pstats_ticks in kernel. 2022-10-26 23:24:09 +00:00
sched_m2.c
subr_acl_nfs4.c
subr_acl_posix1e.c
subr_asan.c
subr_autoconf.c autoconf(9): New diagnostic to detect double-detach. 2022-09-13 09:43:33 +00:00
subr_blist.c fix various typos in comments, documentation and messages. 2022-05-31 08:43:13 +00:00
subr_bufq.c
subr_callback.c
subr_copy.c ucas(9): Convert membar_exit to membar_release. 2022-04-09 23:51:09 +00:00
subr_cprng.c cprng(9): Fix accidental 4x seed size. 2022-05-13 09:40:25 +00:00
subr_cpu.c
subr_cpufreq.c
subr_csan.c sys/atomic.h: Fix atomic_store_* on sparcv7, sparcv8. 2022-07-30 14:13:27 +00:00
subr_debug.c
subr_device.c sys: Split struct device into a private device_impl.h. 2022-03-28 12:38:57 +00:00
subr_devsw.c devsw(9): Sprinkle dtrace probes on bdevsw, cdevsw calls. 2022-10-29 10:52:36 +00:00
subr_disk.c disk(9): New function disklabel_dev_unit. 2022-03-28 12:33:59 +00:00
subr_disk_mbr.c
subr_disk_open.c
subr_disklabel.c
subr_emul.c
subr_evcnt.c
subr_exec_fd.c
subr_extent.c
subr_fault.c
subr_hash.c
subr_humanize.c
subr_interrupt.c
subr_iostat.c
subr_ipi.c ipi(9): Convert membar_exit/enter to membar_release/acquire. 2022-04-09 23:51:22 +00:00
subr_kcov.c kern/subr_kcov.c: We already get cold from sys/kernel.h. 2022-10-26 23:24:21 +00:00
subr_kcpuset.c sys: Use membar_release/acquire around reference drop. 2022-04-09 23:38:31 +00:00
subr_kmem.c re-do previous - it likely broke kmem cache init. 2022-05-30 23:36:26 +00:00
subr_kobj.c kern/subr_kobj.c: We already get module_base from sys/module.h. 2022-10-26 23:26:45 +00:00
subr_kobj_vfs.c
subr_localcount.c
subr_lockdebug.c Fix "error: cast from pointer to integer of different size" on 2022-09-02 06:01:38 +00:00
subr_log.c kern/subr_log.c: log_lock is private; make it static, not extern. 2022-10-26 23:28:30 +00:00
subr_lwp_specificdata.c
subr_msan.c ddb/db_active.h: New home for extern db_active. 2022-10-26 23:38:05 +00:00
subr_once.c
subr_optstr.c Style. NFCI. 2022-11-19 15:30:12 +00:00
subr_pcq.c
subr_pcu.c sys/pcu.h: New home for extern pcu_ops_md_defs. 2022-10-26 23:38:57 +00:00
subr_percpu.c
subr_physmap.c
subr_pool.c Use 64-bit math to calculate pool sizes. Fixes overflow errors for 2022-07-16 10:20:21 +00:00
subr_prf.c Fix (invalid) gcc uninitialised warning with i386 gcc using -Os. 2022-10-31 09:14:18 +00:00
subr_prof.c
subr_pserialize.c don't KASSERT(kpreempt_disabled()) while cold 2022-11-15 10:29:56 +00:00
subr_psref.c
subr_specificdata.c
subr_spldebug.c
subr_syscall_stats.c
subr_tftproot.c
subr_thmap.c thmap(9): Convert membar_exit to membar_release. 2022-04-09 23:51:57 +00:00
subr_time.c kern: Avoid arithmetic overflow in gettimeleft. 2022-06-28 02:04:51 +00:00
subr_userconf.c
subr_vmem.c fix various typos in comments, documentation and messages. 2022-05-31 08:43:13 +00:00
subr_workqueue.c workqueue(9): Sprinkle dtrace probes. 2022-10-29 11:41:00 +00:00
subr_xcall.c
sys_aio.c
sys_descrip.c Lock vnode for VOP_PATHCONF(). 2022-04-16 07:59:02 +00:00
sys_eventfd.c
sys_futex.c futex(9): Convert membar_enter/exit to membar_acquire/release. 2022-04-21 12:05:13 +00:00
sys_generic.c readv(2), writev(2): Avoid arithmetic overflow in bounds check. 2022-07-10 23:12:12 +00:00
sys_getrandom.c
sys_lwp.c sleepq(9): Pass syncobj through to sleepq_block. 2022-06-29 22:27:01 +00:00
sys_module.c s/build-in/built-in/ in comments. 2022-05-24 06:20:04 +00:00
sys_mqueue.c
sys_pipe.c
sys_process.c
sys_process_lwpstatus.c ptrace(PT_LWPSTATUS): Fix lid=0 case. 2022-07-10 17:47:58 +00:00
sys_pset.c
sys_ptrace.c kern/sys_ptrace.c: Nix trailing whitespace. 2022-07-10 14:07:55 +00:00
sys_ptrace_common.c
sys_sched.c
sys_select.c sleepq(9): Pass syncobj through to sleepq_block. 2022-06-29 22:27:01 +00:00
sys_sig.c s/substract/subtract/ in comments and error message. 2022-04-21 21:31:11 +00:00
sys_socket.c
sys_syscall.c Synchronize SYS_SYSCALL() with other syscall implementations and 2022-06-29 16:33:09 +00:00
sys_timerfd.c
syscalls.c
syscalls.conf
syscalls.master
syscalls_autoload.c
systrace_args.c
sysv_ipc.c Expose groupmember as kauth_cred_groupmember and use it. 2022-03-27 16:23:08 +00:00
sysv_msg.c
sysv_sem.c
sysv_shm.c
tty.c tty(9): New ttylock, ttyunlock, ttylocked functions. 2022-10-26 23:41:49 +00:00
tty_bsdpty.c
tty_conf.c
tty_ptm.c Add fd_set_exclose(). It is probably better to do this automatically in 2022-09-29 12:18:27 +00:00
tty_pty.c
tty_subr.c
tty_tty.c
uipc_accf.c
uipc_domain.c
uipc_mbuf.c Add new "kern.mbuf.nmbclusters_limit" sysctl. 2022-12-16 08:42:55 +00:00
uipc_mbufdebug.c
uipc_proto.c
uipc_sem.c
uipc_socket.c unix(4): Convert membar_exit to membar_release. 2022-04-09 23:52:22 +00:00
uipc_socket2.c ddb/db_active.h: New home for extern db_active. 2022-10-26 23:38:05 +00:00
uipc_syscalls.c sendto(2), recvfrom(2): Scrub internal struct msghdr on stack. 2022-07-01 22:30:51 +00:00
uipc_usrreq.c s/grabing/grabbing/ in comments. 2022-05-28 22:08:46 +00:00
vfs_acl.c
vfs_bio.c Revert "kern: Sprinkle biglock-slippage assertions." 2022-03-30 14:54:29 +00:00
vfs_cache.c
vfs_cwd.c sys: Use membar_release/acquire around reference drop. 2022-04-09 23:38:31 +00:00
vfs_dirhash.c Remove reference to udf_node in comment; it is FS agnostic. 2022-09-28 09:57:13 +00:00
vfs_getcwd.c
vfs_hooks.c
vfs_init.c kern/vfs_init.c: extern vfs_op_descs got rehomed in sys/vnode.h. 2022-11-18 00:10:03 +00:00
vfs_lockf.c kern/vfs_lockf.c: Parenthesize to make arithmetic match check. 2022-11-25 16:15:39 +00:00
vfs_lookup.c Use fstrans_start()/fstrans_done() to cross the mount in lookup_crossmount(). 2022-08-22 09:14:59 +00:00
vfs_mount.c Harden layered file systems usage of field "mnt_lower" against 2022-12-09 10:33:18 +00:00
vfs_quotactl.c
vfs_subr.c miscfs/deadfs/deadfs.h: New home for deadfs-related externs. 2022-10-26 23:39:43 +00:00
vfs_syscalls.c fix various typos in comments and messages. 2022-11-02 20:38:21 +00:00
vfs_trans.c Add a helper to set or clear lower mount and use it. 2022-11-04 11:20:39 +00:00
vfs_vnode.c miscfs/specfs/specdev.h: New home for extern spec_vnodeop_opv_desc. 2022-10-26 23:40:08 +00:00
vfs_vnops.c vnodeops(9): Take exclusive lock in read/seek for f_offset update. 2022-08-06 21:21:10 +00:00
vfs_wapbl.c sys: Use membar_release/acquire around reference drop. 2022-04-09 23:38:31 +00:00
vfs_xattr.c extattr(9): KNF 2022-10-25 23:22:36 +00:00
vnode_if.c Regen for: 2022-07-18 04:32:35 +00:00
vnode_if.sh miscfs/deadfs/deadfs.h: New home for deadfs-related externs. 2022-10-26 23:39:43 +00:00
vnode_if.src Make option VNODE_LOCKDEBUG more functional. 2022-05-03 08:33:59 +00:00