2021-04-16 10:32:29 +00:00
|
|
|
|
.. include:: ../disclaimer-zh_CN.rst
|
|
|
|
|
|
2021-08-21 08:18:00 +00:00
|
|
|
|
:Original: Documentation/core-api/index.rst
|
2021-04-16 10:32:29 +00:00
|
|
|
|
|
2021-08-21 08:18:00 +00:00
|
|
|
|
:翻译:
|
|
|
|
|
|
|
|
|
|
司延腾 Yanteng Si <siyanteng@loongson.cn>
|
2021-04-16 10:32:29 +00:00
|
|
|
|
|
2021-08-21 08:18:00 +00:00
|
|
|
|
.. _cn_core-api_index.rst:
|
2021-04-16 10:32:29 +00:00
|
|
|
|
|
|
|
|
|
===========
|
|
|
|
|
核心API文档
|
|
|
|
|
===========
|
|
|
|
|
|
|
|
|
|
这是核心内核API手册的首页。 非常感谢为本手册转换(和编写!)的文档!
|
|
|
|
|
|
|
|
|
|
核心实用程序
|
|
|
|
|
============
|
|
|
|
|
|
|
|
|
|
本节包含通用的和“核心中的核心”文档。 第一部分是 docbook 时期遗留下
|
|
|
|
|
来的大量 kerneldoc 信息;有朝一日,若有人有动力的话,应当把它们拆分
|
|
|
|
|
出来。
|
|
|
|
|
|
2021-05-17 08:46:13 +00:00
|
|
|
|
.. toctree::
|
|
|
|
|
:maxdepth: 1
|
2021-04-16 10:32:29 +00:00
|
|
|
|
|
|
|
|
|
kernel-api
|
2021-05-17 08:46:14 +00:00
|
|
|
|
printk-basics
|
2021-05-17 08:46:15 +00:00
|
|
|
|
printk-formats
|
2021-05-17 13:29:27 +00:00
|
|
|
|
workqueue
|
2021-04-16 10:32:29 +00:00
|
|
|
|
symbol-namespaces
|
|
|
|
|
|
|
|
|
|
数据结构和低级实用程序
|
|
|
|
|
======================
|
|
|
|
|
|
|
|
|
|
在整个内核中使用的函数库。
|
|
|
|
|
|
2021-05-17 13:37:48 +00:00
|
|
|
|
.. toctree::
|
|
|
|
|
:maxdepth: 1
|
2021-04-16 10:32:29 +00:00
|
|
|
|
|
|
|
|
|
kobject
|
2021-09-23 09:55:59 +00:00
|
|
|
|
kref
|
2021-10-16 04:24:46 +00:00
|
|
|
|
assoc_array
|
2021-10-16 04:24:47 +00:00
|
|
|
|
xarray
|
2021-05-17 13:37:48 +00:00
|
|
|
|
|
|
|
|
|
Todolist:
|
|
|
|
|
|
2021-09-23 09:55:59 +00:00
|
|
|
|
|
2021-10-16 04:24:47 +00:00
|
|
|
|
|
2021-04-16 10:32:29 +00:00
|
|
|
|
idr
|
|
|
|
|
circular-buffers
|
|
|
|
|
rbtree
|
|
|
|
|
generic-radix-tree
|
|
|
|
|
packing
|
|
|
|
|
bus-virt-phys-mapping
|
|
|
|
|
this_cpu_ops
|
|
|
|
|
timekeeping
|
|
|
|
|
errseq
|
|
|
|
|
|
|
|
|
|
并发原语
|
|
|
|
|
========
|
|
|
|
|
|
|
|
|
|
Linux如何让一切同时发生。 详情请参阅
|
|
|
|
|
:doc:`/locking/index`
|
|
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
|
:maxdepth: 1
|
|
|
|
|
|
|
|
|
|
irq/index
|
2021-05-24 02:40:16 +00:00
|
|
|
|
refcount-vs-atomic
|
2021-05-24 02:40:17 +00:00
|
|
|
|
local_ops
|
2021-05-31 12:41:05 +00:00
|
|
|
|
padata
|
2021-04-16 10:32:29 +00:00
|
|
|
|
|
|
|
|
|
Todolist:
|
|
|
|
|
|
|
|
|
|
../RCU/index
|
|
|
|
|
|
|
|
|
|
低级硬件管理
|
|
|
|
|
============
|
|
|
|
|
|
|
|
|
|
缓存管理,CPU热插拔管理等。
|
|
|
|
|
|
2021-06-04 09:06:55 +00:00
|
|
|
|
.. toctree::
|
|
|
|
|
:maxdepth: 1
|
2021-04-16 10:32:29 +00:00
|
|
|
|
|
|
|
|
|
cachetlb
|
2021-07-09 03:00:35 +00:00
|
|
|
|
cpu_hotplug
|
2021-07-09 03:01:43 +00:00
|
|
|
|
genericirq
|
2021-07-09 03:02:42 +00:00
|
|
|
|
memory-hotplug
|
2021-07-09 03:02:43 +00:00
|
|
|
|
protection-keys
|
2021-06-04 09:06:55 +00:00
|
|
|
|
|
|
|
|
|
Todolist:
|
|
|
|
|
|
|
|
|
|
|
2021-04-16 10:32:29 +00:00
|
|
|
|
memory-hotplug
|
2021-07-09 03:02:42 +00:00
|
|
|
|
cpu_hotplug
|
|
|
|
|
genericirq
|
2021-04-16 10:32:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
内存管理
|
|
|
|
|
========
|
|
|
|
|
|
|
|
|
|
如何在内核中分配和使用内存。请注意,在
|
|
|
|
|
:doc:`/vm/index` 中有更多的内存管理文档。
|
|
|
|
|
|
2021-09-17 06:33:02 +00:00
|
|
|
|
.. toctree::
|
|
|
|
|
:maxdepth: 1
|
2021-04-16 10:32:29 +00:00
|
|
|
|
|
|
|
|
|
memory-allocation
|
2021-09-17 06:33:03 +00:00
|
|
|
|
unaligned-memory-access
|
2021-09-17 06:33:04 +00:00
|
|
|
|
mm-api
|
2021-09-17 06:33:05 +00:00
|
|
|
|
genalloc
|
2021-09-17 06:33:06 +00:00
|
|
|
|
boot-time-mm
|
2021-09-17 06:33:07 +00:00
|
|
|
|
gfp_mask-from-fs-io
|
2021-09-17 06:33:02 +00:00
|
|
|
|
|
|
|
|
|
Todolist:
|
|
|
|
|
|
2021-04-16 10:32:29 +00:00
|
|
|
|
dma-api
|
|
|
|
|
dma-api-howto
|
|
|
|
|
dma-attributes
|
|
|
|
|
dma-isa-lpc
|
|
|
|
|
pin_user_pages
|
|
|
|
|
|
|
|
|
|
内核调试的接口
|
|
|
|
|
==============
|
|
|
|
|
|
|
|
|
|
Todolist:
|
|
|
|
|
|
|
|
|
|
debug-objects
|
|
|
|
|
tracepoint
|
|
|
|
|
debugging-via-ohci1394
|
|
|
|
|
|
|
|
|
|
其它文档
|
|
|
|
|
========
|
|
|
|
|
|
|
|
|
|
不适合放在其它地方或尚未归类的文件;
|
|
|
|
|
|
|
|
|
|
Todolist:
|
|
|
|
|
|
|
|
|
|
librs
|
|
|
|
|
|
|
|
|
|
.. only:: subproject and html
|
|
|
|
|
|
|
|
|
|
Indices
|
|
|
|
|
=======
|
|
|
|
|
|
|
|
|
|
* :ref:`genindex`
|