Function report |
Source Code:mm\slab.c |
Create Date:2022-07-28 15:45:42 |
| Last Modify:2022-05-23 17:02:55 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static __always_inline 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 |
| 3474 | If kasan_slab_free(cachep, objp, _RET_IP_) Then Return |
| 3477 | ___cache_free(cachep, objp, caller) |
| Name | Describe |
|---|---|
| kmem_cache_free | kmem_cache_free - Deallocate an object*@cachep: The cache the allocation was from.*@objp: The previously allocated object.* Free an object which was previously allocated from this* cache. |
| kmem_cache_free_bulk | |
| kfree | kfree - free previously allocated memory*@objp: pointer returned by kmalloc.* If @objp is NULL, no operation is performed.* Don't free memory not originally allocated by kmalloc()* or you will run into trouble. |
| 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 |