Function report |
Source Code:mm\kmemleak.c |
Create Date:2022-07-28 16:21:20 |
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 an object in the object search tree and increase its use_count.
Proto:static struct kmemleak_object *find_and_get_object(unsigned long ptr, int alias)
Type:struct kmemleak_object
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long | ptr | |
int | alias |
519 | read_unlock_irqrestore( & w_lock protecting the access to object_list and object_tree_root , flags) |
526 | Return object |
Name | Describe |
---|---|
paint_ptr | |
add_scan_area | Add a scanning area to the object. If at least one such area is added,* kmemleak will only scan these ranges rather than the whole memory block. |
object_set_excess_ref | 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()). |
object_no_scan | Set the OBJECT_NO_SCAN flag for the object corresponding to the give* pointer. Such object will not be scanned by kmemleak but references to it* are searched. |
kmemleak_update_trace | kmemleak_update_trace - update object allocation stack trace*@ptr: pointer to beginning of the object* Override the object allocation stack trace for cases where the actual* allocation place is not always useful. |
dump_str_object_info |
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 |