| Function report | 
| Source Code: mm\slab.c | Create Date:2022-07-28 15:43:23 | 
| Last Modify:2022-05-23 17:02:55 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:__alloc_alien_cache
Proto:static struct alien_cache *__alloc_alien_cache(int node, int entries, int batch, gfp_t gfp)
Type:struct alien_cache
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| int | node | |
| int | entries | |
| int | batch | |
| gfp_t | gfp | 
| 684 | memsize = size of * * entries + sizeof(structalien_cache) | 
| 685 | struct alien_cache * alc = NULL | 
| 687 | alc = kmalloc_node(memsize, gfp, node) | 
| 688 | If alc Then | 
| 689 | kmemleak_no_scan(alc) | 
| 690 | init_arraycache( & ac, entries, batch) | 
| 691 | Process spin lock initialization( & lock) | 
| 693 | Return alc | 
| Name | Describe | 
|---|---|
| alloc_alien_cache | 
| 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 |