|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| amd64/ | H | 05-Sep-2024 | - | 116,848 | 87,519 |
| arm/ | H | 05-Sep-2024 | - | 222,201 | 155,244 |
| arm64/ | H | 05-Sep-2024 | - | 102,071 | 74,530 |
| bsm/ | H | 05-Sep-2024 | - | 2,147 | 1,569 |
| cam/ | H | 07-Feb-2025 | - | 121,291 | 89,770 |
| cddl/ | H | 05-Sep-2024 | - | 103,320 | 76,049 |
| compat/ | H | 05-Sep-2024 | - | 137,733 | 101,093 |
| conf/ | H | 07-Feb-2025 | - | 18,195 | 16,270 |
| contrib/ | H | 05-Sep-2024 | - | 3,844,537 | 2,860,650 |
| crypto/ | H | 05-Sep-2024 | - | 303,118 | 276,379 |
| ddb/ | H | 05-Sep-2024 | - | 8,207 | 5,393 |
| dev/ | H | 05-Sep-2024 | - | 4,167,465 | 3,140,321 |
| dts/ | H | 05-Sep-2024 | - | 18,244 | 16,076 |
| fs/ | H | 05-Sep-2024 | - | 146,051 | 105,338 |
| gdb/ | H | 05-Sep-2024 | - | 2,281 | 1,538 |
| geom/ | H | 05-Sep-2024 | - | 86,578 | 67,576 |
| gnu/ | H | 05-Sep-2024 | - | 29,156 | 26,234 |
| i386/ | H | 05-Sep-2024 | - | 64,921 | 47,895 |
| isa/ | H | 07-Feb-2025 | - | 4,244 | 2,718 |
| kern/ | H | 05-May-2025 | - | 277,547 | 201,728 |
| kgssapi/ | H | 05-Sep-2024 | - | 7,859 | 5,062 |
| libkern/ | H | 05-Sep-2024 | - | 10,247 | 5,394 |
| mips/ | H | 05-Sep-2024 | - | 133,664 | 89,787 |
| modules/ | H | 05-Sep-2024 | - | 20,427 | 10,421 |
| net/ | H | 05-May-2025 | - | 109,417 | 74,265 |
| net80211/ | H | 07-Feb-2025 | - | 60,534 | 41,961 |
| netgraph/ | H | 05-May-2025 | - | 91,548 | 59,907 |
| netinet/ | H | 05-May-2025 | - | 211,769 | 150,926 |
| netinet6/ | H | 05-May-2025 | - | 44,296 | 29,276 |
| netipsec/ | H | 05-May-2025 | - | 20,286 | 14,481 |
| netlink/ | H | 05-Sep-2024 | - | 11,720 | 8,451 |
| netpfil/ | H | 05-Sep-2024 | - | 130,991 | 93,752 |
| netsmb/ | H | 07-Feb-2025 | - | 7,242 | 5,633 |
| nfs/ | H | 05-Sep-2024 | - | 4,335 | 3,030 |
| nfsclient/ | H | 05-Sep-2024 | - | 1,042 | 559 |
| nfsserver/ | H | 05-Sep-2024 | - | 647 | 307 |
| nlm/ | H | 05-Sep-2024 | - | 6,650 | 4,815 |
| ofed/ | H | 05-Sep-2024 | - | 66,021 | 47,729 |
| opencrypto/ | H | 05-Sep-2024 | - | 12,001 | 8,542 |
| powerpc/ | H | 05-Sep-2024 | - | 108,461 | 73,811 |
| riscv/ | H | 05-Sep-2024 | - | 27,043 | 17,638 |
| rpc/ | H | 07-Feb-2025 | - | 21,112 | 13,465 |
| security/ | H | 05-Sep-2024 | - | 42,946 | 29,501 |
| sys/ | H | 05-May-2025 | - | 79,315 | 48,575 |
| teken/ | H | 05-Sep-2024 | - | 3,814 | 2,807 |
| tests/ | H | 05-Sep-2024 | - | 1,970 | 1,496 |
| tools/ | H | 07-Feb-2025 | - | 5,913 | 4,107 |
| ufs/ | H | 05-Sep-2024 | - | 45,079 | 30,977 |
| vm/ | H | 05-May-2025 | - | 47,835 | 29,934 |
| x86/ | H | 05-Sep-2024 | - | 52,443 | 36,407 |
| xdr/ | H | 07-Feb-2025 | - | 1,853 | 1,130 |
| xen/ | H | 05-Sep-2024 | - | 27,979 | 10,749 |
| Makefile | HD | 05-Sep-2024 | 2.1 KiB | 72 | 50 |
| README.md | HD | 05-Sep-2024 | 2.6 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 |
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