|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| amd64/ | H | 05-Sep-2024 | - | 114,696 | 86,015 |
| arm/ | H | 21-Jan-2025 | - | 180,866 | 123,548 |
| arm64/ | H | 21-Jan-2025 | - | 120,082 | 87,349 |
| bsm/ | H | 21-Jan-2025 | - | 2,150 | 1,572 |
| cam/ | H | 07-Feb-2025 | - | 124,202 | 92,000 |
| cddl/ | H | 23-Dec-2020 | - | 104,820 | 77,191 |
| compat/ | H | 18-Dec-2021 | - | 119,691 | 86,616 |
| conf/ | H | 05-May-2025 | - | 17,030 | 15,145 |
| contrib/ | H | 10-Mar-2023 | - | 5,390,492 | 4,180,180 |
| crypto/ | H | 27-Nov-2023 | - | 477,065 | 418,260 |
| ddb/ | H | 05-Sep-2024 | - | 9,142 | 6,066 |
| dev/ | H | 05-May-2025 | - | 4,424,055 | 3,290,520 |
| dts/ | H | 21-Jan-2025 | - | 14,135 | 12,443 |
| fs/ | H | 20-Jun-2024 | - | 159,009 | 114,648 |
| gdb/ | H | 05-Sep-2024 | - | 2,275 | 1,544 |
| geom/ | H | 05-May-2025 | - | 76,808 | 60,769 |
| gnu/ | H | 16-Jan-2021 | - | 29,150 | 26,230 |
| i386/ | H | 05-Sep-2024 | - | 62,066 | 46,026 |
| isa/ | H | 21-Jan-2025 | - | 4,140 | 2,642 |
| kern/ | H | 06-May-2025 | - | 290,857 | 211,994 |
| kgssapi/ | H | 07-Feb-2025 | - | 6,750 | 4,138 |
| libkern/ | H | 05-May-2025 | - | 9,541 | 5,088 |
| modules/ | H | 05-May-2025 | - | 19,959 | 11,051 |
| net/ | H | 06-May-2025 | - | 108,617 | 74,020 |
| net80211/ | H | 06-May-2025 | - | 63,414 | 43,561 |
| netgraph/ | H | 05-May-2025 | - | 84,525 | 55,243 |
| netinet/ | H | 06-May-2025 | - | 220,464 | 157,588 |
| netinet6/ | H | 06-May-2025 | - | 43,570 | 28,798 |
| netipsec/ | H | 05-May-2025 | - | 22,639 | 16,513 |
| netlink/ | H | 05-May-2025 | - | 13,650 | 9,967 |
| netpfil/ | H | 31-Dec-2021 | - | 141,200 | 102,011 |
| netsmb/ | H | 07-Feb-2025 | - | 7,227 | 5,618 |
| nfs/ | H | 27-Nov-2023 | - | 4,198 | 2,954 |
| nfsclient/ | H | 27-Nov-2023 | - | 808 | 449 |
| nfsserver/ | H | 27-Nov-2023 | - | 379 | 203 |
| nlm/ | H | 07-Feb-2025 | - | 6,669 | 4,841 |
| ofed/ | H | 23-Dec-2020 | - | 74,058 | 52,970 |
| opencrypto/ | H | 07-Feb-2025 | - | 11,801 | 8,434 |
| powerpc/ | H | 23-Dec-2020 | - | 108,298 | 73,654 |
| riscv/ | H | 21-Jan-2025 | - | 34,229 | 22,298 |
| rpc/ | H | 07-Feb-2025 | - | 19,575 | 12,429 |
| security/ | H | 23-May-2024 | - | 47,404 | 32,436 |
| sys/ | H | 06-May-2025 | - | 82,731 | 51,016 |
| teken/ | H | 13-Oct-2023 | - | 3,811 | 2,807 |
| tests/ | H | 07-Feb-2025 | - | 2,345 | 1,749 |
| tools/ | H | 21-Jan-2025 | - | 7,395 | 4,972 |
| ufs/ | H | 23-Dec-2020 | - | 45,279 | 31,150 |
| vm/ | H | 05-May-2025 | - | 48,293 | 30,414 |
| x86/ | H | 23-Dec-2020 | - | 55,600 | 39,080 |
| xdr/ | H | 07-Feb-2025 | - | 1,862 | 1,129 |
| xen/ | H | 21-Jan-2025 | - | 4,528 | 1,997 |
| Makefile | HD | 05-Sep-2024 | 2 KiB | 68 | 47 |
| README.md | HD | 28-Jun-2024 | 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(4)` |
59| vm | virtual memory system |
60| x86 | code shared by AMD64 and i386 architectures |
61