| Function report | 
| Source Code: mm\slab.c | Create Date:2022-07-28 15:45:45 | 
| Last Modify:2022-05-23 17:02:55 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:___cache_free
Proto:void ___cache_free(struct kmem_cache *cachep, void *objp, unsigned long caller)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct kmem_cache * | cachep | |
| void * | objp | |
| unsigned long | caller | 
| 3483 | ac = cpu_cache_get(cachep) | 
| 3485 | check_irq_off() | 
| 3486 | If Value for the false possibility is greater at compile time(slab_want_init_on_free(cachep)) Then memset(objp, 0, The size of an object without metadata ) | 
| 3489 | objp = cache_free_debugcheck(cachep, objp, caller) | 
| 3498 | If nr_online_nodes > 1 && cache_free_alien(cachep, objp) Then Return | 
| 3502 | STATS_INC_FREEHIT(cachep) | 
| 3503 | Else | 
| 3504 | STATS_INC_FREEMISS(cachep) | 
| 3505 | cache_flusharray(cachep, ac) | 
| 3508 | If sk_memalloc_socks() Then | 
| 3517 | Must have this definition in here for the proper* alignment of array_cache. Also simplifies accessing* the entries.[avail++] = objp | 
| Name | Describe | 
|---|---|
| __cache_free | Release an obj back to its cache. If the obj has a constructed state, it must* be in this state _before_ it is released. Called with disabled ints. | 
| qlink_free | 
| 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 |