Function report |
Source Code:mm\slab.c |
Create Date:2022-07-28 15:45:16 |
Last Modify:2022-05-23 17:02:55 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:____cache_alloc
Proto:static inline void *____cache_alloc(struct kmem_cache *cachep, gfp_t flags)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct kmem_cache * | cachep | |
gfp_t | flags |
3091 | check_irq_off() |
3093 | ac = cpu_cache_get(cachep) |
3094 | If Value is more likely to compile time(avail) Then |
3095 | touched = 1 |
3096 | objp = Must have this definition in here for the proper* alignment of array_cache. Also simplifies accessing* the entries.[--avail] |
3098 | STATS_INC_ALLOCHIT(cachep) |
3099 | Go to out |
3102 | STATS_INC_ALLOCMISS(cachep) |
3103 | objp = cache_alloc_refill(cachep, flags) |
3108 | ac = cpu_cache_get(cachep) |
3110 | out : |
3116 | If objp Then kmemleak_erase( & Must have this definition in here for the proper* alignment of array_cache. Also simplifies accessing* the entries.[avail]) |
3118 | Return objp |
Name | Describe |
---|---|
slab_alloc_node | |
__do_cache_alloc |
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 |