函数逻辑报告 |
Source Code:lib\debugobjects.c |
Create Date:2022-07-27 07:52:13 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:debug_object_free - debug checks when an object is freed*@addr: address of the object*@descr: pointer to an object specific debug description structure
函数原型:void debug_object_free(void *addr, struct debug_obj_descr *descr)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
void * | addr | |
struct debug_obj_descr * | descr |
807 | 如果非debug_objects_enabled则返回 |
810 | db等于We use the pfn of the address for the hash. That way we can check* for freed objects simply by checking the affected bucket. |
812 | raw_spin_lock_irqsave( & lock, flags) |
815 | 如果非obj则转到:out_unlock |
819 | 当:state恒等于ODEBUG_STATE_ACTIVE |
825 | 默认 |
827 | raw_spin_unlock_irqrestore( & lock, flags) |
829 | 返回 |
831 | out_unlock : |
832 | raw_spin_unlock_irqrestore( & lock, flags) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |