1STRUCT DEBUG_OBJ_DES(9)         Fixup functions        STRUCT DEBUG_OBJ_DES(9)
2
3
4

NAME

6       struct_debug_obj_descr - object type specific debug description
7       structure
8

SYNOPSIS

10       struct debug_obj_descr {
11         const char * name;
12         int (* fixup_init) (void *addr, enum debug_obj_state state);
13         int (* fixup_activate) (void *addr, enum debug_obj_state state);
14         int (* fixup_destroy) (void *addr, enum debug_obj_state state);
15         int (* fixup_free) (void *addr, enum debug_obj_state state);
16       };
17

MEMBERS

19       name
20           name of the object typee
21
22       fixup_init
23           fixup function, which is called when the init check fails
24
25       fixup_activate
26           fixup function, which is called when the activate check fails
27
28       fixup_destroy
29           fixup function, which is called when the destroy check fails
30
31       fixup_free
32           fixup function, which is called when the free check fails
33

AUTHOR

35       Thomas Gleixner <tglx@linutronix.de>
36           Author.
37
39Kernel Hackers Manual 2.6.         June 2019           STRUCT DEBUG_OBJ_DES(9)
Impressum