Back to home page

OSCL-LXR

 
 

    


 
  Name Size Date (UTC) Last indexed Description
  Name Size Date (UTC) Last indexed Description
folder Parent directory - 2025-03-06 09:18:41

Linux kernel
There are several guides for kernel developers and users. These guides can be rendered in a number of formats, like HTML and PDF. Please read Documentation/admin-guide/README.rst first.
In order to build the documentation, use ``make htmldocs`` or ``make pdfdocs``. The formatted documentation can also be read online at:
https://www.kernel.org/doc/html/latest/
There are various text files in the Documentation/ subdirectory, several of them using the Restructured Text markup notation.
Please read the Documentation/process/changes.rst file, as it contains the requirements for building and running the kernel, and information about the problems which may result by upgrading your kernel.

folder bpf/ - 2025-03-06 09:18:38  
folder cgroup/ - 2025-03-06 09:18:38  
folder configs/ - 2025-03-06 09:18:38  
folder debug/ - 2025-03-06 09:18:38  
folder dma/ - 2025-03-06 09:18:38  
folder entry/ - 2025-03-06 09:18:38  
folder events/ - 2025-03-06 09:18:38  
folder futex/ - 2025-03-06 09:18:38  
folder gcov/ - 2025-03-06 09:18:38  
folder irq/ - 2025-03-06 09:18:38  
folder kcsan/ - 2025-03-06 09:18:38  
folder livepatch/ - 2025-03-06 09:18:38  
folder locking/ - 2025-03-06 09:18:38  
folder module/ - 2025-03-06 09:18:38  
folder power/ - 2025-03-06 09:18:38  
folder printk/ - 2025-03-06 09:18:38  
folder rcu/ - 2025-03-06 09:18:39  
folder sched/ - 2025-03-06 09:18:39  
folder time/ - 2025-03-06 09:18:39  
folder trace/ - 2025-03-06 09:18:39  
acct.c 16193 bytes 2025-03-06 09:18:38 2025-03-06 13:27:59  
async.c 9384 bytes 2025-03-06 09:18:38 2025-03-06 13:27:59 Asynchronous function calls for boot performance
audit.c 66353 bytes 2025-03-06 09:18:38 2025-03-06 13:28:00 Auditing support
audit.h 10998 bytes 2025-03-06 09:18:38 2025-03-06 13:28:00  
audit_fsnotify.c 5378 bytes 2025-03-06 09:18:38 2025-03-06 13:28:00 tracking inodes
audit_tree.c 26187 bytes 2025-03-06 09:18:38 2025-03-06 13:28:00  
audit_watch.c 14022 bytes 2025-03-06 09:18:38 2025-03-06 13:28:01 watching inodes
auditfilter.c 35209 bytes 2025-03-06 09:18:38 2025-03-06 13:28:01 filtering of audit events
auditsc.c 82704 bytes 2025-03-06 09:18:38 2025-03-06 13:28:01 System-call auditing support
backtracetest.c 1918 bytes 2025-03-06 09:18:38 2025-03-06 13:28:01  
bounds.c 751 bytes 2025-03-06 09:18:38 2025-03-06 13:28:01

Generate definitions needed by the preprocessor. This code generates raw asm output which is post-processed to extract and format the required data.

capability.c 15161 bytes 2025-03-06 09:18:38 2025-03-06 13:28:01  
cfi.c 8431 bytes 2025-03-06 09:18:38 2025-03-06 13:28:01  
compat.c 6979 bytes 2025-03-06 09:18:38 2025-03-06 13:28:01  
configs.c 2054 bytes 2025-03-06 09:18:38 2025-03-06 13:28:02  
context_tracking.c 23780 bytes 2025-03-06 09:18:38 2025-03-06 13:28:02  
cpu.c 67346 bytes 2025-03-06 09:18:38 2025-03-06 13:28:02

ontrol. (C) 2001, 2002, 2003, 2004 Rusty Russell This code is licenced under the GPL.

cpu_pm.c 6284 bytes 2025-03-06 09:18:38 2025-03-06 13:28:02  
crash_core.c 12962 bytes 2025-03-06 09:18:38 2025-03-06 13:28:02  
crash_dump.c 1163 bytes 2025-03-06 09:18:38 2025-03-06 13:28:02  
cred.c 24793 bytes 2025-03-06 09:18:38 2025-03-06 13:28:02  
delayacct.c 6969 bytes 2025-03-06 09:18:38 2025-03-06 13:28:02 per-task delay accounting
dma.c 3425 bytes 2025-03-06 09:18:38 2025-03-06 13:28:02 A DMA channel allocator. Inspired by linux/kernel/irq.c.
exec_domain.c 1094 bytes 2025-03-06 09:18:38 2025-03-06 13:28:02

Handling of different ABIs (personalities).

exit.c 45975 bytes 2025-03-06 09:18:38 2025-03-06 13:28:03  
extable.c 4352 bytes 2025-03-06 09:18:38 2025-03-06 13:28:03  
fail_function.c 7124 bytes 2025-03-06 09:18:38 2025-03-06 13:28:03 Function-based error injection
fork.c 81635 bytes 2025-03-06 09:18:38 2025-03-06 13:28:03

