Function report |
Source Code:mm\kmemleak.c |
Create Date:2022-07-28 16:21:14 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Increment the object use_count. Return 1 if successful or 0 otherwise. Note* that once an object's use_count reached 0, the RCU freeing was already* registered and the object should no longer be used. This function must be
Proto:static int get_object(struct kmemleak_object *object)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kmemleak_object * | object |
| Name | Describe |
|---|---|
| find_and_get_object | Look up an object in the object search tree and increase its use_count. |
| update_refs | Update an object's references. object->lock must be held by the caller. |
| kmemleak_scan | Scan data sections and all the referenced memory blocks allocated via the* kernel's standard allocators. This function must be called with the* scan_mutex held. |
| kmemleak_seq_start | Iterate over the object_list and return the first valid object at or after* the required position with its use_count incremented. The function triggers* a memory scanning when the pos argument points to the first position. |
| kmemleak_seq_next | Return the next object in the object_list. The function decrements the* use_count of the previous object and increases that of the next one. |
| 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 |