Name Date Size #Lines LOC

..Today-

amd64/H27-Nov-2023-115,90686,979

arm/H08-May-2022-192,318130,607

arm64/H06-Mar-2024-114,09183,080

bsm/H25-Aug-2023-2,1491,571

cam/H06-Mar-2024-121,26989,761

cddl/H08-May-2022-104,49076,932

compat/H08-May-2022-113,68482,602

conf/HToday-16,97115,115

contrib/H10-Mar-2023-4,900,7113,793,480

crypto/H27-Nov-2023-476,764418,083

ddb/H13-Apr-2024-9,1386,062

dev/H12-Jan-2024-4,310,5673,211,964

dts/H17-Aug-2023-14,29612,576

fs/H03-Feb-2023-151,823109,712

gdb/H13-Apr-2024-2,2771,546

geom/H22-Apr-2024-87,86368,573

gnu/H08-May-2022-29,15026,230

i386/H27-Nov-2023-62,17246,112

isa/H15-Mar-2024-4,1322,635

kern/HToday-284,731207,302

kgssapi/H27-Nov-2023-7,9485,100

libkern/H27-Nov-2023-9,5435,090

modules/HToday-20,99010,921

net/H24-Apr-2024-107,55573,221

net80211/H16-Apr-2024-60,45841,890

netgraph/HToday-83,92754,821

netinet/HToday-221,374158,053

netinet6/H13-Apr-2024-43,41128,694

netipsec/H23-Apr-2024-20,77314,919

netlink/H04-Apr-2024-13,6389,886

netpfil/H08-May-2022-137,42698,956

netsmb/H27-Nov-2023-7,2395,630

nfs/H27-Nov-2023-4,1982,954

nfsclient/H27-Nov-2023-808449

nfsserver/H27-Nov-2023-379203

nlm/H27-Nov-2023-6,6644,837

ofed/H08-May-2022-74,06352,975

opencrypto/H27-Nov-2023-11,8088,438

powerpc/H08-May-2022-108,09473,499

riscv/H06-Mar-2024-27,20117,708

rpc/H13-Apr-2024-21,22613,577

security/H25-Aug-2023-45,04630,893

sys/HToday-81,43049,997

teken/H13-Oct-2023-3,8142,807

tests/H28-Jan-2024-2,3531,757

tools/H17-Apr-2024-6,0524,295

ufs/H08-May-2022-45,20131,101

vm/H23-Apr-2024-47,62329,857

x86/H08-May-2022-49,98734,774

xdr/H27-Nov-2023-1,8371,113

xen/H06-Mar-2024-4,5231,995

MakefileH A D17-Aug-20232 KiB6947

README.mdH A D04-Aug-20232.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(7)` |
59| vm | virtual memory system |
60| x86 | code shared by AMD64 and i386 architectures |
61