Commit 14bbe3e3 authored by Matthew Wilcox (Oracle)'s avatar Matthew Wilcox (Oracle) Committed by Jonathan Corbet

docs: Add rbtree documentation to the core-api

This file is close enough to being in rst format that I didn't feel
the need to alter it in any way.
Signed-off-by: default avatarMatthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: default avatarMichel Lespinasse <walken@google.com>
Link: https://lore.kernel.org/r/20200401173343.17472-1-willy@infradead.orgSigned-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 90c165f0
...@@ -35,6 +35,7 @@ Library functionality that is used throughout the kernel. ...@@ -35,6 +35,7 @@ Library functionality that is used throughout the kernel.
xarray xarray
idr idr
circular-buffers circular-buffers
rbtree
generic-radix-tree generic-radix-tree
packing packing
timekeeping timekeeping
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
I know it's not the cleaner way, but in C (not in C++) to get I know it's not the cleaner way, but in C (not in C++) to get
performances and genericity... performances and genericity...
See Documentation/rbtree.txt for documentation and samples. See Documentation/core-api/rbtree.rst for documentation and samples.
*/ */
#ifndef _LINUX_RBTREE_H #ifndef _LINUX_RBTREE_H
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
* rb_insert_augmented() and rb_erase_augmented() are intended to be public. * rb_insert_augmented() and rb_erase_augmented() are intended to be public.
* The rest are implementation details you are not expected to depend on. * The rest are implementation details you are not expected to depend on.
* *
* See Documentation/rbtree.txt for documentation and samples. * See Documentation/core-api/rbtree.rst for documentation and samples.
*/ */
struct rb_augment_callbacks { struct rb_augment_callbacks {
......
...@@ -427,7 +427,7 @@ config INTERVAL_TREE ...@@ -427,7 +427,7 @@ config INTERVAL_TREE
See: See:
Documentation/rbtree.txt Documentation/core-api/rbtree.rst
for more information. for more information.
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
I know it's not the cleaner way, but in C (not in C++) to get I know it's not the cleaner way, but in C (not in C++) to get
performances and genericity... performances and genericity...
See Documentation/rbtree.txt for documentation and samples. See Documentation/core-api/rbtree.rst for documentation and samples.
*/ */
#ifndef __TOOLS_LINUX_PERF_RBTREE_H #ifndef __TOOLS_LINUX_PERF_RBTREE_H
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
* rb_insert_augmented() and rb_erase_augmented() are intended to be public. * rb_insert_augmented() and rb_erase_augmented() are intended to be public.
* The rest are implementation details you are not expected to depend on. * The rest are implementation details you are not expected to depend on.
* *
* See Documentation/rbtree.txt for documentation and samples. * See Documentation/core-api/rbtree.rst for documentation and samples.
*/ */
struct rb_augment_callbacks { struct rb_augment_callbacks {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment