| Function report | 
| Source Code: mm\slab.c | Create Date:2022-07-28 15:44:41 | 
| Last Modify:2022-05-23 17:02:55 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:__kmem_cache_shrink
Proto:int __kmem_cache_shrink(struct kmem_cache *cachep)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct kmem_cache * | cachep | 
| 2278 | ret = 0 | 
| 2282 | drain_cpu_caches(cachep) | 
| 2284 | check_irq_on() | 
| 2286 | drain_freelist(cachep, n, INT_MAX) | 
| 2288 | ret += Not list_empty - tests whether a list is empty*@head: the list to test. || Not list_empty - tests whether a list is empty*@head: the list to test. | 
| 2291 | Return If ret Then 1 Else 0 | 
| 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 |