Function report |
Source Code:lib\debugobjects.c |
Create Date:2022-07-28 06:55:14 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:debug_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
Proto:void debug_object_assert_init(void *addr, struct debug_obj_descr *descr)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
void * | addr | |
struct debug_obj_descr * | descr |
847 | If Not debug_objects_enabled Then Return |
850 | 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. |
852 | raw_spin_lock_irqsave( & lock, flags) |
855 | If Not obj Then |
860 | raw_spin_unlock_irqrestore( & lock, flags) |
866 | If is_static_object && is_static_object(addr) Then |
869 | Else |
870 | debug_print_object( & o, "assert_init") |
874 | Return |
877 | raw_spin_unlock_irqrestore( & lock, flags) |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |