Function report |
Source Code:mm\cma_debug.c |
Create Date:2022-07-28 16:33:04 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:cma_alloc_mem
Proto:static int cma_alloc_mem(struct cma *cma, int count)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct cma * | cma | |
| int | count |
| 136 | mem = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
| 140 | p = ma_alloc() - allocate pages from contiguous area*@cma: Contiguous memory region for which the allocation is performed |
| 141 | If Not p Then |
| 149 | cma_add_to_cma_mem_list(cma, mem) |
| 151 | Return 0 |
| Name | Describe |
|---|---|
| cma_alloc_write |
| 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 |