Function report | 
Source Code:mm\slub.c | 
Create Date:2022-07-28 15:49:10 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:kmem_cache_open
Proto:static int kmem_cache_open(struct kmem_cache *s, slab_flags_t flags)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct kmem_cache * | s | |
| slab_flags_t | flags | 
| 3616 | Used for retrieving partial slabs, etc. = kmem_cache_flags(The size of an object including metadata , flags, Name (only for display!) , ctor) | 
| 3621 | If Not alculate_sizes() determines the order and the distribution of data within* a slab object. Then Go to error | 
| 3623 | If disable_higher_order_debug Then | 
| 3630 | Free pointer offset = 0 | 
| 3631 | If Not alculate_sizes() determines the order and the distribution of data within* a slab object. Then Go to error | 
| 3649 | set_cpu_partial(s) | 
| 3656 | If (slab_state >= Slab caches usable but not all extras yet ) Then | 
| 3657 | If init_cache_random_seq(s) Then Go to error | 
| 3661 | If Not init_kmem_cache_nodes(s) Then Go to error | 
| 3664 | If alloc_kmem_cache_cpus(s) Then Return 0 | 
| 3667 | free_kmem_cache_nodes(s) | 
| 3668 | error : | 
| 3669 | Return -EINVAL | 
| Name | Describe | 
|---|---|
| __kmem_cache_create | 
| 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  |