1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct debug_obj_descr</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Debug objects life time"><link rel="up" href="fixupfunctions.html#debug_obj_descr" title="Debug object type description structure"><link rel="prev" href="API-struct-debug-obj.html" title="struct debug_obj"><link rel="next" href="fixup_init.html" title="fixup_init"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">struct debug_obj_descr</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-debug-obj.html">Prev</a>&#160;</td><th width="60%" align="center">Debug object type description structure</th><td width="20%" align="right">&#160;<a accesskey="n" href="fixup_init.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-debug-obj-descr"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct debug_obj_descr &#8212; 
2     object type specific debug description structure
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4struct debug_obj_descr {
5  const char * name;
6  void *(* debug_hint) (void *addr);
7  int (* fixup_init) (void *addr, enum debug_obj_state state);
8  int (* fixup_activate) (void *addr, enum debug_obj_state state);
9  int (* fixup_destroy) (void *addr, enum debug_obj_state state);
10  int (* fixup_free) (void *addr, enum debug_obj_state state);
11  int (* fixup_assert_init) (void *addr, enum debug_obj_state state);
12};  </pre></div><div class="refsect1"><a name="idp1099090908"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">name</span></dt><dd><p>
13   name of the object typee
14      </p></dd><dt><span class="term">debug_hint</span></dt><dd><p>
15   function returning address, which have associated
16   kernel symbol, to allow identify the object
17      </p></dd><dt><span class="term">fixup_init</span></dt><dd><p>
18   fixup function, which is called when the init check
19   fails
20      </p></dd><dt><span class="term">fixup_activate</span></dt><dd><p>
21   fixup function, which is called when the activate check
22   fails
23      </p></dd><dt><span class="term">fixup_destroy</span></dt><dd><p>
24   fixup function, which is called when the destroy check
25   fails
26      </p></dd><dt><span class="term">fixup_free</span></dt><dd><p>
27   fixup function, which is called when the free check
28   fails
29      </p></dd><dt><span class="term">fixup_assert_init</span></dt><dd><p>
30   fixup function, which is called when the assert_init
31   check fails
32      </p></dd></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-struct-debug-obj.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="fixupfunctions.html#debug_obj_descr">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="fixup_init.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct debug_obj</span>&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;fixup_init</td></tr></table></div></body></html>
33