Function report |
Source Code:mm\slub.c |
Create Date:2022-07-28 15:49:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__kmalloc
Proto:void *__kmalloc(size_t size, gfp_t flags)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
size_t | size | |
gfp_t | flags |
3791 | If Value for the false possibility is greater at compile time(size > Maximum size for which we actually use a slab cache ) Then Return kmalloc_large(size, flags) |
3794 | s = kmalloc_slab(size, flags) |
3796 | If Value for the false possibility is greater at compile time(ZERO_OR_NULL_PTR(s)) Then Return s |
3799 | ret = slab_alloc(s, flags, _RET_IP_) |
3805 | Return ret |
Name | Describe |
---|---|
kmalloc | Allocation memory |
kmalloc_array | kmalloc_array - allocate memory for an array.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc). |
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 |