'\" t .\" Title: struct debug_obj_descr .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: Fixup functions .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "STRUCT DEBUG_OBJ_DES" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Fixup functions" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" struct_debug_obj_descr \- object type specific debug description structure .SH "SYNOPSIS" .sp .nf struct debug_obj_descr { const char * name; void *(* debug_hint) (void *addr); bool (* is_static_object) (void *addr); bool (* fixup_init) (void *addr, enum debug_obj_state state); bool (* fixup_activate) (void *addr, enum debug_obj_state state); bool (* fixup_destroy) (void *addr, enum debug_obj_state state); bool (* fixup_free) (void *addr, enum debug_obj_state state); bool (* fixup_assert_init) (void *addr, enum debug_obj_state state); }; .fi .SH "MEMBERS" .PP name .RS 4 name of the object typee .RE .PP debug_hint .RS 4 function returning address, which have associated kernel symbol, to allow identify the object .RE .PP is_static_object .RS 4 return true if the obj is static, otherwise return false .RE .PP fixup_init .RS 4 fixup function, which is called when the init check fails\&. All fixup functions must return true if fixup was successful, otherwise return false .RE .PP fixup_activate .RS 4 fixup function, which is called when the activate check fails .RE .PP fixup_destroy .RS 4 fixup function, which is called when the destroy check fails .RE .PP fixup_free .RS 4 fixup function, which is called when the free check fails .RE .PP fixup_assert_init .RS 4 fixup function, which is called when the assert_init check fails .RE .SH "AUTHOR" .PP \fBThomas Gleixner\fR <\&tglx@linutronix.de\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br