|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 06-May-2025 | - |
| amd64/ | H | 06-May-2025 | - | 116,134 | 87,101 |
| arm/ | H | 06-May-2025 | - | 208,124 | 142,159 |
| arm64/ | H | 06-May-2025 | - | 114,345 | 83,511 |
| bsm/ | H | 06-May-2025 | - | 2,149 | 1,571 |
| cam/ | H | 06-May-2025 | - | 121,559 | 89,955 |
| cddl/ | H | 06-May-2025 | - | 104,554 | 76,999 |
| compat/ | H | 06-May-2025 | - | 115,799 | 83,791 |
| conf/ | H | 06-May-2025 | - | 16,981 | 15,132 |
| contrib/ | H | 06-May-2025 | - | 4,857,064 | 3,757,722 |
| crypto/ | H | 06-May-2025 | - | 476,908 | 418,172 |
| ddb/ | H | 06-May-2025 | - | 8,194 | 5,401 |
| dev/ | H | 06-May-2025 | - | 4,332,056 | 3,224,141 |
| dts/ | H | 06-May-2025 | - | 14,296 | 12,576 |
| fs/ | H | 06-May-2025 | - | 152,000 | 109,802 |
| gdb/ | H | 06-May-2025 | - | 2,267 | 1,537 |
| geom/ | H | 06-May-2025 | - | 88,104 | 68,751 |
| gnu/ | H | 06-May-2025 | - | 29,156 | 26,234 |
| i386/ | H | 06-May-2025 | - | 62,151 | 46,057 |
| isa/ | H | 06-May-2025 | - | 4,141 | 2,640 |
| kern/ | H | 06-May-2025 | - | 285,402 | 207,955 |
| kgssapi/ | H | 06-May-2025 | - | 7,975 | 5,127 |
| libkern/ | H | 06-May-2025 | - | 9,621 | 5,157 |
| modules/ | H | 06-May-2025 | - | 20,964 | 10,902 |
| net/ | H | 06-May-2025 | - | 107,158 | 72,851 |
| net80211/ | H | 06-May-2025 | - | 60,505 | 41,926 |
| netgraph/ | H | 06-May-2025 | - | 83,961 | 54,815 |
| netinet/ | H | 06-May-2025 | - | 218,160 | 155,523 |
| netinet6/ | H | 06-May-2025 | - | 43,481 | 28,729 |
| netipsec/ | H | 06-May-2025 | - | 20,563 | 14,730 |
| netlink/ | H | 06-May-2025 | - | 14,146 | 10,272 |
| netpfil/ | H | 06-May-2025 | - | 134,552 | 96,641 |
| netsmb/ | H | 06-May-2025 | - | 7,242 | 5,633 |
| nfs/ | H | 06-May-2025 | - | 4,208 | 2,955 |
| nfsclient/ | H | 06-May-2025 | - | 818 | 449 |
| nfsserver/ | H | 06-May-2025 | - | 383 | 203 |
| nlm/ | H | 06-May-2025 | - | 6,650 | 4,815 |
| ofed/ | H | 06-May-2025 | - | 74,056 | 52,964 |
| opencrypto/ | H | 06-May-2025 | - | 11,822 | 8,452 |
| powerpc/ | H | 06-May-2025 | - | 108,123 | 73,435 |
| riscv/ | H | 06-May-2025 | - | 27,307 | 17,768 |
| rpc/ | H | 06-May-2025 | - | 21,384 | 13,687 |
| security/ | H | 06-May-2025 | - | 45,050 | 30,995 |
| sys/ | H | 06-May-2025 | - | 81,568 | 50,062 |
| teken/ | H | 06-May-2025 | - | 3,814 | 2,807 |
| tests/ | H | 06-May-2025 | - | 2,662 | 1,988 |
| tools/ | H | 06-May-2025 | - | 5,967 | 4,216 |
| ufs/ | H | 06-May-2025 | - | 45,272 | 31,119 |
| vm/ | H | 06-May-2025 | - | 48,072 | 30,125 |
| x86/ | H | 06-May-2025 | - | 50,540 | 35,172 |
| xdr/ | H | 06-May-2025 | - | 1,851 | 1,128 |
| xen/ | H | 06-May-2025 | - | 4,522 | 2,005 |
| Makefile | H A D | 06-May-2025 | 2 KiB | 69 | 47 |
| README.md | H A D | 06-May-2025 | 2.7 KiB | 61 | 54 |
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(7)` |
59| vm | virtual memory system |
60| x86 | code shared by AMD64 and i386 architectures |
61