Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\debugobjects.c Create Date:2022-07-28 06:55:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Try to repair the damage, so we have a better chance to get useful* debug output.

Proto:static bool debug_object_fixup(bool (*fixup)(void *addr, enum debug_obj_state state), void *addr, enum debug_obj_state state)

Type:bool

Parameter:

TypeParameterName
bool (*fixup
void *addr
enum debug_obj_statestate
501  If fixup && fixup(addr, state) Then
502  debug_objects_fixups++
503  Return true
505  Return false
Caller
NameDescribe
__debug_object_init
debug_object_activatedebug_object_activate - debug checks when an object is activated*@addr: address of the object*@descr: pointer to an object specific debug description structure* Returns 0 for success, -EINVAL for check failed.
debug_object_destroydebug_object_destroy - debug checks when an object is destroyed*@addr: address of the object*@descr: pointer to an object specific debug description structure
debug_object_freedebug_object_free - debug checks when an object is freed*@addr: address of the object*@descr: pointer to an object specific debug description structure
debug_object_assert_initdebug_object_assert_init - debug checks when object should be init-ed*@addr: address of the object*@descr: pointer to an object specific debug description structure