Function report |
Source Code:mm\kasan\common.c |
Create Date:2022-07-28 15:51:04 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__kasan_slab_free
Proto:static bool __kasan_slab_free(struct kmem_cache *cache, void *object, unsigned long ip, bool quarantine)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kmem_cache * | cache | |
| void * | object | |
| unsigned long | ip | |
| bool | quarantine |
| 448 | tagged_object = object |
| 454 | Return true |
| 458 | If Value for the false possibility is greater at compile time(Used for retrieving partial slabs, etc. & Defer freeing slabs to RCU ) Then Return false |
| 461 | shadow_byte = READ_ONCE( * (s8 * )kasan_mem_to_shadow(object)) |
| 462 | If shadow_invalid(tag, shadow_byte) Then |
| 464 | Return true |
| 474 | kasan_set_free_info(cache, object, tag) |
| 476 | quarantine_put(get_free_info(cache, object), cache) |
| 478 | Return IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_KASAN_GENERIC) |
| Name | Describe |
|---|---|
| kasan_slab_free | |
| kasan_poison_kfree |
| 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 |