Search notes:

Documentation/sphinx/parse-headers.pl

Documentation/sphinks/parse-headers.pl convert a C header or source file into ReStructured Text (RST)
$ Documentation/sphinx/parse_headers.pl [<options>] <C_FILE> <OUT_FILE> [<EXCEPTIONS_FILE>]
The scirpt is capable of identifying defines, functions, structs, typedefs, enums and enum symbols and create cross-references for all of them.
It is also capable of distinguish #define used for specifying a Linux ioctl.

See also

Scripts located under scripts/

Links

https://github.com/torvalds/linux/blob/master/Documentation/sphinx/parse-headers.pl

Index