contains the help-routines for the 'fork' system call (see also entry.S and others).

freezer.c 4468 bytes 2025-03-06 09:18:38 2025-03-06 13:28:03 Function to freeze a process
gen_kheaders.sh 3191 bytes 2025-03-06 09:18:38 2025-03-06 13:28:03  
groups.c 5084 bytes 2025-03-06 09:18:38 2025-03-06 13:28:03

Supplementary group IDs

hung_task.c 9628 bytes 2025-03-06 09:18:38 2025-03-06 13:28:03 kernel thread for detecting tasks stuck in D state
iomem.c 4801 bytes 2025-03-06 09:18:38 2025-03-06 13:28:03  
irq_work.c 7636 bytes 2025-03-06 09:18:38 2025-03-06 13:28:03  
jump_label.c 20860 bytes 2025-03-06 09:18:38 2025-03-06 13:28:03  
kallsyms.c 24249 bytes 2025-03-06 09:18:38 2025-03-06 13:28:04 in-kernel printing of symbolic oopses and stack traces.
kallsyms_internal.h 858 bytes 2025-03-06 09:18:38 2025-03-06 13:28:04  
kcmp.c 5519 bytes 2025-03-06 09:18:38 2025-03-06 13:28:04  
Kconfig.freezer 92 bytes 2025-03-06 09:18:38 -  
Kconfig.hz 1709 bytes 2025-03-06 09:18:38 -  
Kconfig.locks 5043 bytes 2025-03-06 09:18:38 -  
Kconfig.preempt 4885 bytes 2025-03-06 09:18:38 -  
kcov.c 29602 bytes 2025-03-06 09:18:38 2025-03-06 13:28:04  
kexec.c 7577 bytes 2025-03-06 09:18:38 2025-03-06 13:28:04 kexec_load system call
kexec_core.c 31832 bytes 2025-03-06 09:18:38 2025-03-06 13:28:04  
kexec_elf.c 11691 bytes 2025-03-06 09:18:38 2025-03-06 13:28:04  
kexec_file.c 33145 bytes 2025-03-06 09:18:38 2025-03-06 13:28:05  
kexec_internal.h 924 bytes 2025-03-06 09:18:38 2025-03-06 13:28:05  
kheaders.c 1636 bytes 2025-03-06 09:18:38 2025-03-06 13:28:05

Provide kernel headers useful to build tracing programs such as for running eBPF tracing tools. (Borrowed code from kernel/configs.c)

kmod.c 5124 bytes 2025-03-06 09:18:38 2025-03-06 13:28:05

kmod - the kernel module loader

kprobes.c 75447 bytes 2025-03-06 09:18:38 2025-03-06 13:28:05  
ksysfs.c 6410 bytes 2025-03-06 09:18:38 2025-03-06 13:28:05 sysfs attributes in /sys/kernel, which
kthread.c 42523 bytes 2025-03-06 09:18:38 2025-03-06 13:28:06  
latencytop.c 7766 bytes 2025-03-06 09:18:38 2025-03-06 13:28:06 Latency display infrastructure
Makefile 5243 bytes 2025-03-06 09:18:38 2025-03-06 13:28:06  
module_signature.c 1116 bytes 2025-03-06 09:18:38 2025-03-06 13:28:06  
notifier.c 18330 bytes 2025-03-06 09:18:38 2025-03-06 13:28:06  
nsproxy.c 13089 bytes 2025-03-06 09:18:38 2025-03-06 13:28:06  
padata.c 28009 bytes 2025-03-06 09:18:38 2025-03-06 13:28:06 generic interface to process data streams in parallel
panic.c 19339 bytes 2025-03-06 09:18:38 2025-03-06 13:28:06

This function is used through-out the kernel (including mm and fs) to indicate a major problem.

params.c 23634 bytes 2025-03-06 09:18:38 2025-03-06 13:28:06  
pid.c 18611 bytes 2025-03-06 09:18:38 2025-03-06 13:28:07  
pid_namespace.c 11543 bytes 2025-03-06 09:18:38 2025-03-06 13:28:07

Pid namespaces Authors: (C) 2007 Pavel Emelyanov <openvz.org">xemul@openvz.org>, OpenVZ, SWsoft Inc. (C) 2007 Sukadev Bhattiprolu <us.ibm.com">sukadev@us.ibm.com>, IBM Many thanks to Oleg Nesterov for comments and help

profile.c 13807 bytes 2025-03-06 09:18:38 2025-03-06 13:28:07

linux/kernel/ Simple profiling.

ptrace.c 37805 bytes 2025-03-06 09:18:38 2025-03-06 13:28:07  
range.c 3110 bytes 2025-03-06 09:18:38 2025-03-06 13:28:07

Range add and subtract

