| Function report | 
| Source Code: mm\slab.c | Create Date:2022-07-28 15:43:28 | 
| Last Modify:2022-05-23 17:02:55 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:__drain_alien_cache
Proto:static void __drain_alien_cache(struct kmem_cache *cachep, struct array_cache *ac, int node, struct list_head *list)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct kmem_cache * | cachep | |
| struct array_cache * | ac | |
| int | node | |
| struct list_head * | list | 
| 738 | If avail Then | 
| 745 | If shared Then Transfer objects in one arraycache to another.* Locking must be handled by the caller.* Return the number of entries transferred. | 
| 749 | avail = 0 | 
| 750 | spin_unlock( & list_lock) | 
| Name | Describe | 
|---|---|
| reap_alien | Called from cache_reap() to regularly drain alien caches round robin. | 
| drain_alien_cache | |
| __cache_free_alien | 
| 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 |