Function report |
Source Code:mm\slab.c |
Create Date:2022-07-28 15:43:18 |
| Last Modify:2022-05-23 17:02:55 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:alloc_arraycache
Proto:static struct array_cache *alloc_arraycache(int node, int entries, int batchcount, gfp_t gfp)
Type:struct array_cache
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | node | |
| int | entries | |
| int | batchcount | |
| gfp_t | gfp |
| 583 | memsize = size of * * entries + sizeof(structarray_cache) |
| 584 | struct array_cache * ac = NULL |
| 586 | ac = kmalloc_node(memsize, gfp, node) |
| 594 | kmemleak_no_scan(ac) |
| 595 | init_arraycache(ac, entries, batchcount) |
| 596 | Return ac |
| Name | Describe |
|---|---|
| setup_kmem_cache_node |
| 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 |