Function report |
Source Code:mm\sparse.c |
Create Date:2022-07-28 15:34:29 |
| Last Modify:2020-03-17 22:36:03 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:sparse_buffer_alloc
Proto:void *__meminit sparse_buffer_alloc(unsigned long size)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | size |
| 505 | void * ptr = NULL |
| 507 | If sparsemap_buf Then |
| 509 | If ptr + size > sparsemap_buf_end Then ptr = NULL |
| 511 | Else |
| 513 | If ptr - sparsemap_buf > 0 Then sparse_buffer_free((unsignedlong)(ptr - sparsemap_buf)) |
| 515 | sparsemap_buf = ptr + size |
| 518 | Return ptr |
| Name | Describe |
|---|---|
| vmemmap_alloc_block_buf | d to make sure size is all the same during early stage |
| 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 |