xref: /src/sys/
Name Date Size #Lines LOC

..--

amd64/H--115,99086,915

arm/H--181,389124,005

arm64/H--125,44591,513

bsm/H--2,1521,574

cam/H--124,81892,379

cddl/H--104,42376,971

compat/H--125,22990,403

conf/H--17,12115,235

contrib/H--5,964,4604,636,769

crypto/H--531,608464,798

ddb/H--9,1396,065

dev/H--4,524,0573,366,326

dts/H--12,30110,811

fs/H--161,880117,077

gdb/H--2,2751,544

geom/H--76,88160,825

gnu/H--29,15026,230

i386/H--62,14646,106

isa/H--4,1412,644

kern/H--296,764216,415

kgssapi/H--7,2524,538

libkern/H--9,6265,100

modules/H--20,61511,483

net/H--110,57975,452

net80211/H--64,70244,257

netgraph/H--84,69555,365

netinet/H--222,943159,236

netinet6/H--43,89128,972

netipsec/H--22,74616,602

netlink/H--13,76410,063

netpfil/H--144,178104,434

netsmb/H--7,2275,618

nfs/H--4,1982,954

nfsclient/H--808449

nfsserver/H--379203

nlm/H--6,6694,841

ofed/H--74,05852,970

opencrypto/H--11,7918,424

powerpc/H--107,50173,047

riscv/H--35,56423,337

rpc/H--19,72812,513

security/H--48,26733,131

sys/H--85,07552,553

teken/H--3,8172,810

tests/H--2,3551,755

tools/H--7,8785,280

ufs/H--45,26531,135

vm/H--48,57830,499

x86/H--56,93040,118

xdr/H--1,8691,130

xen/H--4,5221,997

MakefileH A D09-Jul-20242 KiB6847

README.mdH A D08-Jun-20242.7 KiB6154

README.md

1FreeBSD Kernel Source:
2----------------------
3
4This directory contains the source files and build glue that make up the FreeBSD
5kernel and its modules, including both original and contributed software.
6
7Kernel configuration files are located in the `conf/` subdirectory of each
8architecture. `GENERIC` is the configuration used in release builds. `NOTES`
9contains documentation of all possible entries. `LINT` is a compile-only
10configuration used to maximize build coverage and detect regressions.
11
12Documentation:
13--------------
14
15Source code documentation is maintained in a set of man pages, under section 9.
16These pages are located in [`share/man/man9`](../share/man/man9), from the
17top-level of the src tree. Consult [`intro(9)`](https://man.freebsd.org/intro/9)
18for an overview of existing pages.
19
20Some additional high-level documentation of the kernel is maintained in the
21[Architecture Handbook](https://docs.freebsd.org/en/books/arch-handbook/).
22
23Source Roadmap:
24---------------
25| Directory | Description |
26| --------- | ----------- |
27| amd64 | AMD64 (64-bit x86) architecture support |
28| arm | 32-bit ARM architecture support |
29| arm64 | 64-bit ARM (AArch64) architecture support |
30| cam | Common Access Method storage subsystem - `cam(4)` and `ctl(4)` |
31| cddl | CDDL-licensed optional sources such as DTrace |
32| conf | kernel build glue |
33| compat | Linux compatibility layer, FreeBSD 32-bit compatibility |
34| contrib | 3rd-party imported software such as OpenZFS |
35| crypto | crypto drivers |
36| ddb | interactive kernel debugger - `ddb(4)` |
37| fs | most filesystems, excluding UFS, NFS, and ZFS |
38| dev | device drivers and other arch independent code |
39| gdb | kernel remote GDB stub - `gdb(4)` |
40| geom | GEOM framework - `geom(4)` |
41| i386 | i386 (32-bit x86) architecture support |
42| kern | main part of the kernel |
43| libkern | libc-like and other support functions for kernel use |
44| modules | kernel module infrastructure |
45| net | core networking code |
46| net80211 | wireless networking (IEEE 802.11) - `net80211(4)` |
47| netgraph | graph-based networking subsystem - `netgraph(4)` |
48| netinet | IPv4 protocol implementation - `inet(4)` |
49| netinet6 | IPv6 protocol implementation - `inet6(4)` |
50| netipsec | IPsec protocol implementation - `ipsec(4)` |
51| netpfil | packet filters - `ipfw(4)`, `pf(4)`, and `ipfilter(4)` |
52| opencrypto | OpenCrypto framework - `crypto(7)` |
53| powerpc | PowerPC/POWER (32 and 64-bit) architecture support |
54| riscv | 64-bit RISC-V architecture support |
55| security | security facilities - `audit(4)` and `mac(4)` |
56| sys | kernel headers |
57| tests | kernel unit tests |
58| ufs | Unix File System - `ffs(4)` |
59| vm | virtual memory system |
60| x86 | code shared by AMD64 and i386 architectures |
61