Function report |
Source Code:mm\kmemleak.c |
Create Date:2022-07-28 16:21:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Look up the metadata (struct kmemleak_object) corresponding to ptr and* delete it.
Proto:static void delete_object_full(unsigned long ptr)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long | ptr |
685 | If Not object Then |
687 | Print a warning and dump the stack trace.("Freeing unknown object at 0x%08lx\n", ptr) |
690 | Return |
Name | Describe |
---|---|
kmemleak_free | kmemleak_free - unregister a previously registered object*@ptr: pointer to beginning of the object* This function is called from the kernel allocators when an object (memory* block) is freed (kmem_cache_free, kfree, vfree etc.). |
kmemleak_free_percpu | kmemleak_free_percpu - unregister a previously registered __percpu object*@ptr: __percpu pointer to beginning of the object* This function is called from the kernel percpu allocator when an object* (memory block) is freed (free_percpu). |
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 |