Function report |
Source Code:mm\kmemleak.c |
Create Date:2022-07-28 16:21:08 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Object colors, encoded with count and min_count:* - white - orphan object, not enough references to it (count < min_count)* - gray - not orphan, not marked as false positive (min_count == 0) or* sufficient references to it (count >= min_count)
Proto:static bool color_white(const struct kmemleak_object *object)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
const struct kmemleak_object * | object |
Name | Describe |
---|---|
unreferenced_object | Objects are considered unreferenced only if their color is white, they have* not be deleted and have a minimum age to avoid false positives caused by* pointers temporarily stored in CPU registers. |
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. |
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 |