docbook: add idr/ida to kernel-api docbook
Subsystems (3)
PATCH 1/1 docbook: add idr/ida to kernel-api docbook
From: Randy Dunlap <[email protected]>
Add idr/ida to kernel-api docbook.
Fix typos and kernel-doc notation.
Signed-off-by Randy Dunlap <[email protected]>
Acked-by Tejun Heo <[email protected]>
Cc Naohiro Aota <[email protected]>
Cc Jiri Kosina <[email protected]>
--- Documentation/DocBook/kernel-api.tmpl | 6 ++ include/linux/idr.h | 1 lib/idr.c | 49 ++++++++++++------------ 3 files changed, 32 insertions(+), 24 deletions(-)
Documentation/DocBook/kernel-api.tmpl +6 -0
@@ -93,6 +93,12 @@ X!Ilib/string.c !Elib/crc32.c !Elib/crc-ccitt.c </sect1> + + <sect1 id="idr"><title>idr/ida Functions</title> +!Pinclude/linux/idr.h idr sync +!Plib/idr.c IDA description +!Elib/idr.c + </sect1> </chapter> <chapter id="mm">
include/linux/idr.h +1 -0
@@ -81,6 +81,7 @@ struct idr {#define _idr_rc_to_errno (rc) ((rc) == -1 ? -EAGAIN : -ENOSPC)/** +* DOC: idr sync * idr synchronization (stolen from radix-tree.h) * * idr_find() is able to be called locklessly, using RCU. The caller must
lib/idr.c +25 -24
131 lines not on this page · raw message