Function report |
Source Code:mm\kmemleak.c |
Create Date:2022-07-28 16:21:41 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Any surplus references (object already gray) to 'ptr' are passed to* 'excess_ref'. This is used in the vmalloc() case where a pointer to* vm_struct may be used as an alternative reference to the vmalloc'ed object* (see free_thread_stack()).
Proto:static void object_set_excess_ref(unsigned long ptr, unsigned long excess_ref)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long | ptr | |
unsigned long | excess_ref |
839 | If Not object Then |
840 | Print a warning and dump the stack trace.("Setting excess_ref on unknown object at 0x%08lx\n", ptr) |
842 | Return |
845 | spin_lock_irqsave( & lock, flags) |
847 | spin_unlock_irqrestore( & lock, flags) |
Name | Describe |
---|---|
kmemleak_vmalloc | kmemleak_vmalloc - register a newly vmalloc'ed object*@area: pointer to vm_struct*@size: size of the object*@gfp: __vmalloc() flags used for kmemleak internal memory allocations* This function is called from the vmalloc() kernel allocator when a new |
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 |