Name Date Size #Lines LOC

..--

amd64/H--151,952115,736

arm/H--203,704138,927

arm64/H--154,216113,099

bsm/H--2,1501,572

cam/H--123,14191,186

cddl/H--104,78477,173

compat/H--130,05594,515

conf/H--22,65920,604

contrib/H--4,922,0233,789,247

crypto/H--477,058418,254

ddb/H--9,0476,003

dev/H--4,426,3793,296,632

dts/H--14,13512,443

fs/H--158,377114,100

gdb/H--2,2641,534

geom/H--88,03168,678

gnu/H--29,15026,230

i386/H--73,22555,812

isa/H--4,1402,642

kern/H--310,510225,976

kgssapi/H--7,9485,100

libkern/H--9,5445,091

modules/H--19,87411,033

net/H--108,30073,783

net80211/H--60,96142,176

netgraph/H--84,31655,069

netinet/H--226,767162,206

netinet6/H--43,45428,716

netipsec/H--22,53516,420

netlink/H--13,6679,916

netpfil/H--140,570101,482

netsmb/H--7,2335,624

nfs/H--4,1982,954

nfsclient/H--808449

nfsserver/H--379203

nlm/H--6,6644,837

ofed/H--74,06052,971

opencrypto/H--11,8088,438

powerpc/H--108,27873,633

riscv/H--33,92422,249

rpc/H--21,21413,571

security/H--47,94332,907

sys/H--86,34753,564

teken/H--3,8112,807

tests/H--2,3791,757

tools/H--7,0694,715

ufs/H--45,22531,119

vm/H--50,97532,078

x86/H--55,15838,833

xdr/H--1,8331,110

xen/H--4,5231,995

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