Lines Matching +full:- +full:function
2 The object-lifetime debugging infrastructure
15 - Activation of uninitialized objects
17 - Initialization of active objects
19 - Usage of freed/destroyed objects
39 - debug_object_init
41 - debug_object_init_on_stack
43 - debug_object_activate
45 - debug_object_deactivate
47 - debug_object_destroy
49 - debug_object_free
51 - debug_object_assert_init
67 .. kernel-doc:: lib/debugobjects.c
70 This function is called whenever the initialization function of a real
76 it calls the fixup_init function of the object type description
77 structure if provided by the caller. The fixup function can correct the
88 object before leaving the function which allocated it. See next section.
90 .. kernel-doc:: lib/debugobjects.c
93 This function is called whenever the initialization function of a real
99 it calls the fixup_init function of the object type description
100 structure if provided by the caller. The fixup function can correct the
111 calling debug_object_free() before the function which allocates the
114 .. kernel-doc:: lib/debugobjects.c
117 This function is called whenever the activation function of a real
123 it calls the fixup_activate function of the object type description
124 structure if provided by the caller. The fixup function can correct the
129 fixup_activate function is called if available. This is necessary to
131 objects. The fixup function checks whether the object is valid and calls
132 the debug_objects_init() function to initialize the tracking of this
139 .. kernel-doc:: lib/debugobjects.c
142 This function is called whenever the deactivation function of a real
152 .. kernel-doc:: lib/debugobjects.c
155 This function is called to mark an object destroyed. This is useful to
163 fixup_destroy function of the object type description structure if
164 provided by the caller. The fixup function can correct the problem
171 .. kernel-doc:: lib/debugobjects.c
174 This function is called before an object is freed.
178 debugobjects detects an error, then it calls the fixup_free function of
180 fixup function can correct the problem before the real free of the
188 .. kernel-doc:: lib/debugobjects.c
191 This function is called to assert that an object has been initialized.
196 fixup function can correct the problem by calling debug_object_init
205 ---------------------------------------
207 .. kernel-doc:: include/linux/debugobjects.h
211 -----------
213 This function is called from the debug code whenever a problem in
214 debug_object_init is detected. The function takes the address of the
219 - ODEBUG_STATE_ACTIVE
221 The function returns true when the fixup was successful, otherwise
224 Note, that the function needs to call the debug_object_init() function
229 ---------------
231 This function is called from the debug code whenever a problem in
236 - ODEBUG_STATE_NOTAVAILABLE
238 - ODEBUG_STATE_ACTIVE
240 The function returns true when the fixup was successful, otherwise
243 Note that the function needs to call the debug_object_activate()
244 function again after the damage has been repaired in order to keep the
250 ODEBUG_STATE_NOTAVAILABLE. The fixup function needs to check whether
254 the function should return false because this is not a real fixup.
257 --------------
259 This function is called from the debug code whenever a problem in
264 - ODEBUG_STATE_ACTIVE
266 The function returns true when the fixup was successful, otherwise
270 -----------
272 This function is called from the debug code whenever a problem in
280 - ODEBUG_STATE_ACTIVE
282 The function returns true when the fixup was successful, otherwise
286 -------------------
288 This function is called from the debug code whenever a problem in
295 The function returns true when the fixup was successful, otherwise
298 Note, this function should make sure debug_object_init() is called
302 fixup function should check if this is a legitimate case of a statically
305 function should return false because this is not a real fixup.