| Function report | 
| Source Code: mm\slob.c | Create Date:2022-07-28 15:36:15 | 
| Last Modify:2022-05-20 09:26:42 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:End of slob allocator proper. Begin kmem_cache_alloc and kmalloc frontend.
Proto:static __always_inline void *__do_kmalloc_node(size_t size, gfp_t gfp, int node, unsigned long caller)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| size_t | size | |
| gfp_t | gfp | |
| int | node | |
| unsigned long | caller | 
| 475 | gfp &= gfp_allowed_mask | 
| 477 | fs_reclaim_acquire(gfp) | 
| 478 | fs_reclaim_release(gfp) | 
| 495 | If Not m Then Return NULL | 
| 502 | Else | 
| 503 | order = get_order - Determine the allocation order of a memory size*@size: The size for which to get the order* Determine the allocation order of a particular sized block of memory | 
| 505 | If Value is more likely to compile time(order) Then gfp |= __GFP_COMP | 
| 507 | ret = slob_new_pages(gfp, order, node) | 
| 513 | kmemleak_alloc(ret, size, 1, gfp) | 
| 514 | Return ret | 
| Name | Describe | 
|---|---|
| __kmalloc | |
| __kmalloc_track_caller | |
| __kmalloc_node_track_caller | |
| __kmalloc_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 |