| 1 |
Arch |
Contains code related to hardware architecture, each of which occupies a corresponding directory, such as ARM, x86, MIPS |
| 2 |
Block |
Block device driver I/O scheduling |
| 3 |
Crypto |
Commonly used encryption and hashing algorithms, such as SHA1, AES, and some compression and CRC check algorithms, such as CRC32 |
| 4 |
Documentation |
General explanations and annotations for each part of the kernel |
| 5 |
Drivers |
Device drivers, each of which consumes a subdirectory, such as SPI, etc. |
| 6 |
Firmware |
Device firmware program provided by hardware vendor |
| 7 |
Fs |
Support for various file systems, such as EXT3, NFS |
| 8 |
Include |
header files, system-related header files are placed in the Include/linux subdirectory |
| 9 |
Init |
Kernel initialization code |
| 10 |
Ipc |
Inter-process communication code, such as shared memory, Message Queuing |
| 11 |
Kernel |
The core of the kernel, including process scheduling, timers, etc., while the rest of the platform-related code is placed in the Arch/*/kernel directory |
| 12 |
Lib |
Library File Code |
| 13 |
Mm |
Memory management code, and part of the platform-related code is placed under ARCH/*/MM |
| 14 |
Net |
Network-related code that implements a variety of common style protocols |
| 15 |
Patches |
Patch files for the kernel |
| 16 |
Samples |
Some simple kernel programming sample programs |
| 17 |
Scripts |
script files for configuring the kernel |
| 18 |
Security |
SELinux module |
| 19 |
Sound |
Audio-driven core code |
| 20 |
Tools |
Test code for some peripherals, such as TESTUSB.C |
| 21st |
Usr |
Implementation of CPIO for packaging and compression, etc. |
| 22 |
Virt |
Kernel virtual machine |