reboot.c 32474 bytes 2025-03-06 09:18:39 2025-03-06 13:28:07  
regset.c 1898 bytes 2025-03-06 09:18:39 2025-03-06 13:28:07  
relay.c 30750 bytes 2025-03-06 09:18:39 2025-03-06 13:28:07  
resource.c 52959 bytes 2025-03-06 09:18:39 2025-03-06 13:28:08  
resource_kunit.c 4400 bytes 2025-03-06 09:18:39 2025-03-06 13:28:08

Test cases for API provided by resource.c and ioport.h

rseq.c 10241 bytes 2025-03-06 09:18:39 2025-03-06 13:28:08  
scftorture.c 20530 bytes 2025-03-06 09:18:39 2025-03-06 13:28:08  
scs.c 3007 bytes 2025-03-06 09:18:39 2025-03-06 13:28:08  
seccomp.c 64933 bytes 2025-03-06 09:18:39 2025-03-06 13:28:08  
signal.c 126276 bytes 2025-03-06 09:18:39 2025-03-06 13:28:09  
smp.c 35176 bytes 2025-03-06 09:18:39 2025-03-06 13:28:10

Generic helpers for smp ipi calls (C) Jens Axboe <jens.axboe@oracle.com">jens.axboe@oracle.com> 2008

smpboot.c 12155 bytes 2025-03-06 09:18:39 2025-03-06 13:28:10

Common SMP CPU bringup/teardown functions

smpboot.h 640 bytes 2025-03-06 09:18:39 2025-03-06 13:28:10  
softirq.c 24646 bytes 2025-03-06 09:18:39 2025-03-06 13:28:10  
stackleak.c 4591 bytes 2025-03-06 09:18:39 2025-03-06 13:28:10

This code fills the used part of the kernel stack with a poison value before returning to userspace.

stacktrace.c 10615 bytes 2025-03-06 09:18:39 2025-03-06 13:28:10  
static_call.c 158 bytes 2025-03-06 09:18:39 2025-03-06 13:28:10  
static_call_inline.c 12752 bytes 2025-03-06 09:18:39 2025-03-06 13:28:10  
stop_machine.c 18699 bytes 2025-03-06 09:18:39 2025-03-06 13:28:10  
sys.c 66780 bytes 2025-03-06 09:18:39 2025-03-06 13:28:11  
sys_ni.c 10421 bytes 2025-03-06 09:18:39 2025-03-06 13:28:11  
sysctl-test.c 10918 bytes 2025-03-06 09:18:39 2025-03-06 13:28:11

KUnit test of proc sysctl.

sysctl.c 60895 bytes 2025-03-06 09:18:39 2025-03-06 13:28:11 General linux system control interface
task_work.c 5171 bytes 2025-03-06 09:18:39 2025-03-06 13:28:11  
taskstats.c 16155 bytes 2025-03-06 09:18:39 2025-03-06 13:28:11 Export per-task statistics to userland
torture.c 25951 bytes 2025-03-06 09:18:39 2025-03-06 13:28:11  
tracepoint.c 20799 bytes 2025-03-06 09:18:39 2025-03-06 13:28:11  
tsacct.c 5093 bytes 2025-03-06 09:18:39 2025-03-06 13:28:12 System accounting over taskstats interface
ucount.c 9305 bytes 2025-03-06 09:18:39 2025-03-06 13:28:12  
uid16.c 5198 bytes 2025-03-06 09:18:39 2025-03-06 13:28:12

Wrapper functions for 16bit uid back compatibility. All nicely tied together in the faint hope we can take the out in five years time.

uid16.h 442 bytes 2025-03-06 09:18:39 2025-03-06 13:28:12  
umh.c 15443 bytes 2025-03-06 09:18:39 2025-03-06 13:28:12

umh - the kernel usermode helper

up.c 1533 bytes 2025-03-06 09:18:39 2025-03-06 13:28:12

Uniprocessor-only support functions. The counterpart to kernel/smp.c

user-return-notifier.c 1379 bytes 2025-03-06 09:18:39 2025-03-06 13:28:12  
user.c 6076 bytes 2025-03-06 09:18:39 2025-03-06 13:28:12  
user_namespace.c 36425 bytes 2025-03-06 09:18:39 2025-03-06 13:28:12  
usermode_driver.c 4454 bytes 2025-03-06 09:18:39 2025-03-06 13:28:12

umd - User mode driver support

utsname.c 3855 bytes 2025-03-06 09:18:39 2025-03-06 13:28:12  
utsname_sysctl.c 3317 bytes 2025-03-06 09:18:39 2025-03-06 13:28:12  
watch_queue.c 17624 bytes 2025-03-06 09:18:39 2025-03-06 13:28:12  
watchdog.c 23184 bytes 2025-03-06 09:18:39 2025-03-06 13:28:12  
watchdog_hld.c 7862 bytes 2025-03-06 09:18:39 2025-03-06 13:28:12  
workqueue.c 172462 bytes 2025-03-06 09:18:39 2025-03-06 13:28:13 generic async execution with shared worker pool
workqueue_internal.h 2508 bytes 2025-03-06 09:18:39 2025-03-06 13:28:13

kernel/ Workqueue internal header file. Only to be included by workqueue and core kernel subsystems.