|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| amd64/ | H | - | - | 162,422 | 125,826 |
| arm/ | H | - | - | 208,566 | 142,973 |
| arm64/ | H | - | - | 166,949 | 123,375 |
| bsm/ | H | - | - | 2,152 | 1,574 |
| cam/ | H | - | - | 124,460 | 92,083 |
| cddl/ | H | - | - | 104,422 | 76,979 |
| compat/ | H | - | - | 145,009 | 105,142 |
| conf/ | H | - | - | 23,242 | 21,172 |
| contrib/ | H | - | - | 6,013,052 | 4,664,870 |
| crypto/ | H | - | - | 531,603 | 464,792 |
| ddb/ | H | - | - | 9,030 | 5,988 |
| dev/ | H | - | - | 4,614,162 | 3,434,122 |
| dts/ | H | - | - | 12,301 | 10,811 |
| fs/ | H | - | - | 164,853 | 119,078 |
| gdb/ | H | - | - | 2,264 | 1,534 |
| geom/ | H | - | - | 79,370 | 62,490 |
| gnu/ | H | - | - | 29,150 | 26,230 |
| i386/ | H | - | - | 78,946 | 61,371 |
| isa/ | H | - | - | 4,141 | 2,644 |
| kern/ | H | - | - | 319,382 | 232,692 |
| kgssapi/ | H | - | - | 7,202 | 4,496 |
| libkern/ | H | - | - | 9,638 | 5,112 |
| modules/ | H | - | - | 21,836 | 12,546 |
| net/ | H | - | - | 115,341 | 78,968 |
| net80211/ | H | - | - | 66,175 | 45,297 |
| netgraph/ | H | - | - | 84,643 | 55,323 |
| netinet/ | H | - | - | 229,825 | 164,346 |
| netinet6/ | H | - | - | 44,288 | 29,311 |
| netipsec/ | H | - | - | 22,705 | 16,563 |
| netlink/ | H | - | - | 13,896 | 10,169 |
| netpfil/ | H | - | - | 144,365 | 104,599 |
| netsmb/ | H | - | - | 7,227 | 5,618 |
| nfs/ | H | - | - | 4,255 | 2,998 |
| nfsclient/ | H | - | - | 808 | 449 |
| nfsserver/ | H | - | - | 379 | 203 |
| nlm/ | H | - | - | 6,669 | 4,841 |
| ofed/ | H | - | - | 74,060 | 52,971 |
| opencrypto/ | H | - | - | 11,788 | 8,421 |
| powerpc/ | H | - | - | 112,657 | 76,332 |
| riscv/ | H | - | - | 39,365 | 26,135 |
| rpc/ | H | - | - | 19,741 | 12,536 |
| security/ | H | - | - | 49,646 | 34,168 |
| sys/ | H | - | - | 89,372 | 55,534 |
| teken/ | H | - | - | 3,817 | 2,810 |
| tests/ | H | - | - | 2,388 | 1,762 |
| tools/ | H | - | - | 8,007 | 5,371 |
| ufs/ | H | - | - | 45,395 | 31,257 |
| vm/ | H | - | - | 52,049 | 32,680 |
| x86/ | H | - | - | 56,872 | 40,178 |
| xdr/ | H | - | - | 1,869 | 1,130 |
| xen/ | H | - | - | 4,517 | 1,995 |
| Makefile | H A D | 09-Jul-2024 | 2 KiB | 68 | 47 |
| README.md | H A D | 18-Apr-2026 | 3.6 KiB | 78 | 71 |
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| bsm | Basic Security Module headers - `audit(4)` and `bsm(3)` |
31| cam | Common Access Method storage subsystem - `cam(4)` and `ctl(4)` |
32| cddl | CDDL-licensed optional sources such as DTrace |
33| compat | Linux compatibility layer, FreeBSD 32-bit compatibility |
34| conf | kernel build glue |
35| contrib | 3rd-party imported software such as OpenZFS |
36| crypto | crypto drivers |
37| ddb | interactive kernel debugger - `ddb(4)` |
38| dev | device drivers and other arch independent code |
39| dts | FreeBSD-specific device tree sources |
40| fs | most filesystems, excluding UFS, NFS, and ZFS |
41| gdb | kernel remote GDB stub - `gdb(4)` |
42| geom | GEOM framework - `geom(4)` |
43| gnu | GPL-licensed sources |
44| i386 | i386 (32-bit x86) architecture support |
45| isa | PC ISA bus implementation |
46| kern | main part of the kernel |
47| kgssapi | kernel-space GSSAPI implementation |
48| libkern | libc-like and other support functions for kernel use |
49| modules | kernel module infrastructure |
50| net | core networking code |
51| net80211 | wireless networking (IEEE 802.11) - `net80211(4)` |
52| netgraph | graph-based networking subsystem - `netgraph(4)` |
53| netinet | IPv4 protocol implementation - `inet(4)` |
54| netinet6 | IPv6 protocol implementation - `inet6(4)` |
55| netipsec | IPsec protocol implementation - `ipsec(4)` |
56| netlink | kernel network configuration protocol - `netlink(4)` |
57| netpfil | packet filters - `ipfw(4)`, `pf(4)`, and `ipfilter(4)` |
58| netsmb | Server Message Block protocol implementation |
59| nfs | common code and headers for Network File System |
60| nfsclient | NFS client implementation for mounting and stats |
61| nfsserver | NFS server implementation for exporting local filesystems to network |
62| nlm | Network Lock Management protocol implementation |
63| ofed | OpenFabrics Enterprise Distribution implementation |
64| opencrypto | OpenCrypto framework - `crypto(7)` |
65| powerpc | PowerPC/POWER (32 and 64-bit) architecture support |
66| riscv | 64-bit RISC-V architecture support |
67| rpc | Open Network Computing Remote Procedure Call implementation - `rpc(3)` |
68| security | security facilities - `audit(4)` and `mac(4)` |
69| sys | kernel headers |
70| teken | terminal emulation interface implementation - `teken(3)` |
71| tests | kernel unit tests |
72| tools | kernel build scripts and utilities |
73| ufs | Unix File System - `ffs(4)` |
74| vm | virtual memory system |
75| x86 | code shared by AMD64 and i386 architectures |
76| xdr | External Data Representation implementation - `xdr(3)` |
77| xen | Xen hypervisor support - `xen(4)` |
78