函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\debugobjects.c Create Date:2022-07-27 07:52:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:debug_object_init - debug checks when an object is initialized*@addr: address of the object*@descr: pointer to an object specific debug description structure

函数原型:void debug_object_init(void *addr, struct debug_obj_descr *descr)

返回类型:void

参数:

类型参数名称
void *addr
struct debug_obj_descr *descr
592  如果非debug_objects_enabled则返回
595  __debug_object_init(addr, descr, 0)
调用者
名称描述
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_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