2016-10-28 16:14:10 +08:00
|
|
|
======================
|
2016-11-19 08:06:13 +08:00
|
|
|
Core API Documentation
|
2016-10-28 16:14:10 +08:00
|
|
|
======================
|
|
|
|
|
2016-11-19 08:06:13 +08:00
|
|
|
This is the beginning of a manual for core kernel APIs. The conversion
|
|
|
|
(and writing!) of documents for this manual is much appreciated!
|
|
|
|
|
|
|
|
Core utilities
|
|
|
|
==============
|
2016-10-28 16:14:10 +08:00
|
|
|
|
2020-03-03 06:17:17 +08:00
|
|
|
This section has general and "core core" documentation. The first is a
|
|
|
|
massive grab-bag of kerneldoc info left over from the docbook days; it
|
|
|
|
should really be broken up someday when somebody finds the energy to do
|
|
|
|
it.
|
|
|
|
|
2016-10-28 16:14:10 +08:00
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
2017-03-31 04:11:32 +08:00
|
|
|
kernel-api
|
2020-03-03 06:17:17 +08:00
|
|
|
workqueue
|
2020-04-03 17:36:17 +08:00
|
|
|
printk-basics
|
2020-03-03 06:17:17 +08:00
|
|
|
printk-formats
|
|
|
|
symbol-namespaces
|
|
|
|
|
|
|
|
Data structures and low-level utilities
|
|
|
|
=======================================
|
|
|
|
|
|
|
|
Library functionality that is used throughout the kernel.
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
2020-02-26 06:21:25 +08:00
|
|
|
kobject
|
2020-05-01 23:37:52 +08:00
|
|
|
kref
|
2016-11-29 01:30:53 +08:00
|
|
|
assoc_array
|
2020-03-03 06:17:17 +08:00
|
|
|
xarray
|
|
|
|
idr
|
|
|
|
circular-buffers
|
2020-04-02 01:33:43 +08:00
|
|
|
rbtree
|
2020-03-03 06:17:17 +08:00
|
|
|
generic-radix-tree
|
|
|
|
packing
|
|
|
|
timekeeping
|
|
|
|
errseq
|
|
|
|
|
|
|
|
Concurrency primitives
|
|
|
|
======================
|
|
|
|
|
|
|
|
How Linux keeps everything from happening at the same time. See
|
|
|
|
:doc:`/locking/index` for more related documentation.
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
2016-11-29 01:30:55 +08:00
|
|
|
atomic_ops
|
2017-12-05 18:46:35 +08:00
|
|
|
refcount-vs-atomic
|
2020-05-01 23:37:51 +08:00
|
|
|
irq/index
|
2016-11-29 01:30:54 +08:00
|
|
|
local_ops
|
2020-03-03 06:17:17 +08:00
|
|
|
padata
|
|
|
|
../RCU/index
|
|
|
|
|
|
|
|
Low-level hardware management
|
|
|
|
=============================
|
|
|
|
|
|
|
|
Cache management, managing CPU hotplug, etc.
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
|
|
|
cachetlb
|
|
|
|
cpu_hotplug
|
|
|
|
memory-hotplug
|
2017-03-31 04:11:30 +08:00
|
|
|
genericirq
|
2020-03-03 06:17:17 +08:00
|
|
|
protection-keys
|
|
|
|
|
|
|
|
Memory management
|
|
|
|
=================
|
|
|
|
|
|
|
|
How to allocate and use memory in the kernel. Note that there is a lot
|
|
|
|
more memory-management documentation in :doc:`/vm/index`.
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
2018-09-14 17:27:58 +08:00
|
|
|
memory-allocation
|
2020-05-01 23:37:45 +08:00
|
|
|
dma-api
|
|
|
|
dma-api-howto
|
|
|
|
dma-attributes
|
|
|
|
dma-isa-lpc
|
2018-08-24 08:01:12 +08:00
|
|
|
mm-api
|
2020-03-03 06:17:17 +08:00
|
|
|
genalloc
|
2020-01-31 14:12:54 +08:00
|
|
|
pin_user_pages
|
2018-06-30 22:55:06 +08:00
|
|
|
boot-time-mm
|
2020-03-03 06:17:17 +08:00
|
|
|
gfp_mask-from-fs-io
|
2016-10-28 16:14:11 +08:00
|
|
|
|
2016-11-19 08:06:13 +08:00
|
|
|
Interfaces for kernel debugging
|
|
|
|
===============================
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
2016-11-19 08:21:32 +08:00
|
|
|
debug-objects
|
|
|
|
tracepoint
|
2020-05-01 23:37:50 +08:00
|
|
|
debugging-via-ohci1394
|
2016-11-19 08:06:13 +08:00
|
|
|
|
2020-03-03 06:17:17 +08:00
|
|
|
Everything else
|
|
|
|
===============
|
|
|
|
|
|
|
|
Documents that don't fit elsewhere or which have yet to be categorized.
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
|
|
|
librs
|
|
|
|
|
2019-07-26 20:51:29 +08:00
|
|
|
.. only:: subproject and html
|
2016-10-28 16:14:10 +08:00
|
|
|
|
|
|
|
Indices
|
|
|
|
=======
|
|
|
|
|
|
|
|
* :ref:`genindex`
|