···490490 .. kernel-doc:: lib/idr.c491491 :identifiers:492492493493+no-identifiers: *[ function/type ...]*494494+ Exclude documentation for each *function* and *type* in *source*.495495+496496+ Example::497497+498498+ .. kernel-doc:: lib/bitmap.c499499+ :no-identifiers: bitmap_parselist500500+493501functions: *[ function/type ...]*494502 This is an alias of the 'identifiers' directive and deprecated.495503
+7
Documentation/sphinx/kerneldoc.py
···6262 'export': directives.unchanged,6363 'internal': directives.unchanged,6464 'identifiers': directives.unchanged,6565+ 'no-identifiers': directives.unchanged,6566 'functions': directives.unchanged,6667 }6768 has_content = False···104103 cmd += ['-function', i]105104 else:106105 cmd += ['-no-doc-sections']106106+107107+ if 'no-identifiers' in self.options:108108+ no_identifiers = self.options.get('no-identifiers').split()109109+ if no_identifiers:110110+ for i in no_identifiers:111111+ cmd += ['-nosymbol', i]107112108113 for pattern in export_file_patterns:109114 for f in glob.glob(env.config.kerneldoc_srctree + '/' + pattern):