Function report |
Source Code:mm\kmemleak.c |
Create Date:2022-07-28 16:21:42 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static void object_no_scan(unsigned long ptr)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | ptr |
| 862 | If Not object Then |
| 863 | Print a warning and dump the stack trace.("Not scanning unknown object at 0x%08lx\n", ptr) |
| 864 | Return |
| 867 | spin_lock_irqsave( & lock, flags) |
| 869 | spin_unlock_irqrestore( & lock, flags) |
| Name | Describe |
|---|---|
| kmemleak_no_scan | kmemleak_no_scan - do not scan an allocated object*@ptr: pointer to beginning of the object* This function notifies kmemleak not to scan the given memory block. Useful* in situations where it is known that the given object does not contain any |
| 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 |