xref: /openbmc/linux/Documentation/core-api/index.rst (revision e40573a43d163a5c9fe14c647bc4c5201d782893)
124755a55SSilvio Fricke======================
293dc3a11SJonathan CorbetCore API Documentation
324755a55SSilvio Fricke======================
424755a55SSilvio Fricke
593dc3a11SJonathan CorbetThis is the beginning of a manual for core kernel APIs.  The conversion
693dc3a11SJonathan Corbet(and writing!) of documents for this manual is much appreciated!
793dc3a11SJonathan Corbet
893dc3a11SJonathan CorbetCore utilities
993dc3a11SJonathan Corbet==============
1024755a55SSilvio Fricke
115e720172SJonathan CorbetThis section has general and "core core" documentation.  The first is a
125e720172SJonathan Corbetmassive grab-bag of kerneldoc info left over from the docbook days; it
135e720172SJonathan Corbetshould really be broken up someday when somebody finds the energy to do
145e720172SJonathan Corbetit.
155e720172SJonathan Corbet
1624755a55SSilvio Fricke.. toctree::
1724755a55SSilvio Fricke   :maxdepth: 1
1824755a55SSilvio Fricke
19baca8a0cSMauro Carvalho Chehab   kernel-api
205e720172SJonathan Corbet   workqueue
21f5461124SRandy Dunlap   watch_queue
2290c165f0SRicardo Cañuelo   printk-basics
235e720172SJonathan Corbet   printk-formats
24a5c7a39fSPetr Mladek   printk-index
255e720172SJonathan Corbet   symbol-namespaces
26f4bf1cd4SJonathan Corbet   asm-annotations
275e720172SJonathan Corbet
285e720172SJonathan CorbetData structures and low-level utilities
295e720172SJonathan Corbet=======================================
305e720172SJonathan Corbet
315e720172SJonathan CorbetLibrary functionality that is used throughout the kernel.
325e720172SJonathan Corbet
335e720172SJonathan Corbet.. toctree::
345e720172SJonathan Corbet   :maxdepth: 1
355e720172SJonathan Corbet
365fed00dcSSameer Rahmani   kobject
371ac00669SMauro Carvalho Chehab   kref
38c3cbf1a7SSilvio Fricke   assoc_array
39992a8e60SMatthew Wilcox   xarray
405e720172SJonathan Corbet   idr
41d8a121e3SMauro Carvalho Chehab   circular-buffers
4214bbe3e3SMatthew Wilcox (Oracle)   rbtree
43ba20ba2eSKent Overstreet   generic-radix-tree
445e720172SJonathan Corbet   packing
45c9b54d6fSMauro Carvalho Chehab   this_cpu_ops
465e720172SJonathan Corbet   timekeeping
475e720172SJonathan Corbet   errseq
48*e40573a4SJonathan Corbet   wrappers/atomic_t
49*e40573a4SJonathan Corbet   wrappers/atomic_bitops
505e720172SJonathan Corbet
51bf026e2eSThomas GleixnerLow level entry and exit
52bf026e2eSThomas Gleixner========================
53bf026e2eSThomas Gleixner
54bf026e2eSThomas Gleixner.. toctree::
55bf026e2eSThomas Gleixner   :maxdepth: 1
56bf026e2eSThomas Gleixner
57bf026e2eSThomas Gleixner   entry
58bf026e2eSThomas Gleixner
595e720172SJonathan CorbetConcurrency primitives
605e720172SJonathan Corbet======================
615e720172SJonathan Corbet
625e720172SJonathan CorbetHow Linux keeps everything from happening at the same time.  See
63a822b2eeSMauro Carvalho ChehabDocumentation/locking/index.rst for more related documentation.
645e720172SJonathan Corbet
655e720172SJonathan Corbet.. toctree::
665e720172SJonathan Corbet   :maxdepth: 1
675e720172SJonathan Corbet
685e720172SJonathan Corbet   refcount-vs-atomic
69e00b0ab8SMauro Carvalho Chehab   irq/index
705e720172SJonathan Corbet   local_ops
715e720172SJonathan Corbet   padata
725e720172SJonathan Corbet   ../RCU/index
73*e40573a4SJonathan Corbet   wrappers/memory-barriers.rst
745e720172SJonathan Corbet
755e720172SJonathan CorbetLow-level hardware management
765e720172SJonathan Corbet=============================
775e720172SJonathan Corbet
785e720172SJonathan CorbetCache management, managing CPU hotplug, etc.
795e720172SJonathan Corbet
805e720172SJonathan Corbet.. toctree::
815e720172SJonathan Corbet   :maxdepth: 1
825e720172SJonathan Corbet
835e720172SJonathan Corbet   cachetlb
845e720172SJonathan Corbet   cpu_hotplug
855e720172SJonathan Corbet   memory-hotplug
865e720172SJonathan Corbet   genericirq
875e720172SJonathan Corbet   protection-keys
885e720172SJonathan Corbet
895e720172SJonathan CorbetMemory management
905e720172SJonathan Corbet=================
915e720172SJonathan Corbet
925e720172SJonathan CorbetHow to allocate and use memory in the kernel.  Note that there is a lot
93ee65728eSMike Rapoportmore memory-management documentation in Documentation/mm/index.rst.
945e720172SJonathan Corbet
955e720172SJonathan Corbet.. toctree::
965e720172SJonathan Corbet   :maxdepth: 1
975e720172SJonathan Corbet
9852272c92SMike Rapoport   memory-allocation
99c9b54d6fSMauro Carvalho Chehab   unaligned-memory-access
100728c1471SMauro Carvalho Chehab   dma-api
101728c1471SMauro Carvalho Chehab   dma-api-howto
102728c1471SMauro Carvalho Chehab   dma-attributes
103728c1471SMauro Carvalho Chehab   dma-isa-lpc
10441f35b39SMike Rapoport   mm-api
1055e720172SJonathan Corbet   genalloc
106eddb1c22SJohn Hubbard   pin_user_pages
107ae9d8845SMike Rapoport   boot-time-mm
1085e720172SJonathan Corbet   gfp_mask-from-fs-io
109e7f08ffbSSilvio Fricke
11093dc3a11SJonathan CorbetInterfaces for kernel debugging
11193dc3a11SJonathan Corbet===============================
11293dc3a11SJonathan Corbet
11393dc3a11SJonathan Corbet.. toctree::
11493dc3a11SJonathan Corbet   :maxdepth: 1
11593dc3a11SJonathan Corbet
11693dc3a11SJonathan Corbet   debug-objects
117d6ba7a9cSJonathan Corbet   tracepoint
118a74e2a22SMauro Carvalho Chehab   debugging-via-ohci1394
11993dc3a11SJonathan Corbet
1205e720172SJonathan CorbetEverything else
1215e720172SJonathan Corbet===============
1225e720172SJonathan Corbet
1235e720172SJonathan CorbetDocuments that don't fit elsewhere or which have yet to be categorized.
1245e720172SJonathan Corbet
1255e720172SJonathan Corbet.. toctree::
1265e720172SJonathan Corbet   :maxdepth: 1
1275e720172SJonathan Corbet
1285e720172SJonathan Corbet   librs
1295e720172SJonathan Corbet
1309c970ab5SMauro Carvalho Chehab.. only:: subproject and html
13124755a55SSilvio Fricke
13224755a55SSilvio Fricke   Indices
13324755a55SSilvio Fricke   =======
13424755a55SSilvio Fricke
13524755a55SSilvio Fricke   * :ref:`genindex`
136