freebsd-src/sys/kern
2026-01-09 13:17:12 -07:00
..
bus_if.m bus_alloc_resource: Pass rid by value to BUS_ALLOC_RESOURCE DEVMETHOD 2025-12-09 15:00:06 -05:00
clock_if.m
coredump_vnode.c kern: abstract away the vnode coredumper to allow pluggable dumpers 2025-07-26 16:31:41 -05:00
cpufreq_if.m
device_if.m kern: fix incorrect format in device_if.m 2025-08-07 11:46:03 -04:00
firmw.S kern: Fix section name for embedded firmware blobs 2025-11-25 04:29:22 +00:00
genassym.sh Cleanup commit. Use PROGRAM instead of PROGGRAM. 2024-11-03 17:55:56 -07:00
genoffset.c
genoffset.sh
imgact_aout.c sysent: retire unused SV_IA32 2025-06-03 23:59:30 +01:00
imgact_binmisc.c man filesystems: fix more xrefs after move to s4 2024-06-27 18:32:05 -06:00
imgact_elf.c imgact_elf: Fix off-by-one in note size check 2025-12-08 13:01:57 +00:00
imgact_elf32.c
imgact_elf64.c
imgact_shell.c
init_main.c proc0_post: Clear relevant thread stats directly 2025-12-08 11:16:14 -05:00
init_sysent.c sysent: Regen for kexec_load() 2025-10-27 10:33:50 -04:00
kern_acct.c
kern_alq.c
kern_boottrace.c kern: Use proper prototype for SYSINIT functions 2025-10-13 18:12:31 +08:00
kern_clock.c clock: Add a long ticks variable, ticksl 2025-01-10 15:42:59 +00:00
kern_clocksource.c
kern_condvar.c sleepqueue: Remove kernel stack swapping support, part 10 2024-07-29 01:43:59 +00:00
kern_conf.c sys: Bump GIANT device removal to 16.0 2025-10-24 14:27:17 -04:00
kern_cons.c Reduce additional console output when muted 2024-11-29 14:38:36 -07:00
kern_context.c
kern_cpu.c newbus: replace leftover device unit wildcards 2025-06-21 05:57:45 +03:00
kern_cpuset.c domainset(9): Split domainset validation logic into a separate function 2025-07-27 18:31:48 +02:00
kern_ctf.c
kern_descrip.c file: Add a fdclose method 2025-11-16 18:20:15 +00:00
kern_devctl.c knotes: kqueue: handle copy for trivial filters 2025-10-18 08:12:37 +03:00
kern_dtrace.c
kern_dump.c kerneldump: fix incorrect SETSIZE to BIT_COPY_STORE_REL when livedump 2024-11-23 16:35:07 +00:00
kern_environment.c kenv: Sprinkle const qualifiers where appropriate 2025-09-06 00:00:04 +08:00
kern_et.c
kern_event.c kevent: Hold the knlist mutex when invoking f_event(NOTE_FORK) 2025-11-18 16:24:21 +00:00
kern_exec.c exec: Check for errors when mapping the shared object 2025-10-14 13:41:20 +00:00
kern_exit.c style(9): white space after ; and around binary operators 2025-10-16 15:02:50 -07:00
kern_fail.c machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
kern_ffclock.c
kern_fork.c proc: Fix proc_init / proc_dtor ordering issues 2025-12-14 14:16:37 +01:00
kern_hhook.c hhook: Sprinkle const qualifiers where appropriate 2024-10-01 23:28:37 +08:00
kern_idle.c racct: Fix accounting of CPU time for the system idle process 2025-05-01 14:22:25 +00:00
kern_intr.c machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
kern_jail.c jail: Don't define malloc type M_PRISON_RACCT on !RACCT 2025-12-18 15:07:00 +01:00
kern_jaildesc.c jail: Make jaildesc_ops const 2025-11-19 16:02:08 +00:00
kern_jailmeta.c jail: Use proper prototype for SYSINIT functions 2025-10-13 18:12:31 +08:00
kern_kcov.c kcov: Fix the build 2025-04-19 22:36:36 +00:00
kern_kexec.c kexec: Change shutdown handler priority 2025-12-01 11:53:00 -05:00
kern_khelp.c khelp: Sprinkle const qualifiers where appropriate 2024-10-01 23:28:37 +08:00
kern_kthread.c machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
kern_ktr.c ktr: Make debug.ktr.verbose available whenever KTR is configured 2025-04-05 16:29:44 +00:00
kern_ktrace.c kern/kern_ktrace.c: normalize includes 2025-06-03 05:47:38 +03:00
kern_linker.c linker: Avoid invoking eventhandlers on incompletely loaded files 2025-12-01 14:19:18 +00:00
kern_lock.c ddb show allchains: avoid traps and show pointers for lockmgr and sx 2025-10-02 22:47:47 -07:00
kern_lockf.c
kern_lockstat.c
kern_loginclass.c kern: RACCT: Keep process credentials alive via references 2025-11-09 14:38:14 -08:00
kern_malloc.c style(9): white space after ; and around binary operators 2025-10-16 15:02:50 -07:00
kern_mbuf.c mbuf: Allow clusters to fill an entire jumbo page. 2025-05-07 20:59:09 +02:00
kern_membarrier.c
kern_mib.c sys: Correct osreldate descriptions 2025-06-19 10:52:52 -04:00
kern_module.c
kern_mtxpool.c
kern_mutex.c mtx: rename MTX_CONTESTED to MTX_WAITERS 2025-10-06 02:19:38 +00:00
kern_ntptime.c Implement CLOCK_TAI 2025-06-12 12:25:31 -06:00
kern_osd.c osd: Constify signature of osd_register() 2024-12-16 15:42:20 +01:00
kern_physio.c proc: Remove kernel stack swapping support, part 7 2024-07-29 01:43:49 +00:00
kern_pmc.c Import the Hardware Trace (HWT) framework. 2025-07-03 15:48:34 +01:00
kern_poll.c
kern_priv.c procfs require PRIV_PROC_MEM_WRITE to write mem 2024-09-19 13:10:27 -07:00
kern_proc.c proc_dtor(): style improvements 2025-12-16 06:43:06 +02:00
kern_procctl.c Add per-process flag to disable logsigexit 2024-12-13 23:18:30 -06:00
kern_prot.c setcred(2): Fix a panic on too many groups from latest commit 2025-11-27 11:05:50 +01:00
kern_racct.c kern: racct: Remove code unused since %cpu resource computation revamp 2025-12-18 22:30:18 +01:00
kern_rangelock.c kern: Use proper prototype for SYSINIT functions 2025-10-13 18:12:31 +08:00
kern_rctl.c kern: Use proper prototype for SYSINIT functions 2025-10-13 18:12:31 +08:00
kern_resource.c kern: Introduce RLIMIT_VMM 2025-12-17 15:08:31 +01:00
kern_rmlock.c rmlock: Sprinkle const qualifiers where appropriate 2025-09-06 00:00:04 +08:00
kern_rwlock.c rwlock: Sprinkle const qualifiers where appropriate 2025-09-06 00:00:04 +08:00
kern_sdt.c sdt: Support fetching the probe sixth argument with MI machinery 2024-06-20 12:40:25 -04:00
kern_sema.c
kern_sendfile.c sendfile: if sendfile_getobj() fails jump to the function epilogue 2025-12-10 13:56:14 -08:00
kern_sharedpage.c kern_sharedpage.c: Remove an unneeded type cast 2025-10-13 18:12:31 +08:00
kern_shutdown.c machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
kern_sig.c knotes: kqueue: handle copy for trivial filters 2025-10-18 08:12:37 +03:00
kern_switch.c runq: runq_not_empty() to support racy lookups again 2025-06-19 22:42:16 -04:00
kern_sx.c ddb show allchains: avoid traps and show pointers for lockmgr and sx 2025-10-02 22:47:47 -07:00
kern_synch.c sleepqueue: Remove kernel stack swapping support, part 10 2024-07-29 01:43:59 +00:00
kern_syscalls.c kern_syscall_deregister: document syscall 0 no-op logic 2026-01-05 23:48:54 -08:00
kern_sysctl.c jail: Make prison_owns_vnet() operate on a prison instead of a ucred 2025-07-28 16:19:38 +00:00
kern_tc.c Implement CLOCK_TAI 2025-06-12 12:25:31 -06:00
kern_thr.c kern_thr_exit(): clear kASTs in advance 2025-09-09 05:51:08 +03:00
kern_thread.c kern_thread: thread_suspend_check(1) must never suspend 2025-11-11 10:54:05 +02:00
kern_time.c kern: Use proper prototype for SYSINIT functions 2025-10-13 18:12:31 +08:00
kern_timeout.c callout: provide CALLOUT_TRYLOCK flag 2024-10-24 10:14:03 -07:00
kern_tslog.c tslog: Move sysinit_tslog_shim() into kern_tslog.c 2025-09-10 22:44:36 +08:00
kern_ubsan.c machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
kern_ucoredump.c kern: add some better error messages for coredump() failures 2025-07-26 16:31:42 -05:00
kern_umtx.c Implement CLOCK_TAI 2025-06-12 12:25:31 -06:00
kern_uuid.c
kern_vnodedumper.c livedump: Silence KASAN and KMSAN when livedumping 2024-11-25 21:12:51 +00:00
kern_xxx.c
ksched.c
link_elf.c linker: Reset DMAP protections in link_elf_unload_file() 2026-01-06 20:54:10 +00:00
link_elf_obj.c linker: Reset DMAP protections in link_elf_unload_file() 2026-01-06 20:54:10 +00:00
linker_if.m
Make.tags.inc
Makefile
msi_if.m
p1003_1b.c
pic_if.m Revert "intrng: change multi-interrupt root support type to enum" 2024-10-25 16:18:40 -05:00
posix4_mib.c
sched_4bsd.c Import the Hardware Trace (HWT) framework. 2025-07-03 15:48:34 +01:00
sched_ule.c Import the Hardware Trace (HWT) framework. 2025-07-03 15:48:34 +01:00
serdev_if.m
stack_protector.c
subr_acl_nfs4.c
subr_acl_posix1e.c
subr_asan.c sanitizers: Provide wrappers for atomic_testandset_acq_long 2025-09-20 12:21:04 +00:00
subr_atomic64.c atomics: Constify loads: Fix powerpc build 2024-12-16 20:15:25 +01:00
subr_autoconf.c
subr_blist.c
subr_boot.c
subr_bufring.c
subr_bus.c device_delete_child should be destroying the child, not the dev 2026-01-09 13:17:12 -07:00
subr_bus_dma.c
subr_busdma_bounce.c busdma_bounce: Replace a SYSINIT with static initializations 2024-11-12 01:57:35 +00:00
subr_busdma_bufalloc.c
subr_capability.c vfs: Initial revision of inotify 2025-07-04 14:42:33 +00:00
subr_clock.c
subr_clockcalib.c
subr_compressor.c kern: add a compressor_format() accessor to the compresssor API 2025-07-26 16:31:42 -05:00
subr_counter.c counter(9): rate limit periods may be more than 1 second 2025-06-25 19:56:22 +02:00
subr_coverage.c
subr_csan.c atomic: Update interceptor function signatures after commit 5e9a82e898 2024-12-17 14:07:40 +00:00
subr_devmap.c subr_devmap: Implement pmap_mapdev with pmap_mapdev_attr 2025-05-15 16:09:46 +01:00
subr_devstat.c style(9): white space after ; and around binary operators 2025-10-16 15:02:50 -07:00
subr_disk.c
subr_dummy_vdso_tc.c
subr_early.c
subr_efi_map.c arm: switch to subr_efi_map.c 2025-03-03 12:12:15 -04:00
subr_epoch.c machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
subr_eventhandler.c
subr_fattime.c
subr_filter.c
subr_firmware.c proc: Remove kernel stack swapping support, part 7 2024-07-29 01:43:49 +00:00
subr_gtaskqueue.c machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
subr_hash.c
subr_hints.c
subr_intr.c machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
subr_kdb.c kdb: Fix a typo in a source code comment 2025-10-22 13:57:57 +02:00
subr_kobj.c
subr_lock.c
subr_log.c knotes: kqueue: handle copy for trivial filters 2025-10-18 08:12:37 +03:00
subr_mchain.c
subr_memdesc.c
subr_module.c riscv/stand: pass boot hart in loader metadata 2025-03-03 12:12:15 -04:00
subr_msan.c sanitizers: Provide wrappers for atomic_testandset_acq_long 2025-09-20 12:21:04 +00:00
subr_msgbuf.c
subr_param.c cred: 'kern.ngroups' tunable: Rework the comment on the initial value 2025-09-17 14:16:01 +02:00
subr_pcpu.c kern: Use proper prototype for SYSINIT functions 2025-10-13 18:12:31 +08:00
subr_pctrie.c pctrie: leave iter at root after ge_lookup failure 2025-07-10 03:14:07 -05:00
subr_physmem.c physmem: Move the ram0 device earlier in the boot 2025-02-04 12:02:00 +00:00
subr_pidctrl.c
subr_power.c sys/power: Sleep type reporting by PM backends 2025-09-26 18:03:13 +02:00
subr_prf.c printf.9: Support more than 32 bits in %b 2025-12-19 17:26:37 +01:00
subr_prng.c
subr_prof.c
subr_rangeset.c rangeset: speed up range traversal 2024-09-09 16:50:14 -05:00
subr_rman.c rman: Embed the mutex in struct rman instead of using a separate allocation 2025-12-09 10:59:30 -05:00
subr_rtc.c
subr_sbuf.c machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
subr_scanf.c machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
subr_sfbuf.c
subr_sglist.c
subr_sleepqueue.c sleepqueue: Fix the comment for sleepq_switch() 2024-11-12 01:57:24 +00:00
subr_smp.c amd64: Add cpu_stop() support to go UP after SMP 2025-10-27 10:33:49 -04:00
subr_smr.c
subr_stack.c
subr_stats.c
subr_syscall.c kern/subr_syscalls.c: declare 'traced' local variables boolean 2025-11-02 23:22:08 +02:00
subr_taskqueue.c machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
subr_terminal.c machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
subr_ticks.S linuxkpi: Introduce a properly typed jiffies 2025-04-29 13:53:40 +00:00
subr_trap.c ast: do not dereference NULL td_proc in CTR statement 2025-07-15 01:03:28 +03:00
subr_turnstile.c turnstile: Mention the lock name when panicking due to a sleeping thread 2024-08-10 15:42:35 +00:00
subr_uio.c uio: provide uioadvance() 2025-04-30 14:23:25 -07:00
subr_unit.c
subr_vmem.c vmem: Fix the gcc build 2025-12-18 13:47:29 +00:00
subr_witness.c ip6: Add explicit lock order information to catch LOR 2025-12-06 19:58:46 +00:00
sys_capability.c sys_capability.c: update the source of CAPENABLED 2024-10-22 19:44:41 +01:00
sys_eventfd.c knotes: kqueue: handle copy for trivial filters 2025-10-18 08:12:37 +03:00
sys_generic.c exterr: add exterr_db_print(), to be used by several ddb dumpers 2025-11-05 00:55:20 +02:00
sys_getrandom.c
sys_pipe.c knotes: kqueue: handle copy for trivial filters 2025-10-18 08:12:37 +03:00
sys_procdesc.c knotes: kqueue: handle copy for trivial filters 2025-10-18 08:12:37 +03:00
sys_process.c kern: send parent a SIGCHLD when the debugger has detached 2025-06-19 10:32:04 -05:00
sys_socket.c file: Add a fdclose method 2025-11-16 18:20:15 +00:00
sys_timerfd.c timerfd_read(): stop setting td_rtcgen 2025-08-10 01:04:50 +03:00
syscalls.c sysent: Regen for kexec_load() 2025-10-27 10:33:50 -04:00
syscalls.conf syscalls: normalize _exit(2) declerations 2025-08-08 10:30:16 +01:00
syscalls.master kern: Introduce kexec system feature (MI) 2025-10-27 10:33:50 -04:00
systrace_args.c sysent: Regen for kexec_load() 2025-10-27 10:33:50 -04:00
sysv_ipc.c sysvshm: add shmobjinfo() function to find key/seq of the segment backed by obj 2024-10-07 11:22:12 +03:00
sysv_msg.c kern: add kern_nosys() and use it instead of type-punning the sys_nosys() arg 2025-07-07 00:14:14 +03:00
sysv_sem.c kern: add kern_nosys() and use it instead of type-punning the sys_nosys() arg 2025-07-07 00:14:14 +03:00
sysv_shm.c kern: add kern_nosys() and use it instead of type-punning the sys_nosys() arg 2025-07-07 00:14:14 +03:00
tty.c tty(4): Consistently use ISO C99 bool 2026-01-08 02:20:54 +01:00
tty_compat.c
tty_info.c thread: Remove kernel stack swapping support, part 4 2024-07-29 01:40:22 +00:00
tty_inq.c
tty_outq.c
tty_pts.c knotes: kqueue: handle copy for trivial filters 2025-10-18 08:12:37 +03:00
tty_tty.c
tty_ttydisc.c
uipc_accf.c
uipc_debug.c net: attach IPv4 and IPv6 stacks to an interface with EVENTHANDLER(9) 2025-12-18 11:15:53 -08:00
uipc_domain.c sendfile: factor out socket send buffer space sensing into a method 2025-04-30 14:17:35 -07:00
uipc_ktls.c ktls: Capture initial tls seqno at time offload is initiated 2025-12-21 09:45:25 -05:00
uipc_mbuf.c mbufs: let mc_get() and mc_uiotomc() return a consistent mc when failed 2025-04-29 22:31:41 -07:00
uipc_mbuf2.c
uipc_mbufhash.c
uipc_mqueue.c file: Add a fdclose method 2025-11-16 18:20:15 +00:00
uipc_sem.c file: Qualify pointers to capsicum rights as const 2025-05-20 20:19:30 +00:00
uipc_shm.c kern: Allow O_CLOFORK to be passed to shm_open(2) 2025-08-12 21:45:24 +00:00
uipc_sockbuf.c sendfile: retire M_BLOCKED 2025-07-25 13:06:28 -07:00
uipc_socket.c socket: Fix the name of a parameter in a comment 2025-12-14 15:47:38 +00:00
uipc_syscalls.c socket: Add SOCK_CLOFORK flag 2025-07-06 23:08:24 +00:00
uipc_usrreq.c file: Add a fdclose method 2025-11-16 18:20:15 +00:00
vfs_acl.c file: Add a fd flag with O_RESOLVE_BENEATH semantics 2025-06-24 21:04:18 +00:00
vfs_aio.c aio: fix alignment of struct (o)aiocb32 on non-amd64 2025-11-14 01:56:12 +01:00
vfs_bio.c exterr: print exterr for struct buf and bio in ddb show commands 2025-11-05 00:55:20 +02:00
vfs_cache.c cache: avoid hardcoded CACHE_PATH_CUTOFF 2026-01-09 14:15:43 +00:00
vfs_cluster.c vfs_cluster.c: Do not propagate VOP_BMAP errors to the caller 2025-10-22 19:59:21 +03:00
vfs_default.c unionfs: Implement VOP_GETLOWVNODE 2025-12-12 00:32:05 -06:00
vfs_export.c kern: rename crsetgroups_fallback, document it in ucred(9) 2025-07-31 19:50:48 -05:00
vfs_extattr.c file: Add a fd flag with O_RESOLVE_BENEATH semantics 2025-06-24 21:04:18 +00:00
vfs_hash.c
vfs_init.c vfs: handle vfs_init() failures 2025-09-03 21:08:51 -05:00
vfs_inotify.c inotify: Avoid resetting the cookie 2025-12-22 14:47:27 +00:00
vfs_lookup.c vfs: retire the VREF macro 2025-09-27 04:00:59 +00:00
vfs_mount.c vfs: make vfscount refcounting handle possible kld unload 2025-08-28 18:21:54 +03:00
vfs_mountroot.c vfs: retire the NULLVP macro 2025-09-27 04:00:59 +00:00
vfs_subr.c Revert "vnode: Rework vput() to avoid holding the vnode lock after decrementing" 2025-11-15 02:30:34 +00:00
vfs_syscalls.c vfs: Let prison_enforce_statfs zero the fsid 2025-12-14 14:16:37 +01:00
vfs_vnops.c vfs offset: fix assertion failure in face of racing ffofset and setfl locking 2025-10-05 21:21:34 +00:00
vnode_if.src vnode_if.src: fix function name in locking annotation 2025-12-12 00:31:55 -06:00